/* /Presentation/Components/Layout/Shared/Footer.razor.rz.scp.css */
/* Estilos aislados para Footer */

/* Card compacta del footer */
.footer-card[b-i2hsb830ay] {
  padding: 6px 8px;
}

/* Ítems dentro de la card compacta */
.footer-items[b-i2hsb830ay] {
  gap: 8px;
}

/* Alert del footer en modo mensaje simple */
.footer-alert[b-i2hsb830ay] {
  margin: 0px 20px !important;
}

/* Contenedor de copyright */
.copyright-container[b-i2hsb830ay] {
  margin-top: 3rem;
  text-align: center;
}
/* /Presentation/Components/Pages/Admin/ClientesSurosPanel.razor.rz.scp.css */
.editor-container[b-fpmqsluqgg] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 1000px;
}

/* Header, barra de título y filtros no deben encogerse */
.editor-header[b-fpmqsluqgg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-fpmqsluqgg] { font-size: 13px; }

.editor-header-right[b-fpmqsluqgg] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== Toast de respuesta de acciones (toolbar del breadcrumb) =====
   Patrón compartido con Gestión Institucional / Configuración de Aplicación / Sede Detalle:
   el toast se ancla a la izquierda del grupo de estado (último bloque de la toolbar) y
   flota en absolute para no desplazar el layout al aparecer o desaparecer. */
.inst-header-actions[b-fpmqsluqgg] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inst-toast[b-fpmqsluqgg] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-fpmqsluqgg] {
    font-size: 0.8rem;
}

/* Mensajes largos (p. ej. errores de carga concatenados): se truncan con puntos suspensivos
   en lugar de desbordar sobre el breadcrumb. */
.inst-toast span[b-fpmqsluqgg] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.inst-toast-success[b-fpmqsluqgg] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-fpmqsluqgg] {
    color: #059669;
}

.inst-toast-error[b-fpmqsluqgg] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-fpmqsluqgg] {
    color: #dc2626;
}

/* ── Animación de salida del toast (conserva el centrado vertical) ── */
.notif-fade-out[b-fpmqsluqgg] {
    animation: notifFadeOut-b-fpmqsluqgg 0.3s ease forwards;
}

@keyframes notifFadeOut-b-fpmqsluqgg {
    from { opacity: 1; transform: translateY(-50%); }
    to { opacity: 0; transform: translateY(calc(-50% - 8px)); }
}

.editor-title-bar[b-fpmqsluqgg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-fpmqsluqgg],
.editor-title-bar .fw-semibold[b-fpmqsluqgg],
.editor-title-bar small[b-fpmqsluqgg] { color: #1a1d23 !important; }

/* Barra de filtros — fija, no se encoge */
.editor-filters-bar[b-fpmqsluqgg] {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

/* Alertas y mensajes — fijos */
.editor-alert-bar[b-fpmqsluqgg] {
    flex-shrink: 0;
}

/* ===== PESTAÑAS — EXACTO Gestión Institucional / EditorPlantillaBase ===== */
.editor-tabs.nav-tabs[b-fpmqsluqgg] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-fpmqsluqgg] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-fpmqsluqgg] { margin: 0 !important; padding: 0 !important; }

.editor-tabs .nav-link[b-fpmqsluqgg] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-fpmqsluqgg] { color: #202124 !important; background: rgba(0,0,0,0.04) !important; }

.editor-tabs .nav-link.active[b-fpmqsluqgg] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-fpmqsluqgg]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-fpmqsluqgg]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-fpmqsluqgg] { font-size: 14px; width: 16px; text-align: center; color: inherit; }

/* ===== CONTENIDO — scrollea dentro de este contenedor =====
   Los hijos van en flujo normal (KPIs + visualizador + árbol/tabla) y es este
   contenedor el que scrollea. Antes los hijos se posicionaban en absolute con
   inset:0, lo que los apilaba unos encima de otros y ocultaba las secciones
   superiores (KPIs). Mismo patrón que SedeDetallePanel. */
.editor-tab-content[b-fpmqsluqgg] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 16px 20px 24px;
    scrollbar-gutter: stable;
}

/* Los hijos del contenido fluyen normalmente (varias secciones por tab). */
.editor-tab-content > div:not(.modal)[b-fpmqsluqgg] {
    position: relative;
    inset: auto;
    overflow: visible;
}

/* Los modales del panel conservan el overlay fijo de Bootstrap */
.editor-tab-content > .modal[b-fpmqsluqgg],
.editor-tab-content > div.modal[b-fpmqsluqgg] {
    position: fixed;
    padding: 0;
}

/* Inputs compactos patrón Institución */
.inf-form-control-sm[b-fpmqsluqgg] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

/* Labels patrón Institución — compactos, gris medio, icono azul */
.inf-form-label[b-fpmqsluqgg] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-fpmqsluqgg] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

/* Textarea del patrón: alto automático, misma tipografía compacta */
textarea.inf-form-control-sm[b-fpmqsluqgg] {
    height: auto;
    min-height: 52px;
    resize: vertical;
}

/* ADM-UX-08 — Selects de formulario: reservar el espacio de la flecha para que
   el texto de la opción seleccionada no quede recortado por el padding compacto. */
.form-select.inf-form-control-sm[b-fpmqsluqgg] {
    padding: 2px 1.75rem 2px 8px;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* Secciones dentro de modales compactos */
.inf-form-section[b-fpmqsluqgg] {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 10px 10px;
}

.inf-form-hint[b-fpmqsluqgg] {
    font-size: 0.62rem;
    color: #6b7280;
    margin-top: 1px;
}

/* Errores de validación por campo — patrón UX/ERRORS (idea: sadm-formularios-compactos) */
.inf-field-error[b-fpmqsluqgg] {
    font-size: 0.68rem;
    color: #b91c1c;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}

.inf-field-error i[b-fpmqsluqgg] {
    font-size: 0.62rem;
    flex-shrink: 0;
}

.form-control.is-invalid[b-fpmqsluqgg],
.form-select.is-invalid[b-fpmqsluqgg] {
    border-color: #dc3545;
}

.form-control.is-invalid:focus[b-fpmqsluqgg],
.form-select.is-invalid:focus[b-fpmqsluqgg] {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

/* Modales compactos: menos aire, footer alineado patrón Institución */
.inf-modal-compact .modal-header[b-fpmqsluqgg] { padding: 10px 16px; }
.inf-modal-compact .modal-header .modal-title[b-fpmqsluqgg] { font-size: 0.85rem; font-weight: 600; }
.inf-modal-compact .modal-body[b-fpmqsluqgg] { padding: 12px 16px; }
.inf-modal-compact .modal-footer[b-fpmqsluqgg] { padding: 8px 16px; gap: 8px; }
.inf-modal-compact .modal-footer .btn[b-fpmqsluqgg] { height: 30px; font-size: 0.8rem; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }

/* Cards de sede */
.sede-card[b-fpmqsluqgg] {
    transition: box-shadow .15s, transform .12s, border-color .15s;
    border-color: #e2e8f0 !important;
    background: #fff;
}
.sede-card:hover[b-fpmqsluqgg] {
    box-shadow: 0 4px 14px rgba(15,23,42,.12);
    transform: translateY(-1px);
    border-color: #1a73e8 !important;
}
.sede-card-ssl-alert[b-fpmqsluqgg] { border-color: #fecaca !important; background: #fff5f5; }
.sede-dot[b-fpmqsluqgg] { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot-operativa[b-fpmqsluqgg] { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.dot-degradada[b-fpmqsluqgg] { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.dot-mant[b-fpmqsluqgg] { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.18); }

/* Títulos de sección con color institucional */
.inf-section-title[b-fpmqsluqgg] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}
.inf-section-title i[b-fpmqsluqgg] { font-size: 0.76rem; margin-right: 5px; color: #1a73e8; }

/* ===== Columna de acciones — lista "Sedes" (pestaña Todas las sedes) =====
   La columna tenía un ancho fijo estrecho (110px) y el botón "Ver" se comprimía
   hasta partirse en dos líneas. La columna se ajusta a su contenido (width:1%) y
   el contenido no salta: el botón conserva su ancho natural.
   Idea: suros-admin-clientes — acciones legibles en la grid de sedes. */
.sedes-acciones[b-fpmqsluqgg] {
    width: 1%;
    white-space: nowrap;
}

.sedes-acciones .btn[b-fpmqsluqgg] {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .editor-title-bar[b-fpmqsluqgg] { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════
   CONTRASTE DE TEXTOS — panel de Clientes y Sedes
   El panel usa superficies claras (árbol blanco, cabeceras #f8f9fa /
   #f1f5f9, tablas). Algunos textos heredan el color del contenedor y
   podían quedar BLANCOS (invisibles) sobre esas superficies según el
   tema (navegador/SO en modo oscuro). Se fijan colores oscuros legibles.
   Mismo tratamiento que los paneles de Monitoreo Territorial y Planes.
   Idea: suros-admin-clientes — legibilidad de textos.
   ═══════════════════════════════════════════════════════════ */
/* color-scheme: light evita que el navegador pinte por defecto texto y
   controles en blanco sobre las superficies claras de este panel. */
#clientes-suros-panel[b-fpmqsluqgg] { color: #1e293b; color-scheme: light; }

/* Encabezados, títulos, tablas y textos con énfasis sobre superficies claras */
#clientes-suros-panel .editor-header[b-fpmqsluqgg],
#clientes-suros-panel .editor-filters-bar[b-fpmqsluqgg],
#clientes-suros-panel .editor-title-bar h4[b-fpmqsluqgg],
#clientes-suros-panel .editor-title-bar small[b-fpmqsluqgg],
#clientes-suros-panel .fw-semibold[b-fpmqsluqgg],
#clientes-suros-panel .fw-bold[b-fpmqsluqgg],
#clientes-suros-panel .card-header[b-fpmqsluqgg],
#clientes-suros-panel .card-footer[b-fpmqsluqgg],
#clientes-suros-panel table[b-fpmqsluqgg],
#clientes-suros-panel table th[b-fpmqsluqgg],
#clientes-suros-panel table td[b-fpmqsluqgg] { color: #0f172a !important; }

/* Textos secundarios: gris medio legible sobre blanco */
#clientes-suros-panel .text-muted[b-fpmqsluqgg] { color: #64748b !important; }

/* Etiqueta de la cabecera del panel de herramientas de despliegue:
   gris pizarra con buen contraste (antes heredaba el color del tema y
   quedaba invisible sobre el fondo claro #f1f5f9). Va DESPUÉS de la regla
   genérica de .fw-semibold para ganar por especificidad.
   Idea: suros-admin-clientes — legibilidad de la etiqueta de despliegue. */
#clientes-suros-panel .client-tree-deploy-panel .deploy-panel-title[b-fpmqsluqgg] { color: #475569 !important; }

/* ═══════════════════════════════════════════════════════════
   LOGO DEL CLIENTE — identificación visual (árbol, listas, detalles).
   El avatar del árbol conserva su caja de 32px: solo se sustituye el icono
   por la imagen cuando el cliente tiene logo. Las sedes heredan el logo
   de su cliente (no tienen logo propio).
   Idea: admin-cliente-logo.
   ═══════════════════════════════════════════════════════════ */
#clientes-suros-panel .client-tree-avatar img[b-fpmqsluqgg] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
}

/* Con logo el avatar se ensancha a formato banner (los logos son apaisados ~264x87):
   sin logo conserva su caja de 32px con el icono. Idea: admin-cliente-logo. */
#clientes-suros-panel .client-tree-avatar.con-logo[b-fpmqsluqgg] {
    width: 96px;
    border-radius: 6px;
}

#clientes-suros-panel .cli-logo-mini[b-fpmqsluqgg] {
    height: 20px;
    width: auto;
    max-width: 64px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #fff;
    vertical-align: -4px;
    margin-right: 4px;
}

#clientes-suros-panel .cli-logo-detalle[b-fpmqsluqgg] {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}

#clientes-suros-panel .cli-logo-preview[b-fpmqsluqgg] {
    width: 264px;
    max-width: 100%;
    height: 87px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

#clientes-suros-panel .cli-logo-preview img[b-fpmqsluqgg] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════
   MODO EXPANDIDO — Gestión de Clientes y Sedes a pantalla completa
   Mismo patrón que Filtros de Recepción (#gestion-demanda-inducida.modo-expandido)
   y Citas en vivo (#monitor-agendamiento-vivo.modo-expandido-vivo).
   Diferencia: aquí se conservan la barra de filtros y las pestañas (el área de
   trabajo), solo se ocultan header y title-bar para ganar altura.
   Idea: clientes-sedes-expandido.
   ═══════════════════════════════════════════════════════════ */
#clientes-suros-panel.modo-expandido[b-fpmqsluqgg] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1045 !important;
    background: #f8f9fa !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    min-height: 0 !important;
    width: 100vw !important;
    overflow: hidden !important;
    animation: clientesExpandIn-b-fpmqsluqgg .18s ease;
}

@keyframes clientesExpandIn-b-fpmqsluqgg { from { opacity:.85; transform:scale(.98);} to { opacity:1; transform:scale(1);} }

#clientes-suros-panel.modo-expandido .editor-header[b-fpmqsluqgg],
#clientes-suros-panel.modo-expandido .editor-title-bar[b-fpmqsluqgg] {
    display: none !important;
}

#clientes-suros-panel.modo-expandido .expandido-bar[b-fpmqsluqgg] { display:flex !important; }

/* El contenido gana la altura liberada: la grilla/árbol de clientes y sedes scrollea */
#clientes-suros-panel.modo-expandido .editor-tab-content[b-fpmqsluqgg] {
    flex: 1 1 auto !important;
    height: calc(100vh - 36px) !important;
    max-height: calc(100vh - 36px) !important;
    overflow-y: auto !important;
    background: #f8f9fa !important;
}

/* Los modales del panel conservan su overlay fijo (ya definido arriba en
   .editor-tab-content > .modal); en expandido quedan por encima de la barra flotante */
#clientes-suros-panel.modo-expandido .editor-tab-content > .modal[b-fpmqsluqgg],
#clientes-suros-panel.modo-expandido .editor-tab-content > div.modal[b-fpmqsluqgg] {
    z-index: 1060 !important;
}

/* ═══════════════════════════════════════════════════════════
   ARRASTRE Y SOLTADO DEL ÁRBOL — reordenar clientes y sedes
   Idea: sv4-252
   El indicador de destino usa box-shadow en lugar de ::before/::after porque
   .sede-tree-row::before ya dibuja el conector vertical del subárbol.
   ═══════════════════════════════════════════════════════════ */



/* Elemento que se está arrastrando */
.client-tree-row.dnd-dragging[b-fpmqsluqgg],
.sede-tree-row.dnd-dragging[b-fpmqsluqgg] {
    opacity: 0.4;
    background: #eef2ff;
}

/* Mano de agarre solo al presionar o mientras se arrastra la fila */
.client-tree-row[draggable="true"]:active[b-fpmqsluqgg],
.sede-tree-row[draggable="true"]:active[b-fpmqsluqgg],
.client-tree-row.dnd-dragging[b-fpmqsluqgg],
.sede-tree-row.dnd-dragging[b-fpmqsluqgg] {
    cursor: grabbing;
}

/* Fila destino: se suelta antes (línea superior) o después (línea inferior) */
.client-tree-row.dnd-over[b-fpmqsluqgg],
.sede-tree-row.dnd-over[b-fpmqsluqgg] {
    background: #eef2ff;
}

.client-tree-row.dnd-drop-before[b-fpmqsluqgg],
.sede-tree-row.dnd-drop-before[b-fpmqsluqgg] {
    box-shadow: inset 0 2px 0 0 #1a73e8;
}

.client-tree-row.dnd-drop-after[b-fpmqsluqgg],
.sede-tree-row.dnd-drop-after[b-fpmqsluqgg] {
    box-shadow: inset 0 -2px 0 0 #1a73e8;
}

/* Mientras se persiste el orden: se evita un segundo arrastre sobre un árbol a medio actualizar */
.client-tree.client-tree-ordenando[b-fpmqsluqgg] {
    opacity: 0.65;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   CARD DE AVANCE EN MODO ACORDEÓN — replegar/desplegar
   El encabezado es clicable: al replegar se oculta el cuerpo de la
   tabla para ganar alto visual del árbol de clientes y sedes.
   ═══════════════════════════════════════════════════════════ */

/* Encabezado clicable: cursor y foco visibles para teclado. */
.pl-acc-header[b-fpmqsluqgg] {
    cursor: pointer;
    user-select: none;
}

.pl-acc-header:hover[b-fpmqsluqgg] { background: #f8fafc; }

.pl-acc-header:focus-visible[b-fpmqsluqgg] {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
}

/* Chevron del acordeón: separado del icono del título y con transición suave. */
.pl-acc-chevron[b-fpmqsluqgg] {
    font-size: 0.68rem;
    width: 12px;
    text-align: center;
    flex: 0 0 auto;
}

/* Card replegada: se oculta el cuerpo (la tabla de avance). */
.pl-acc-colapsado .card-body[b-fpmqsluqgg] { display: none; }
/* /Presentation/Components/Pages/Admin/ControlJobsPanel.razor.rz.scp.css */
.editor-container[b-v69pfz60rs] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 700px;
}

.editor-header[b-v69pfz60rs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-v69pfz60rs] { font-size: 13px; }

.editor-header-right[b-v69pfz60rs] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Los badges del header usan la regla estándar del componente Badge
   (css/suros-theme.css + SUROS.Framework/CONTRACTS/BADGE.md): sin tamaño local. */

.editor-title-bar[b-v69pfz60rs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-v69pfz60rs] { color: #1a1d23 !important; }

.editor-title-bar .btn[b-v69pfz60rs] {
    height: 26px;
    font-size: 0.75rem;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.editor-content[b-v69pfz60rs] { flex: 1 1 auto; min-height: 0; overflow: auto; }

.jc-skeleton[b-v69pfz60rs] { display: flex; flex-direction: column; gap: 10px; }

.jc-skeleton-line[b-v69pfz60rs] {
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: jcShimmer-b-v69pfz60rs 1.3s ease infinite;
}

@keyframes jcShimmer-b-v69pfz60rs {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

#jobs-panel[b-v69pfz60rs] { color: #1e293b; color-scheme: light; }

#jobs-panel .editor-header[b-v69pfz60rs],
#jobs-panel .editor-title-bar h4[b-v69pfz60rs],
#jobs-panel .editor-title-bar small[b-v69pfz60rs],
#jobs-panel .fw-semibold[b-v69pfz60rs],
#jobs-panel .fw-bold[b-v69pfz60rs],
#jobs-panel table[b-v69pfz60rs],
#jobs-panel table th[b-v69pfz60rs],
#jobs-panel table td[b-v69pfz60rs] { color: #0f172a !important; }

#jobs-panel .text-muted[b-v69pfz60rs] { color: #64748b !important; }

/* ===== Columna de acciones de la grid =====
   Los botones se mantienen en una sola línea (icono + texto) y no se encogen,
   para que "Encender"/"Apagar" no se partan en dos líneas. */
#jobs-panel .jc-acciones[b-v69pfz60rs] { white-space: nowrap; }

#jobs-panel .jc-acciones .btn[b-v69pfz60rs] {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 992px) {
    .editor-title-bar[b-v69pfz60rs] { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ===== Modal de histórico de ejecuciones ===== */
.jc-modal-backdrop[b-v69pfz60rs] { color: #1e293b; color-scheme: light; }
.jc-modal-backdrop .modal-title[b-v69pfz60rs] { color: #0f172a; }
.jc-modal-backdrop .form-select[b-v69pfz60rs],
.jc-modal-backdrop .form-control[b-v69pfz60rs],
.jc-modal-backdrop .form-label[b-v69pfz60rs],
.jc-modal-backdrop .table[b-v69pfz60rs],
.jc-modal-backdrop .table th[b-v69pfz60rs],
.jc-modal-backdrop .table td[b-v69pfz60rs] { color: #0f172a; }
.jc-modal-backdrop .text-muted[b-v69pfz60rs] { color: #64748b !important; }
/* /Presentation/Components/Pages/Admin/EventosPanel.razor.rz.scp.css */
.editor-container[b-tctfucnp9j] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 1000px;
}

/* ===== HEADER (breadcrumb + estado) — fijo, no se encoge ===== */
.editor-header[b-tctfucnp9j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-tctfucnp9j] { font-size: 13px; }

.editor-header-right[b-tctfucnp9j] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== TITLE BAR — fijo ===== */
.editor-title-bar[b-tctfucnp9j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-tctfucnp9j],
.editor-title-bar .fw-semibold[b-tctfucnp9j],
.editor-title-bar small[b-tctfucnp9j] { color: #1a1d23 !important; }

/* ===== BARRA DE FILTROS — fija ===== */
.editor-filters-bar[b-tctfucnp9j] {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

/* ===== Inputs y labels compactos patrón Institución ===== */
.inf-form-control-sm[b-tctfucnp9j] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.inf-form-label[b-tctfucnp9j] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-tctfucnp9j] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

/* Selects: reservar el espacio de la flecha para que el texto no quede recortado. */
.form-select.inf-form-control-sm[b-tctfucnp9j] {
    padding: 2px 1.75rem 2px 8px;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* ═══════════════════════════════════════════════════════════
   CONTRASTE DE TEXTOS — panel de Línea de Tiempo de Eventos
   El panel usa superficies claras (tarjetas blancas, cabeceras
   #f8f9fa, íconos de timeline). Algunos textos heredan el color del
   contenedor y podían quedar BLANCOS (invisibles) según el tema
   (navegador/SO en modo oscuro). Se fijan colores oscuros legibles.
   Mismo tratamiento que los paneles de Monitoreo Territorial y Planes.
   ═══════════════════════════════════════════════════════════ */
/* color-scheme: light evita que el navegador pinte por defecto texto y
   controles en blanco sobre las superficies claras de este panel. */
#eventos-panel[b-tctfucnp9j] { color: #1e293b; color-scheme: light; }

/* Encabezados, títulos y textos con énfasis sobre superficies claras */
#eventos-panel .editor-header[b-tctfucnp9j],
#eventos-panel .editor-filters-bar[b-tctfucnp9j],
#eventos-panel .editor-title-bar h4[b-tctfucnp9j],
#eventos-panel .editor-title-bar small[b-tctfucnp9j],
#eventos-panel .fw-semibold[b-tctfucnp9j],
#eventos-panel .fw-bold[b-tctfucnp9j],
#eventos-panel .card-header[b-tctfucnp9j],
#eventos-panel .card-footer[b-tctfucnp9j] { color: #0f172a !important; }

/* Textos secundarios: gris medio legible sobre blanco */
#eventos-panel .text-muted[b-tctfucnp9j] { color: #64748b !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .editor-title-bar[b-tctfucnp9j] { flex-direction: column; align-items: flex-start; gap: 6px; }
}
/* /Presentation/Components/Pages/Admin/MapaSaludCaqueta.razor.rz.scp.css */
.editor-container[b-q49vl9tule] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 1500px;
}

.editor-header[b-q49vl9tule] { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#fff; border-bottom:1px solid #e2e4e9; gap:16px; flex-wrap:wrap; flex-shrink:0; }
.editor-header-left .breadcrumb[b-q49vl9tule] { font-size:13px; }
.editor-header-right[b-q49vl9tule] { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }

/* Los badges del header usan la regla estándar del componente Badge
   (css/suros-theme.css + SUROS.Framework/CONTRACTS/BADGE.md): sin tamaño local. */
.editor-title-bar[b-q49vl9tule] { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#f8f9fa; border-bottom:1px solid #e2e4e9; color:#1a1d23; flex-shrink:0; }
.editor-title-bar h4[b-q49vl9tule], .editor-title-bar small[b-q49vl9tule] { color:#1a1d23 !important; }
.editor-filters-bar[b-q49vl9tule] { flex-shrink:0; background:#fff; border-bottom:1px solid #e2e4e9; }
.inf-form-control-sm[b-q49vl9tule] { height:30px; font-size:0.84rem; padding:2px 8px; line-height:1.3; border-radius:3px; }

/* ——— CONTENIDO SCROLLABLE ——— */
.editor-tab-content[b-q49vl9tule] { background:#f1f5f9; border-top:none; flex:1; min-height:1000px !important; overflow:hidden; position:relative; }
.editor-tab-content > div.mapa-salud-content[b-q49vl9tule] { position:absolute; inset:0; overflow-y:auto; overflow-x:hidden; padding:16px 20px 24px; }

/* ——— KPIs ——— */
.kpi-row[b-q49vl9tule] { display:grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.kpi-card[b-q49vl9tule] { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:12px 14px; display:flex; align-items:center; gap:12px; box-shadow:0 1px 3px rgba(15,23,42,.06); transition: box-shadow .15s, transform .12s, border-color .15s; }
.kpi-card:hover[b-q49vl9tule] { box-shadow:0 4px 14px rgba(15,23,42,.10); transform: translateY(-1px); }
.kpi-card.kpi-operativa[b-q49vl9tule], .kpi-card.kpi-degradada[b-q49vl9tule] { cursor:pointer; }
.kpi-icon[b-q49vl9tule] { width:36px; height:36px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:0.95rem; flex-shrink:0; background:#eef2ff; color:#4f46e5; }
.kpi-body[b-q49vl9tule] { min-width:0; }
.kpi-label[b-q49vl9tule] { font-size:0.62rem; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:#64748b; }
.kpi-value[b-q49vl9tule] { font-size:1.22rem; font-weight:800; line-height:1; color:#0f172a; }
.kpi-sub[b-q49vl9tule] { font-size:0.62rem; color:#94a3b8; margin-top:2px; }
.kpi-trend[b-q49vl9tule] { margin-left:auto; font-size:0.62rem; color:#059669; background:#ecfdf5; border:1px solid #a7f3d0; padding:3px 7px; border-radius:999px; white-space:nowrap; }

/* ——— LAYOUT TERRITORIO ——— */
.territorio-layout[b-q49vl9tule] { display:grid; grid-template-columns: 1.45fr 0.85fr; gap:14px; align-items:start; }
.mapa-territorio-card[b-q49vl9tule] { background:#fff; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; box-shadow:0 1px 4px rgba(15,23,42,.07); display:flex; flex-direction:column; min-height:520px; }
.mapa-card-header[b-q49vl9tule] { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; background:#fff; border-bottom:1px solid #e2e8f0; flex-wrap:wrap; }
.mapa-leyenda[b-q49vl9tule] { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:8px 14px; background:#f8fafc; border-bottom:1px solid #e2e8f0; font-size:0.62rem; color:#475569; }
.leyenda-item[b-q49vl9tule] { display:inline-flex; align-items:center; gap:5px; font-weight:600; }
.leyenda-dot[b-q49vl9tule] { width:9px; height:9px; border-radius:50%; flex-shrink:0; display:inline-block; border:1px solid rgba(0,0,0,.08); }

.mapa-viewport[b-q49vl9tule] { position:relative; flex:1; min-height:460px; background: radial-gradient(1200px 600px at 50% 30%, #e0f2fe 0%, #f0fdfa 35%, #f8fafc 70%, #fff 100%); overflow:hidden; display:flex; align-items:center; justify-content:center; padding:10px; }
.mapa-canvas[b-q49vl9tule] { position:relative; width:min(560px, 92%); aspect-ratio: 0.92; max-height:520px; display:flex; align-items:center; justify-content:center; transition: transform .18s ease; }
.mapa-imagen[b-q49vl9tule] { width:100%; height:100%; object-fit:contain; object-position:center; filter: drop-shadow(0 8px 22px rgba(15,23,42,.18)) saturate(1.05) contrast(1.02); user-select:none; pointer-events:none; }

.mapa-vacio[b-q49vl9tule] { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; background:rgba(255,255,255,.82); backdrop-filter: blur(2px); text-align:center; padding:24px; }
.mapa-footer[b-q49vl9tule] { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 14px; background:#f8fafc; border-top:1px solid #e2e8f0; flex-wrap:wrap; }

/* ——— PINS ——— */
.map-pin[b-q49vl9tule] { position:absolute; transform: translate(-50%, -100%); background:transparent; border:none; padding:0; cursor:pointer; z-index:2; display:flex; flex-direction:column; align-items:center; gap:2px; }
.map-pin .pin-dot[b-q49vl9tule] { width:13px; height:13px; border-radius:50%; border:2px solid #fff; box-shadow:0 1px 6px rgba(0,0,0,.28), 0 0 0 2px var(--pin-color); background:var(--pin-color); position:relative; z-index:2; }
.map-pin .pin-ring[b-q49vl9tule] { position:absolute; top:0; left:50%; transform: translateX(-50%); width:13px; height:13px; border-radius:50%; border:2px solid var(--pin-color); opacity:.0; z-index:1; }
.map-pin.pulso-ok .pin-ring[b-q49vl9tule] { animation: pinPulseOk-b-q49vl9tule 2.2s infinite; }
.map-pin.pulso-warn .pin-ring[b-q49vl9tule] { animation: pinPulseWarn-b-q49vl9tule 1.5s infinite; }
.map-pin.pulso-danger .pin-ring[b-q49vl9tule] { animation: pinPulseDanger-b-q49vl9tule 1.1s infinite; }
.map-pin.selected .pin-dot[b-q49vl9tule] { width:16px; height:16px; box-shadow:0 2px 10px rgba(0,0,0,.35), 0 0 0 3px var(--pin-color), 0 0 0 6px rgba(255,255,255,.9); }
.map-pin.selected .pin-label[b-q49vl9tule] { background:#0f172a; color:#fff; border-color:#0f172a; }
.pin-label[b-q49vl9tule] { font-size:0.52rem; font-weight:800; letter-spacing:.2px; background:rgba(255,255,255,.96); color:#0f172a; border:1px solid #e2e8f0; padding:1px 4px; border-radius:4px; line-height:1; white-space:nowrap; box-shadow:0 1px 4px rgba(0,0,0,.12); margin-top:3px; }
.pin-star[b-q49vl9tule] { position:absolute; top:-6px; right:-6px; width:12px; height:12px; background:#f59e0b; color:#fff; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:0.48rem; border:1px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.pin-version-badge[b-q49vl9tule] { position:absolute; top:-7px; left:-7px; font-size:0.48rem; font-weight:800; color:#fff; padding:1px 3px; border-radius:4px; line-height:1; border:1px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.15); }
.pin-ssl[b-q49vl9tule] { position:absolute; bottom:10px; right:-6px; width:12px; height:12px; background:#dc2626; color:#fff; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:0.45rem; border:1px solid #fff; }

.map-tooltip[b-q49vl9tule] { position:absolute; transform: translate(-50%, -115%); z-index:10; pointer-events:none; }
.map-tooltip-card[b-q49vl9tule] { background:#0f172a; color:#fff; padding:8px 10px; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.28); min-width:200px; max-width:260px; border:1px solid rgba(255,255,255,.08); }
.map-tooltip-card[b-q49vl9tule]::after { content:''; position:absolute; left:50%; bottom:-6px; transform: translateX(-50%) rotate(45deg); width:10px; height:10px; background:#0f172a; border-right:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }

@keyframes pinPulseOk-b-q49vl9tule { 0% { transform: translateX(-50%) scale(1); opacity:.45; } 70% { transform: translateX(-50%) scale(2.2); opacity:0; } 100% { opacity:0; } }
@keyframes pinPulseWarn-b-q49vl9tule { 0% { transform: translateX(-50%) scale(1); opacity:.55; } 60% { transform: translateX(-50%) scale(2.0); opacity:0; } 100% { opacity:0; } }
@keyframes pinPulseDanger-b-q49vl9tule { 0% { transform: translateX(-50%) scale(1); opacity:.7; } 50% { transform: translateX(-50%) scale(1.9); opacity:0; } 100% { opacity:0; } }

/* ——— SIDE ——— */
.territorio-side[b-q49vl9tule] { display:flex; flex-direction:column; gap:12px; position:sticky; top:0; }
.side-card[b-q49vl9tule] { background:#fff; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; box-shadow:0 1px 4px rgba(15,23,42,.06); }
.side-card-header[b-q49vl9tule] { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; background:#fff; border-bottom:1px solid #e2e8f0; }
.side-card-body[b-q49vl9tule] { padding:12px; }
.side-placeholder[b-q49vl9tule] { border-style:dashed; background:#f8fafc; }
.mini-stat[b-q49vl9tule] { border-radius:8px; padding:8px 10px; background:#fff; border:1px solid #e2e8f0; }
.mini-stat-label[b-q49vl9tule] { font-size:0.58rem; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:#64748b; }
.mini-stat-value[b-q49vl9tule] { font-size:0.82rem; font-weight:700; color:#0f172a; line-height:1.1; }

.muni-group[b-q49vl9tule] { border-bottom:1px solid #f1f5f9; }
.muni-group:last-child[b-q49vl9tule] { border-bottom:none; }
.muni-group-header[b-q49vl9tule] { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 12px; cursor:pointer; user-select:none; background:#fff; transition: background .12s; }
.muni-group-header:hover[b-q49vl9tule] { background:#f8fafc; }
.muni-group-body[b-q49vl9tule] { background:#f8fafc; border-top:1px solid #f1f5f9; padding:4px 0; }
.muni-sede-row[b-q49vl9tule] { display:flex; align-items:center; gap:8px; padding:7px 12px; cursor:pointer; transition: background .12s; border-left:3px solid transparent; }
.muni-sede-row:hover[b-q49vl9tule] { background:#eef2ff; border-left-color:#6366f1; }
.muni-sede-row.selected[b-q49vl9tule] { background:#eef2ff; border-left-color:#1a73e8; }
.sede-dot[b-q49vl9tule] { width:8px; height:8px; border-radius:50%; flex-shrink:0; display:inline-block; }
.dot-operativa[b-q49vl9tule] { background:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.18); }
.dot-degradada[b-q49vl9tule] { background:#d97706; box-shadow:0 0 0 3px rgba(217,119,6,.18); }
.dot-mant[b-q49vl9tule] { background:#94a3b8; box-shadow:0 0 0 3px rgba(148,163,184,.18); }

/* ——— RESPONSIVE ——— */
@media (max-width: 1100px) {
  .kpi-row[b-q49vl9tule] { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .territorio-layout[b-q49vl9tule] { grid-template-columns: 1fr; }
  .territorio-side[b-q49vl9tule] { position:static; }
  .mapa-viewport[b-q49vl9tule] { min-height:420px; }
  .mapa-canvas[b-q49vl9tule] { width:min(520px, 96%); }
}
@media (max-width: 640px) {
  .kpi-row[b-q49vl9tule] { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpi-card.kpi-versiones[b-q49vl9tule] { grid-column: span 2; }
  .editor-header[b-q49vl9tule], .editor-title-bar[b-q49vl9tule] { flex-direction:column; align-items:flex-start; }
  .mapa-viewport[b-q49vl9tule] { min-height:360px; padding:6px; }
  .mapa-canvas[b-q49vl9tule] { width:100%; }
}

/* ═══════════════════════════════════════════════════════════
   CONTRASTE DE TEXTOS — panel de Monitoreo Territorial
   El panel usa superficies claras (tarjetas blancas / fondo #f1f5f9).
   Algunos textos heredan el color del contenedor y podían quedar
   blancos (invisibles) según el tema. Se fijan colores oscuros
   legibles sobre las superficies claras.
   Se respetan los elementos que van sobre fondo oscuro (tooltip,
   pins, badges) porque definen su propio color.
   Idea: mapa-caqueta — legibilidad de textos.
   ═══════════════════════════════════════════════════════════ */
/* color-scheme: light evita que el navegador (SO en modo oscuro) pinte
   texto/controles por defecto en blanco sobre las tarjetas claras. */
#mapa-salud-panel[b-q49vl9tule] { color: #1e293b; color-scheme: light; }

/* Encabezados, títulos y etiquetas sobre tarjetas claras */
#mapa-salud-panel .editor-header[b-q49vl9tule],
#mapa-salud-panel .editor-filters-bar[b-q49vl9tule],
#mapa-salud-panel .editor-title-bar h4[b-q49vl9tule],
#mapa-salud-panel .editor-title-bar small[b-q49vl9tule],
#mapa-salud-panel .kpi-label[b-q49vl9tule],
#mapa-salud-panel .kpi-value[b-q49vl9tule],
#mapa-salud-panel .mini-stat-label[b-q49vl9tule],
#mapa-salud-panel .mini-stat-value[b-q49vl9tule],
#mapa-salud-panel .mapa-card-header[b-q49vl9tule],
#mapa-salud-panel .mapa-leyenda[b-q49vl9tule],
#mapa-salud-panel .leyenda-item[b-q49vl9tule],
#mapa-salud-panel .mapa-footer[b-q49vl9tule],
#mapa-salud-panel .side-card-header[b-q49vl9tule],
#mapa-salud-panel .side-card-body[b-q49vl9tule],
#mapa-salud-panel .muni-group-header[b-q49vl9tule],
#mapa-salud-panel .muni-sede-row[b-q49vl9tule],
#mapa-salud-panel .card-header[b-q49vl9tule],
#mapa-salud-panel .card-footer[b-q49vl9tule],
#mapa-salud-panel .fw-semibold[b-q49vl9tule],
#mapa-salud-panel .fw-bold[b-q49vl9tule],
#mapa-salud-panel table[b-q49vl9tule],
#mapa-salud-panel table th[b-q49vl9tule],
#mapa-salud-panel table td[b-q49vl9tule] { color: #0f172a !important; }

/* Textos secundarios: gris medio legible (antes #94a3b8 sobre blanco) */
#mapa-salud-panel .text-muted[b-q49vl9tule],
#mapa-salud-panel .kpi-sub[b-q49vl9tule],
#mapa-salud-panel .mini-stat-label[b-q49vl9tule],
#mapa-salud-panel .progress-mini-text[b-q49vl9tule] { color: #64748b !important; }

/* El pin seleccionado y el tooltip van sobre fondo oscuro: conservan texto blanco */
#mapa-salud-panel .map-pin.selected .pin-label[b-q49vl9tule] { color: #fff !important; }
#mapa-salud-panel .map-tooltip-card[b-q49vl9tule],
#mapa-salud-panel .map-tooltip-card .fw-semibold[b-q49vl9tule],
#mapa-salud-panel .map-tooltip-card div[b-q49vl9tule] { color: #fff !important; }
#mapa-salud-panel .map-tooltip-card .text-muted[b-q49vl9tule] { color: #cbd5e1 !important; }
/* /Presentation/Components/Pages/Admin/MonitorAgendamientoRemoto.razor.rz.scp.css */
/* Monitor de agendamiento de sitio remoto — Idea: sv4-239 */

.mra-container[b-hiispxaavi] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* ===== Barra de conexión ===== */
.mra-conexion-bar[b-hiispxaavi] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mra-salud-badge[b-hiispxaavi] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.mra-nivel-0[b-hiispxaavi] { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.mra-nivel-1[b-hiispxaavi] { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.mra-nivel-2[b-hiispxaavi] { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

/* ===== Aviso previo de VPN (Idea: sv4-241) ===== */
.mra-vpn[b-hiispxaavi] {
    border-left: 4px solid #6366f1 !important;
}
.mra-vpn-icono[b-hiispxaavi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 1.05rem;
}
.mra-vpn-titulo[b-hiispxaavi] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}
.mra-vpn-texto[b-hiispxaavi] {
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 0;
    max-width: 780px;
}
.mra-vpn-datos[b-hiispxaavi] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mra-vpn-dato[b-hiispxaavi] {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
}

/* ===== Contenido de pestañas ===== */
.mra-tab-content[b-hiispxaavi] {
    padding-top: 12px;
    min-height: 0;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto (idea: sv4-239) =====
   El bloque se replica en el .razor.css del componente porque el aislamiento CSS de Blazor
   no hereda las reglas definidas en la página que lo hospeda. Las pestañas conservan además
   sus estilos inline (height/min-height 44px, flex, gap, padding) en el markup. */
.editor-tabs.nav-tabs[b-hiispxaavi] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-hiispxaavi] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-hiispxaavi] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-hiispxaavi] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-hiispxaavi] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-hiispxaavi] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-hiispxaavi] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-hiispxaavi]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-hiispxaavi]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-hiispxaavi] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== Tarjetas de indicadores ===== */
.mra-stat-card[b-hiispxaavi] {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease;
    min-height: 54px;
}

.mra-stat-card:hover[b-hiispxaavi] {
    border-color: #bfdbfe;
    box-shadow: 0 2px 6px rgba(13, 110, 253, .08);
}

.mra-stat-activa[b-hiispxaavi] {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .18);
}

.mra-stat-label[b-hiispxaavi] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #334155;
    white-space: nowrap;
}

.mra-export-btn[b-hiispxaavi] {
    width: 22px;
    height: 22px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    padding: 0;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.mra-export-btn:hover[b-hiispxaavi] {
    background: #f0fdf4;
    border-color: #86efac;
}

/* ===== Tarjetas y tablas ===== */
.mra-card[b-hiispxaavi] {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    overflow: hidden;
}

.mra-card-header[b-hiispxaavi] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb;
}

.mra-alertas[b-hiispxaavi] {
    padding-left: 1.1rem;
    font-size: 0.74rem;
    color: #475569;
}

.mra-table thead th[b-hiispxaavi] {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    white-space: nowrap;
}

.mra-truncate[b-hiispxaavi] {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Semana en vivo ===== */
.mra-semana-grid[b-hiispxaavi] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 1400px) {
    .mra-semana-grid[b-hiispxaavi] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .mra-semana-grid[b-hiispxaavi] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mra-dia-card[b-hiispxaavi] {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mra-dia-hoy[b-hiispxaavi] {
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .22);
}

.mra-dia-lista[b-hiispxaavi] {
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
}

.mra-eventos[b-hiispxaavi] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mra-fila[b-hiispxaavi] {
    border-left: 3px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 6px;
}

.mra-fila-detalle[b-hiispxaavi] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-top: 2px;
}

.mra-fila-detalle span[b-hiispxaavi],
.mra-fila-detalle small[b-hiispxaavi] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.mra-progreso-footer[b-hiispxaavi] {
    border-top: 1.5px solid #e2e8f0;
    background: #f8fafc;
    padding: 7px 8px;
}

.mra-progreso-lista[b-hiispxaavi] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 140px;
    overflow-y: auto;
    padding-right: 2px;
}

.mra-progreso-item[b-hiispxaavi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ===== Salud ===== */
.mra-banner .card-body[b-hiispxaavi] {
    border-radius: 8px;
}

.mra-icono-circulo[b-hiispxaavi] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mra-icono-circulo.mra-nivel-0[b-hiispxaavi] { background: #dcfce7; color: #15803d; }
.mra-icono-circulo.mra-nivel-1[b-hiispxaavi] { background: #fef3c7; color: #b45309; }
.mra-icono-circulo.mra-nivel-2[b-hiispxaavi] { background: #fee2e2; color: #b91c1c; }

/* ===== Pestaña Tendencia — gráfica de citas por día (idea: sv4-260) =====
   El grupo de pestañas de base temporal usa el patrón .editor-tabs del proyecto, cuyo bloque CSS
   canónico ya está replicado arriba en este mismo archivo. No se define una clase propia para
   pestañas (SUROS.Framework/PATTERNS/TABS.md). */
.mra-tendencia-chart[b-hiispxaavi] {
    position: relative;
    height: 340px;
    width: 100%;
}
/* /Presentation/Components/Pages/Admin/ParametrosPanel.razor.rz.scp.css */
/* Pantalla de parámetros del sistema (ADM.PARAMETRO) — Idea: sadm-049.
   Layout estándar de las páginas del sistema (patrón Backlog de Ideas / InstitucionPanel). */

/* ============================================================
   LAYOUT
   ============================================================ */

.editor-container[b-srpaew0xvd] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-srpaew0xvd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-srpaew0xvd] {
    font-size: 13px;
}

.editor-header-right[b-srpaew0xvd] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-srpaew0xvd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-srpaew0xvd],
.editor-title-bar .fw-semibold[b-srpaew0xvd],
.editor-title-bar small[b-srpaew0xvd] {
    color: #1a1d23 !important;
}

/* ============================================================
   PESTAÑAS — bloque canónico .editor-tabs del proyecto
   (se replica por el aislamiento CSS de Blazor)
   ============================================================ */

.editor-tabs.nav-tabs[b-srpaew0xvd] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.editor-tabs .nav-item[b-srpaew0xvd] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-srpaew0xvd] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-srpaew0xvd] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-srpaew0xvd] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-srpaew0xvd] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-srpaew0xvd]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-srpaew0xvd]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-srpaew0xvd] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ============================================================
   CONTENIDO — filtros fijos arriba + lista con scroll
   ============================================================ */

.editor-tab-content[b-srpaew0xvd] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.editor-tab-content > .param-filters[b-srpaew0xvd] {
    flex-shrink: 0;
    padding: 8px 24px 0;
}

.editor-tab-content > .param-list[b-srpaew0xvd] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 24px 24px;
}

/* ============================================================
   BARRA DE FILTROS COMPACTA (una sola fila, tarjeta blanca)
   ============================================================ */

.param-toolbar[b-srpaew0xvd] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    padding: 5px 10px;
    min-height: 38px;
    flex-wrap: nowrap;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pt-group[b-srpaew0xvd] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    position: relative;
}

.pt-icon[b-srpaew0xvd] {
    font-size: 0.7rem;
    color: #6b7280;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.pt-search[b-srpaew0xvd] {
    flex: 0 0 auto;
}

.pt-search-inner[b-srpaew0xvd] {
    display: flex;
    align-items: center;
    width: 300px;
    position: relative;
}

.pt-search-inner .pt-icon[b-srpaew0xvd] {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.pt-search-inner input[b-srpaew0xvd] {
    width: 100%;
    height: 26px;
    padding: 0 22px;
    font-size: 0.72rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #1f2937;
    outline: none;
    transition: border-color 0.15s ease;
}

.pt-search-inner input:focus[b-srpaew0xvd] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.12);
}

.pt-search-inner input[b-srpaew0xvd]::placeholder {
    color: #9ca3af;
    font-size: 0.7rem;
}

.pt-clear[b-srpaew0xvd] {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.6rem;
    line-height: 1;
}

.pt-clear:hover[b-srpaew0xvd] {
    color: #6b7280;
}

.pt-sep[b-srpaew0xvd] {
    width: 1px;
    height: 20px;
    background: #e2e4e9;
    flex-shrink: 0;
    margin: 0 2px;
}

.pt-results[b-srpaew0xvd] {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 0;
    font-size: 0.72rem;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
}

.pt-right[b-srpaew0xvd] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.pt-results strong[b-srpaew0xvd] {
    font-size: 0.8rem;
    color: #1f2937;
}

.pt-results-label[b-srpaew0xvd] {
    color: #6b7280;
    font-size: 0.68rem;
}

.pt-sort-indicator[b-srpaew0xvd] {
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
    margin-left: 4px;
}

.pt-badge-filtrado[b-srpaew0xvd] {
    background: #fef3c7;
    color: #d97706;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 2px;
}

.pt-clear-all[b-srpaew0xvd] {
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.pt-clear-all:hover:not(:disabled)[b-srpaew0xvd] {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
}

.pt-clear-all.has-filters[b-srpaew0xvd] {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.pt-clear-all.has-filters:hover:not(:disabled)[b-srpaew0xvd] {
    background: #fee2e2;
    color: #b91c1c;
}

.pt-clear-all:disabled[b-srpaew0xvd] {
    opacity: 0.45;
    cursor: default;
}

/* ============================================================
   TABLA DE PARÁMETROS
   ============================================================ */

#parametros-table .card-header[b-srpaew0xvd] {
    min-height: 44px;
}

#parametros-table .table > thead > tr > th[b-srpaew0xvd] {
    font-size: 0.78rem;
    font-weight: 600;
    vertical-align: middle;
    padding: 7px 10px;
    white-space: nowrap;
}

#parametros-table .table > tbody > tr > td[b-srpaew0xvd] {
    padding: 7px 10px;
    vertical-align: middle;
}

.param-clave[b-srpaew0xvd] {
    font-family: Consolas, monospace;
    font-size: 0.78rem;
    color: #0f172a;
    word-break: break-word;
}

.param-valor[b-srpaew0xvd] {
    display: inline-block;
    max-width: 260px;
    font-weight: 600;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.param-desc[b-srpaew0xvd] {
    color: #475569;
    font-size: 0.82rem;
}

.param-usuario[b-srpaew0xvd] {
    font-size: 0.7rem;
    color: #94a3b8;
    white-space: nowrap;
}

/* Encabezado ordenable: botón sin fondo que imita el texto del th */
.param-sort[b-srpaew0xvd] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.param-sort:hover[b-srpaew0xvd],
.param-sort:focus-visible[b-srpaew0xvd] {
    color: #1a73e8;
    text-decoration: underline;
}

.param-sort:focus-visible[b-srpaew0xvd] {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
    border-radius: 3px;
}

.param-sort .fa-sort[b-srpaew0xvd] {
    color: #cbd5e1;
}

/* ============================================================
   ESTADO DE CARGA
   ============================================================ */

.param-skeleton[b-srpaew0xvd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.param-skeleton-line[b-srpaew0xvd] {
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: param-skeleton-b-srpaew0xvd 1.2s ease-in-out infinite;
}

@keyframes param-skeleton-b-srpaew0xvd {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ============================================================
   MODALES — bloque compacto del proyecto
   ============================================================ */

.inf-modal-compact .modal-header[b-srpaew0xvd] { padding: 10px 16px; }
.inf-modal-compact .modal-header .modal-title[b-srpaew0xvd] { font-size: 0.85rem; font-weight: 600; }
.inf-modal-compact .modal-header .modal-title i[b-srpaew0xvd] { color: #1a73e8; }
.inf-modal-compact .modal-body[b-srpaew0xvd] { padding: 12px 16px; }
.inf-modal-compact .modal-footer[b-srpaew0xvd] { padding: 8px 16px; gap: 8px; }
.inf-modal-compact .modal-footer .btn[b-srpaew0xvd] {
    height: 30px;
    font-size: 0.8rem;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inf-modal-form[b-srpaew0xvd] { display: contents; }

.inf-form-label[b-srpaew0xvd] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.25rem;
}

.inf-form-control-sm[b-srpaew0xvd] {
    height: 30px;
    font-size: 0.78rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 4px;
}

.param-modal-key[b-srpaew0xvd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.param-modal-label[b-srpaew0xvd] {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #94a3b8;
}

.param-modal-meta[b-srpaew0xvd] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.68rem;
}

/* Bloque informativo del modal "Más info" */
.param-info-block[b-srpaew0xvd] {
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    background: #f8fafc;
    padding: 10px 12px;
}

.param-info-title[b-srpaew0xvd] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.param-info-title i[b-srpaew0xvd] {
    color: #1a73e8;
    margin-right: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767.98px) {
    .editor-tab-content > .param-filters[b-srpaew0xvd] {
        padding: 6px 12px 0;
    }

    .editor-tab-content > .param-list[b-srpaew0xvd] {
        padding: 10px 12px 16px;
    }

    .param-toolbar[b-srpaew0xvd] {
        padding: 4px 8px;
        gap: 4px;
    }

    .pt-search-inner[b-srpaew0xvd] {
        width: 180px;
    }

    /* En móvil el modal ocupa el ancho disponible (PATTERNS/MODAL.md) */
    .param-modal-backdrop .modal-dialog[b-srpaew0xvd] {
        margin: 0;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .param-skeleton-line[b-srpaew0xvd] { animation: none; }
}
/* /Presentation/Components/Pages/Admin/PlanesDesplieguePanel.razor.rz.scp.css */
.editor-container[b-xs6wp0x603] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 1000px;
}

/* ===== HEADER (breadcrumb + estado) — fijo, no se encoge ===== */
.editor-header[b-xs6wp0x603] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-xs6wp0x603] { font-size: 13px; }

.editor-header-right[b-xs6wp0x603] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


/* Los badges del header usan la regla estándar del componente Badge
   (css/suros-theme.css + SUROS.Framework/CONTRACTS/BADGE.md): sin tamaño local. */

/* ===== TITLE BAR — fijo ===== */
.editor-title-bar[b-xs6wp0x603] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-xs6wp0x603],
.editor-title-bar .fw-semibold[b-xs6wp0x603],
.editor-title-bar small[b-xs6wp0x603] { color: #1a1d23 !important; }

/* Botones de la barra de título: alto/padding estándar y alineados verticalmente. */
.editor-title-bar .btn[b-xs6wp0x603] {
    height: 26px;
    font-size: 0.75rem;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== BARRA DE FILTROS — fija ===== */
.editor-filters-bar[b-xs6wp0x603] {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

/* Cabecera de la barra de filtros: contexto informativo de la plantilla del plan por sitio.
   Se retiró del título (evitaba la doble línea) y se ubica aquí como cabecera del filtro. */
.pl-filters-header[b-xs6wp0x603] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #64748b;
}

.pl-filters-header i[b-xs6wp0x603] {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #1a73e8;
}

/* ===== CONTENIDO — scrollea dentro del contenedor ===== */
.editor-content[b-xs6wp0x603] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/* ===== Inputs y labels compactos patrón Institución ===== */
.inf-form-control-sm[b-xs6wp0x603] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.inf-form-label[b-xs6wp0x603] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-xs6wp0x603] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

/* Selects: reservar el espacio de la flecha para que el texto no quede recortado. */
.form-select.inf-form-control-sm[b-xs6wp0x603] {
    padding: 2px 1.75rem 2px 8px;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* Errores de validación por campo — patrón UX/ERRORS */
.inf-field-error[b-xs6wp0x603] {
    font-size: 0.68rem;
    color: #b91c1c;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}

.inf-field-error i[b-xs6wp0x603] { font-size: 0.62rem; flex-shrink: 0; }

/* ===== FORMULARIO DE GENERACIÓN ===== */
.pl-form[b-xs6wp0x603] { flex-shrink: 0; }

/* Segunda fila del formulario: intervención esquema a esquema del checklist del sitio (sadm-019).
   Rejilla fluida para que en pantallas anchas entren 2 o 3 esquemas por línea y el formulario
   no crezca en altura con sitios de 8 esquemas. */
.pl-esquemas-grid[b-xs6wp0x603] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 6px 16px;
}

.pl-esquema-item[b-xs6wp0x603] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
}

/* Esquema sin seleccionar: tarjeta neutra con el texto atenuado. Arrancan todas así, porque hay
   despliegues sin cambios en la base de datos: nada se despliega hasta que el operador lo elija. */
.pl-esquema-omitido[b-xs6wp0x603] {
    background: #ffffff;
}

.pl-esquema-omitido .pl-esquema-nombre[b-xs6wp0x603] { color: #64748b; }

.pl-esquema-omitido .pl-esquema-modulos[b-xs6wp0x603],
.pl-esquema-omitido .pl-esquema-detalle[b-xs6wp0x603] { color: #94a3b8; }

/* Esquema seleccionado para desplegar: se resalta sobre los demás. */
.pl-esquema-incluido[b-xs6wp0x603] {
    border-color: #93c5fd;
    background: #f8fbff;
}

.pl-esquema-datos[b-xs6wp0x603] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pl-esquema-nombre[b-xs6wp0x603] {
    font-size: 0.74rem;
    font-weight: 600;
    color: #0f172a;
}

/* Módulos del esquema: una sola línea con puntos suspensivos para no romper la rejilla. */
.pl-esquema-modulos[b-xs6wp0x603] {
    font-size: 0.62rem;
    color: #64748b;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Detalle del checklist del esquema: cuántos módulos están pendientes de actualizar. */
.pl-esquema-detalle[b-xs6wp0x603] {
    font-size: 0.6rem;
    color: #64748b;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== SKELETON DE CARGA ===== */
.pl-skeleton[b-xs6wp0x603] { display: flex; flex-direction: column; gap: 10px; }

.pl-skeleton-line[b-xs6wp0x603] {
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: plShimmer-b-xs6wp0x603 1.3s ease infinite;
}

@keyframes plShimmer-b-xs6wp0x603 {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

/* ===== BARRA DE AVANCE =====
   El color del relleno lo aporta la clase Bootstrap del DTO (bg-success/bg-primary/bg-secondary),
   por eso NO se fija background aquí: solo alto, radio y transición. */
.pl-progress[b-xs6wp0x603] {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.pl-progress-bar[b-xs6wp0x603] {
    height: 100%;
    border-radius: 999px;
    transition: width .25s ease;
}

/* ===== BOTONES DE ACCIÓN DE LA FILA (Descargar / Detalle) =====
   Icono y texto siempre en la misma línea (nowrap + inline-flex) y ancho
   suficiente para que la etiqueta no se parta en dos renglones. */
.pl-accion-btn[b-xs6wp0x603] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    min-width: 104px;
    height: 26px;
    font-size: 0.75rem;
    padding: 0 14px;
}

/* El icono ya se separa del texto con el gap del contenedor. */
.pl-accion-btn i[b-xs6wp0x603] { margin-right: 0; }

/* ===== DETALLE DEL PLAN — fijo ===== */
.pl-detail[b-xs6wp0x603] { flex-shrink: 0; }

/* ===== CADENA DE PASOS ===== */
.pl-paso[b-xs6wp0x603] { border-left: 3px solid transparent; }

.pl-paso-completado[b-xs6wp0x603] { border-left-color: #16a34a; background: #f0fdf4; }
.pl-paso-activo[b-xs6wp0x603] { border-left-color: #1a73e8; background: #eff6ff; }

.pl-paso-num[b-xs6wp0x603] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
    font-size: 0.68rem;
}

.pl-chip-esquema[b-xs6wp0x603] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ═══════════════════════════════════════════════════════════
   CONTRASTE DE TEXTOS — panel de Planes de Despliegue
   El panel usa superficies claras (tarjetas blancas / fondo #f8f9fa).
   Algunos textos heredan el color del contenedor y podían quedar
   BLANCOS (invisibles) según el tema. Se fijan colores oscuros legibles.
   Mismo tratamiento que el panel de Monitoreo Territorial.
   ═══════════════════════════════════════════════════════════ */
/* color-scheme: light evita que el navegador (SO en modo oscuro) pinte
   texto/controles por defecto en blanco sobre las superficies claras. */
#planes-panel[b-xs6wp0x603] { color: #1e293b; color-scheme: light; }

#planes-panel .editor-header[b-xs6wp0x603],
#planes-panel .editor-filters-bar[b-xs6wp0x603],
#planes-panel .editor-title-bar h4[b-xs6wp0x603],
#planes-panel .editor-title-bar small[b-xs6wp0x603],
#planes-panel .fw-semibold[b-xs6wp0x603],
#planes-panel .fw-bold[b-xs6wp0x603],
#planes-panel .card-header[b-xs6wp0x603],
#planes-panel .card-footer[b-xs6wp0x603],
#planes-panel table[b-xs6wp0x603],
#planes-panel table th[b-xs6wp0x603],
#planes-panel table td[b-xs6wp0x603] { color: #0f172a !important; }

/* Textos secundarios: gris medio legible sobre blanco */
#planes-panel .text-muted[b-xs6wp0x603] { color: #64748b !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .editor-title-bar[b-xs6wp0x603] { flex-direction: column; align-items: flex-start; gap: 6px; }
}
/* /Presentation/Components/Pages/Admin/SedeDetallePanel.razor.rz.scp.css */
.editor-container[b-vt0dt3yvkg] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 1400px;
}

.editor-header[b-vt0dt3yvkg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-vt0dt3yvkg] { font-size: 13px; }
.editor-header-right[b-vt0dt3yvkg] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.editor-title-bar[b-vt0dt3yvkg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}
.editor-title-bar h4[b-vt0dt3yvkg],
.editor-title-bar .fw-semibold[b-vt0dt3yvkg],
.editor-title-bar small[b-vt0dt3yvkg] { color: #1a1d23 !important; }

/* ===== PESTAÑAS — EXACTO Gestión Institucional ===== */
.editor-tabs.nav-tabs[b-vt0dt3yvkg] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}
.editor-tabs .nav-item[b-vt0dt3yvkg] { margin: 0 !important; padding: 0 !important; position: relative; display: flex; align-items: stretch; }
.editor-tabs .nav-item:first-child[b-vt0dt3yvkg] { margin: 0 !important; padding: 0 !important; }
.editor-tabs .nav-link[b-vt0dt3yvkg] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.editor-tabs .nav-link:hover[b-vt0dt3yvkg] { color: #202124 !important; background: rgba(0,0,0,0.04) !important; }
.editor-tabs .nav-link.active[b-vt0dt3yvkg] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}
.editor-tabs .nav-link.active[b-vt0dt3yvkg]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}
.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-vt0dt3yvkg]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}
.editor-tabs .nav-link i[b-vt0dt3yvkg] { font-size: 14px; width: 16px; text-align: center; color: inherit; }

/* ===== BARRA DE DESPLAZAMIENTO DE PESTAÑAS — flechas laterales. Idea: sadm-036 =====
   El grupo de pestañas vive dentro de un contenedor que lo desplaza horizontalmente, de modo
   que las pestañas que no caben queden alcanzables con las flechas y no ocultas. */
.editor-tabs-bar[b-vt0dt3yvkg] {
    display: flex;
    align-items: stretch;
    background: #e8eaed;
    flex-shrink: 0;
    min-height: 44px;
}
.editor-tabs-nav[b-vt0dt3yvkg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    border: none;
    background: #e8eaed;
    color: #5f6368;
    cursor: pointer;
    font-size: 0.82rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.editor-tabs-nav:hover[b-vt0dt3yvkg] { background: rgba(0, 0, 0, 0.06); color: #202124; }
.editor-tabs-nav:active[b-vt0dt3yvkg] { background: rgba(0, 0, 0, 0.10); }
.editor-tabs-nav:focus-visible[b-vt0dt3yvkg] { outline: 2px solid #1a73e8; outline-offset: -2px; }
.editor-tabs.nav-tabs.editor-tabs-scroll[b-vt0dt3yvkg] {
    flex: 1 1 auto !important;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.editor-tabs.nav-tabs.editor-tabs-scroll[b-vt0dt3yvkg]::-webkit-scrollbar { display: none; }

/* ===== CONTENIDO — scroll vertical en el propio contenedor de la tab =====
   Los hijos van en flujo normal (varias secciones <div> por tab) y es este
   contenedor el que scrollea. overflow:hidden recortaba el contenido sin scroll. */
.editor-tab-content[b-vt0dt3yvkg] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 0;
    scrollbar-gutter: stable;
}
.editor-tab-content > div:not(.modal)[b-vt0dt3yvkg] { position: relative; inset: auto; padding: 20px 24px; }

/* Los modales del panel conservan el overlay fijo de Bootstrap
   (no deben heredar position:relative del contenido de la tab). */
.editor-tab-content > .modal[b-vt0dt3yvkg] { position: fixed; padding: 0; }

/* ===== Tab Servidor & Dominio — separación compacta entre cards =====
   Antes cada fila del tab era hija directa de .editor-tab-content y recibía su
   padding de 20px arriba y 20px abajo, sumando ~40px de aire entre cards. El tab
   se agrupa en .sad-tab-infra con un único padding y se reduce el gutter vertical
   (--bs-gutter-y de g-3 = 1rem) para acercar las cards. Idea: sadm-015. */
#sede-detalle-panel .sad-tab-infra[b-vt0dt3yvkg] {
    padding: 12px 24px 16px;
}
#sede-detalle-panel .sad-tab-infra > .row[b-vt0dt3yvkg] {
    --bs-gutter-y: 0.5rem;
    margin-top: 0 !important;
}
#sede-detalle-panel .sad-tab-infra > .row + .row[b-vt0dt3yvkg] {
    margin-top: 0.25rem !important;
}
#sede-detalle-panel .sad-tab-infra > .row:last-child[b-vt0dt3yvkg] {
    margin-bottom: 0 !important;
}

/* ===== Tab Estado actual — misma compactación entre cards (Idea: sadm-015) =====
   El tab tenía dos filas hermanas (Salud del sitio y Estado actual + Módulos) y cada
   una recibía el padding de 20px arriba/abajo, más el mb-3 de la primera fila y el
   gutter de g-3, sumando mucho aire. Se agrupa en .sad-tab-general y se compacta. */
#sede-detalle-panel .sad-tab-general[b-vt0dt3yvkg] {
    padding: 12px 24px 16px;
}
#sede-detalle-panel .sad-tab-general > .row[b-vt0dt3yvkg] {
    --bs-gutter-y: 0.5rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
#sede-detalle-panel .sad-tab-general > .row + .row[b-vt0dt3yvkg] {
    margin-top: 0.25rem !important;
}
#sede-detalle-panel .sad-tab-general > .row:last-child[b-vt0dt3yvkg] {
    margin-bottom: 0 !important;
}

/* ===== Tabs Accesos, Bases de datos y Módulos & Esquemas — cards compactas (Idea: sadm-015) =====
   Mismo criterio: el contenedor recibe un único padding y las cards hermanas quedan
   separadas por un margen pequeño (antes cada card directa sumaba 20px arriba/abajo,
   más el mb-3 de la primera card de Módulos). */
#sede-detalle-panel .sad-tab-accesos[b-vt0dt3yvkg],
#sede-detalle-panel .sad-tab-bd[b-vt0dt3yvkg],
#sede-detalle-panel .sad-tab-modulos[b-vt0dt3yvkg] {
    padding: 12px 24px 16px;
}
#sede-detalle-panel .sad-tab-accesos > .card[b-vt0dt3yvkg],
#sede-detalle-panel .sad-tab-bd > .card[b-vt0dt3yvkg],
#sede-detalle-panel .sad-tab-modulos > .card[b-vt0dt3yvkg] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
#sede-detalle-panel .sad-tab-accesos > .card + .card[b-vt0dt3yvkg],
#sede-detalle-panel .sad-tab-bd > .card + .card[b-vt0dt3yvkg],
#sede-detalle-panel .sad-tab-modulos > .card + .card[b-vt0dt3yvkg] {
    margin-top: 0.5rem !important;
}

/* Timeline historial */
.timeline[b-vt0dt3yvkg] { position: relative; padding-left: 18px; }
.timeline[b-vt0dt3yvkg]::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e2e8f0;
    border-radius: 1px;
}
.timeline-item[b-vt0dt3yvkg] { position: relative; padding-bottom: 14px; display: flex; gap: 10px; }
.timeline-item:last-child[b-vt0dt3yvkg] { padding-bottom: 0; }
.timeline-dot[b-vt0dt3yvkg] {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 6px;
    position: relative; z-index: 1; border: 2px solid #fff; box-shadow: 0 0 0 2px #e2e8f0;
}
.dot-ok[b-vt0dt3yvkg] { background: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,.3); }
.dot-fail[b-vt0dt3yvkg] { background: #ef4444; box-shadow: 0 0 0 2px rgba(239,68,68,.3); }
.dot-warn[b-vt0dt3yvkg] { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,.3); }
.timeline-card[b-vt0dt3yvkg] {
    flex: 1 1 auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 10px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.inf-section-title[b-vt0dt3yvkg] { font-size: 0.81rem; font-weight: 700; color: #374151; border-bottom: 1px solid #e5e7eb; padding-bottom: 5px; margin-bottom: 10px; letter-spacing: 0.01em; }
.inf-section-title i[b-vt0dt3yvkg] { font-size: 0.76rem; margin-right: 5px; color: #1a73e8; }

/* ===== Formularios compactos — patrón Gestión Institucional (idea: sadm-formularios-compactos) =====
   Labels 0.74rem gris medio + inputs 30px/0.84rem. Sin estilos inline por campo. */
.inf-form-label[b-vt0dt3yvkg] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

/* sv4-226 — Labels del modal en una sola línea: evita que un label en doble
   línea desnivele los demás campos de la fila. El texto completo va en title. */
.modal-body .inf-form-label[b-vt0dt3yvkg] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.inf-form-label i[b-vt0dt3yvkg] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.inf-form-control-sm[b-vt0dt3yvkg] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

textarea.inf-form-control-sm[b-vt0dt3yvkg] {
    height: auto;
    min-height: 52px;
    resize: vertical;
}

/* ADM-UX-08 — Selects de formulario: reservar el espacio de la flecha.
   El padding compacto de .inf-form-control-sm (2px 8px) pisaba el padding nativo
   de .form-select-sm (1.75rem a la derecha) y el texto de la opción seleccionada
   quedaba por debajo de la flecha (recortado). Mayor especificidad (0,3,0). */
.form-select.inf-form-control-sm[b-vt0dt3yvkg] {
    padding: 2px 1.75rem 2px 8px;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* ADM-UX-08 — Icono del título de los modales del panel: un solo color y tamaño. */
.inf-title-icon[b-vt0dt3yvkg] {
    color: #1a73e8;
    font-size: 0.8rem;
}

/* ADM-UX-08 — El formulario envuelve body+footer; display:contents hace que sus
   hijos participen del layout flex de .modal-content sin romperlo. */
.inf-modal-form[b-vt0dt3yvkg] {
    display: contents;
}

.inf-form-section[b-vt0dt3yvkg] {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 10px 10px;
}

.inf-form-hint[b-vt0dt3yvkg] {
    font-size: 0.62rem;
    color: #6b7280;
    margin-top: 1px;
}

/* Errores de validación por campo — patrón UX/ERRORS (idea: sadm-formularios-compactos) */
.inf-field-error[b-vt0dt3yvkg] {
    font-size: 0.68rem;
    color: #b91c1c;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}

.inf-field-error i[b-vt0dt3yvkg] {
    font-size: 0.62rem;
    flex-shrink: 0;
}

.form-control.is-invalid[b-vt0dt3yvkg],
.form-select.is-invalid[b-vt0dt3yvkg] {
    border-color: #dc3545;
}

.form-control.is-invalid:focus[b-vt0dt3yvkg],
.form-select.is-invalid:focus[b-vt0dt3yvkg] {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

.inf-modal-compact .modal-header[b-vt0dt3yvkg] { padding: 10px 16px; }
.inf-modal-compact .modal-header .modal-title[b-vt0dt3yvkg] { font-size: 0.85rem; font-weight: 600; }
.inf-modal-compact .modal-body[b-vt0dt3yvkg] { padding: 12px 16px; }
.inf-modal-compact .modal-footer[b-vt0dt3yvkg] { padding: 8px 16px; gap: 8px; }
.inf-modal-compact .modal-footer .btn[b-vt0dt3yvkg] { height: 30px; font-size: 0.8rem; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 992px) { .editor-title-bar[b-vt0dt3yvkg] { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ===== Selects compactos del panel (filtros y listas) =====
   Site.css aplica un padding global de 0.6rem a .form-select y, junto con el
   alto fijo (height:26px), dejaba el área de texto en ~5px: la opción
   seleccionada se veía recortada verticalmente. Se restablece un padding
   compacto y un alto consistente. */
.select-compact[b-vt0dt3yvkg] {
    height: 28px;
    font-size: 0.68rem;
    line-height: 1.15;
    padding: 0 1.6rem 0 0.55rem;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* ===== Toast de respuesta de acciones (toolbar del breadcrumb) =====
   Patrón compartido con Gestión Institucional / Configuración de Aplicación:
   el toast se ancla a la derecha del grupo de estado y aparece a su izquierda. */
.inst-header-actions[b-vt0dt3yvkg] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inst-toast[b-vt0dt3yvkg] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-vt0dt3yvkg] {
    font-size: 0.8rem;
}

.inst-toast-success[b-vt0dt3yvkg] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-vt0dt3yvkg] {
    color: #059669;
}

.inst-toast-error[b-vt0dt3yvkg] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-vt0dt3yvkg] {
    color: #dc2626;
}

/* ── Animación de salida del toast (conserva el centrado vertical) ── */
.notif-fade-out[b-vt0dt3yvkg] {
    animation: notifFadeOut-b-vt0dt3yvkg 0.3s ease forwards;
}

@keyframes notifFadeOut-b-vt0dt3yvkg {
    from { opacity: 1; transform: translateY(-50%); }
    to   { opacity: 0; transform: translateY(-50%) translateX(-6px); }
}

/* ═══════════════════════════════════════════════════════════
   CONTRASTE DE TEXTOS — panel de Detalle de Sede
   El panel usa superficies claras (tarjetas blancas, cabeceras
   #f8f9fa, tablas y modales). Algunos textos heredan el color del
   contenedor y podían quedar BLANCOS (invisibles) según el tema
   (navegador/SO en modo oscuro). Se fijan colores oscuros legibles.
   Mismo tratamiento que los paneles de Monitoreo Territorial y Planes.
   ═══════════════════════════════════════════════════════════ */
/* color-scheme: light evita que el navegador pinte por defecto texto y
   controles en blanco sobre las superficies claras de este panel. */
#sede-detalle-panel[b-vt0dt3yvkg] { color: #1e293b; color-scheme: light; }

/* Encabezados, títulos, tablas y textos con énfasis sobre superficies claras */
#sede-detalle-panel .editor-header[b-vt0dt3yvkg],
#sede-detalle-panel .editor-filters-bar[b-vt0dt3yvkg],
#sede-detalle-panel .editor-title-bar h4[b-vt0dt3yvkg],
#sede-detalle-panel .editor-title-bar small[b-vt0dt3yvkg],
#sede-detalle-panel .fw-semibold[b-vt0dt3yvkg],
#sede-detalle-panel .fw-bold[b-vt0dt3yvkg],
#sede-detalle-panel .card-header[b-vt0dt3yvkg],
#sede-detalle-panel .card-footer[b-vt0dt3yvkg],
#sede-detalle-panel table[b-vt0dt3yvkg],
#sede-detalle-panel table th[b-vt0dt3yvkg],
#sede-detalle-panel table td[b-vt0dt3yvkg] { color: #0f172a !important; }

/* Textos secundarios: gris medio legible sobre blanco */
#sede-detalle-panel .text-muted[b-vt0dt3yvkg] { color: #64748b !important; }
/* /Presentation/Components/Pages/Admin/SedeMensajeriaCampanasPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Campañas" de la pestaña Mensajería del detalle del cliente sede.
   Idea: sadm-039. ── */

.scp-container[b-c2wije2zql] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del Monitor / Mensajes Enviados / Listas) ── */
.scp-conexion-bar[b-c2wije2zql] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.scp-vpn[b-c2wije2zql] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.scp-vpn-icono[b-c2wije2zql] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.scp-vpn-titulo[b-c2wije2zql] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.scp-vpn-texto[b-c2wije2zql] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.scp-vpn-datos[b-c2wije2zql] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.scp-vpn-dato[b-c2wije2zql] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ── Toolbar ── */
.scp-toolbar[b-c2wije2zql] {
    padding: 0 2px;
}

.toolbar-separator[b-c2wije2zql] {
    width: 1px;
    height: 26px;
    background: #dee2e6;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 2px;
}

.form-control[b-c2wije2zql],
.form-select[b-c2wije2zql] {
    box-sizing: border-box;
}

/* ── Grid premium: filas delgadas con hover suave, patrón Mensajes (sv4-190) ── */
.scp-table-card .table > :not(caption) > * > *[b-c2wije2zql] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.scp-table-card .table-hover tbody tr:hover[b-c2wije2zql] {
    background: #f8fafc !important;
}

/* ── Modal de detalle ── */
.scp-info-card[b-c2wije2zql] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.scp-info-label[b-c2wije2zql] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scp-info-label i[b-c2wije2zql] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.scp-info-value[b-c2wije2zql] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    word-break: break-word;
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaConfiguracionPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Configuración" de la pestaña Mensajería. Idea: sadm-042. ── */

.scp-container[b-7pjjcgkoea] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del hub Mensajería) ── */
.scp-conexion-bar[b-7pjjcgkoea] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.scp-vpn[b-7pjjcgkoea] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.scp-vpn-icono[b-7pjjcgkoea] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.scp-vpn-titulo[b-7pjjcgkoea] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.scp-vpn-texto[b-7pjjcgkoea] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.scp-vpn-datos[b-7pjjcgkoea] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.scp-vpn-dato[b-7pjjcgkoea] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto (TABS.md) ===== */
.editor-tabs.nav-tabs[b-7pjjcgkoea] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-7pjjcgkoea] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-7pjjcgkoea] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-7pjjcgkoea] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-7pjjcgkoea] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-7pjjcgkoea] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-7pjjcgkoea] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-7pjjcgkoea]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-7pjjcgkoea]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-7pjjcgkoea] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ── Contenido de las sub-pestañas internas ──
   Variante segura para un hub embebido: el original usa posición absoluta dentro de un
   contenedor flex con altura fija; aquí el panel no tiene altura fija, por lo que se
   conserva el fondo estándar (#f8f9fa) con padding normal. */
.editor-tab-content[b-7pjjcgkoea] {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 0 0 8px 8px;
}

/* ── Tarjetas de información (credenciales) ── */
.scp-info-card[b-7pjjcgkoea] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.scp-info-secret[b-7pjjcgkoea] {
    border-left: 3px solid #f59e0b;
    background: #fffdf5;
}

.scp-info-label[b-7pjjcgkoea] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scp-info-label i[b-7pjjcgkoea] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.scp-info-secret .scp-info-label i[b-7pjjcgkoea] {
    color: #f59e0b;
}

.scp-info-value[b-7pjjcgkoea] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 600;
    margin-bottom: 3px;
    word-break: break-word;
}

.scp-info-sub[b-7pjjcgkoea] {
    font-size: 0.72rem;
    color: #6c757d;
}

.scp-secret[b-7pjjcgkoea] {
    font-size: 0.82rem;
    color: #b45309;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 4px;
    padding: 1px 6px;
    letter-spacing: 1px;
}

/* ── Paquetes de mensajes — grilla de cards verticales (estilo "planes") ──
   Dirección: panel clínico → datos administrativos (números grandes, tabulares).
   Profundidad: sombras sutiles por capas sobre superficie blanca; acento azul solo en la card activa.
   Tipografía: jerarquía por peso + tamaño; cifras en tabular-nums para alineación. */
.scp-paquetes-grid[b-7pjjcgkoea] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

/* En pantallas que no soportan 7 columnas legibles, se reduce el número por fila */
@media (max-width: 1600px) {
    .scp-paquetes-grid[b-7pjjcgkoea] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .scp-paquetes-grid[b-7pjjcgkoea] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
    .scp-paquetes-grid[b-7pjjcgkoea] { grid-template-columns: 1fr; }
}

.scp-paquete-card[b-7pjjcgkoea] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px 12px 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    text-align: center;
    box-shadow:
        0 0 0 0.5px rgba(15, 23, 42, 0.03),
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 4px 10px rgba(15, 23, 42, 0.035);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.scp-paquete-card:hover[b-7pjjcgkoea] {
    border-color: rgba(13, 110, 253, 0.28);
    box-shadow:
        0 0 0 0.5px rgba(13, 110, 253, 0.10),
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 10px 22px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.scp-paquete-card.is-seleccionado[b-7pjjcgkoea] {
    border-color: rgba(13, 110, 253, 0.45);
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 62%);
    box-shadow:
        0 0 0 1px rgba(13, 110, 253, 0.16),
        0 6px 20px rgba(13, 110, 253, 0.16);
}

/* ── Cabecera: pastilla de estado + nombre ── */
.scp-paquete-head[b-7pjjcgkoea] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 24px;
}

.scp-paquete-pill[b-7pjjcgkoea] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.scp-paquete-pill.is-up[b-7pjjcgkoea] {
    color: #0f7b43;
    background: #e7f7ef;
    border-color: rgba(15, 123, 67, 0.18);
}

.scp-paquete-pill.is-down[b-7pjjcgkoea] {
    color: #64748b;
    background: #f1f5f9;
    border-color: rgba(100, 116, 139, 0.18);
}

.scp-paquete-pill.is-activa[b-7pjjcgkoea] {
    color: #0d6efd;
    background: #e7f0ff;
    border-color: rgba(13, 110, 253, 0.20);
}

/* Check de selección en la esquina */
.scp-paquete-check[b-7pjjcgkoea] {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d6efd;
    color: #ffffff;
    font-size: 0.62rem;
    box-shadow: 0 1px 4px rgba(13, 110, 253, 0.40);
}

.scp-paquete-nombre[b-7pjjcgkoea] {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    color: #334155;
    word-break: break-word;
    min-height: 1.8em;
}

/* ── Bloque de precio protagonista ── */
.scp-paquete-precio[b-7pjjcgkoea] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding-bottom: 6px;
}

.scp-paquete-precio-label[b-7pjjcgkoea] {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #94a3b8;
}

.scp-paquete-precio-monto[b-7pjjcgkoea] {
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.scp-paquete-card.is-seleccionado .scp-paquete-precio-monto[b-7pjjcgkoea] {
    color: #0d6efd;
}

/* ── Datos secundarios apilados y centrados ── */
.scp-paquete-dato[b-7pjjcgkoea] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.scp-paquete-dato-label[b-7pjjcgkoea] {
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: left;
}

.scp-paquete-dato-valor[b-7pjjcgkoea] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    font-variant-numeric: tabular-nums;
}

.scp-paquete-mod[b-7pjjcgkoea] {
    margin-top: auto;
    padding-top: 7px;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
    font-size: 0.58rem;
    color: #a6b1c0;
    text-align: center;
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaDashboardPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Dashboard" de la pestaña Mensajería del detalle del cliente sede.
   Idea: sadm-043. ── */

.sqd-container[b-lyzch1f0ah] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del hub Mensajería) ── */
.scpd-conexion-bar[b-lyzch1f0ah] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.scpd-vpn[b-lyzch1f0ah] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.scpd-vpn-icono[b-lyzch1f0ah] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.scpd-vpn-titulo[b-lyzch1f0ah] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.scpd-vpn-texto[b-lyzch1f0ah] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.scpd-vpn-datos[b-lyzch1f0ah] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.scpd-vpn-dato[b-lyzch1f0ah] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ── Contenido: en el hub fluye dentro del detalle de la sede (sin 100vh fijo) ── */
.sqd-content[b-lyzch1f0ah] {
    background: #f8f9fa;
    border-top: none;
    padding: 20px 24px 24px;
}

/* ── Botones de filtro rápido: altura estándar 26px sin salto al cambiar estado ── */
.btn-quick-filter[b-lyzch1f0ah] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-lyzch1f0ah],
.btn-quick-filter.btn-outline-primary:focus[b-lyzch1f0ah],
.btn-quick-filter.btn-primary:active[b-lyzch1f0ah],
.btn-quick-filter.btn-outline-primary:active[b-lyzch1f0ah] {
    box-shadow: none !important;
    transform: none !important;
}

.form-control[b-lyzch1f0ah],
.form-select[b-lyzch1f0ah] {
    box-sizing: border-box;
}

input[type="date"][b-lyzch1f0ah]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-lyzch1f0ah]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Tarjetas estadísticas ── */
.stat-card-filterable[b-lyzch1f0ah] {
    cursor: pointer;
    user-select: none;
}

.stat-card-filterable:focus-visible[b-lyzch1f0ah] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .sqd-content[b-lyzch1f0ah] {
        padding: 12px 16px 16px;
    }
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaEnviadosPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Mensajes Enviados" de la pestaña Mensajería del detalle del cliente sede.
   Idea: sadm-034. ── */

.smp-container[b-vhm6bdfvdl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del Monitor de agendamiento) ── */
.smp-conexion-bar[b-vhm6bdfvdl] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.smp-vpn[b-vhm6bdfvdl] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.smp-vpn-icono[b-vhm6bdfvdl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.smp-vpn-titulo[b-vhm6bdfvdl] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.smp-vpn-texto[b-vhm6bdfvdl] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.smp-vpn-datos[b-vhm6bdfvdl] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.smp-vpn-dato[b-vhm6bdfvdl] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ── Botones de filtro rápido: altura estándar 26px sin salto al cambiar estado ── */
.btn-quick-filter[b-vhm6bdfvdl] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-vhm6bdfvdl],
.btn-quick-filter.btn-outline-primary:focus[b-vhm6bdfvdl],
.btn-quick-filter.btn-primary:active[b-vhm6bdfvdl],
.btn-quick-filter.btn-outline-primary:active[b-vhm6bdfvdl] {
    box-shadow: none !important;
    transform: none !important;
}

.form-control[b-vhm6bdfvdl],
.form-select[b-vhm6bdfvdl] {
    box-sizing: border-box;
}

.search-input-wrapper input.form-control[b-vhm6bdfvdl] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.search-input-wrapper button.btn[b-vhm6bdfvdl] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

input[type="date"][b-vhm6bdfvdl]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-vhm6bdfvdl]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Modal de detalle ── */
.modal-info-card[b-vhm6bdfvdl] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.modal-info-card:hover[b-vhm6bdfvdl] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.modal-info-label[b-vhm6bdfvdl] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-info-label i[b-vhm6bdfvdl] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.modal-info-value[b-vhm6bdfvdl] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.modal-info-sub[b-vhm6bdfvdl] {
    font-size: 0.8rem;
    color: #6c757d;
}

.modal-timeline[b-vhm6bdfvdl] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-timeline-header[b-vhm6bdfvdl] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-timeline-header i[b-vhm6bdfvdl] {
    color: #0d6efd;
}

.modal-timeline-body[b-vhm6bdfvdl] {
    padding: 12px 14px;
}

.timeline-item[b-vhm6bdfvdl] {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 12px;
}

.timeline-item:not(:last-child)[b-vhm6bdfvdl]::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item:last-child[b-vhm6bdfvdl] {
    padding-bottom: 0;
}

.timeline-dot[b-vhm6bdfvdl] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #e9ecef;
    position: relative;
    z-index: 1;
}

.timeline-content[b-vhm6bdfvdl] {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.timeline-label[b-vhm6bdfvdl] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
}

.timeline-time[b-vhm6bdfvdl] {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 1px;
}

.modal-content-box[b-vhm6bdfvdl] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-content-header[b-vhm6bdfvdl] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-content-header i[b-vhm6bdfvdl] {
    color: #0d6efd;
}

.modal-content-text[b-vhm6bdfvdl] {
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #212529;
    white-space: pre-wrap;
    max-height: 160px;
    overflow-y: auto;
    word-break: break-word;
}

.modal-content-text[b-vhm6bdfvdl]::-webkit-scrollbar {
    width: 6px;
}

.modal-content-text[b-vhm6bdfvdl]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.modal-content-text[b-vhm6bdfvdl]::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

.modal-content-text[b-vhm6bdfvdl]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* ── Highlight de búsqueda ── */
mark.search-highlight[b-vhm6bdfvdl] {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* ── Tarjetas estadísticas ── */
.stat-card-filterable[b-vhm6bdfvdl] {
    cursor: pointer;
    user-select: none;
}

.stat-card-filterable:focus-visible[b-vhm6bdfvdl] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

.stat-card-filterable-active[b-vhm6bdfvdl] {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(13, 110, 253, 0.55) !important;
    transform: translateY(-2px);
}

.stat-card-badge-active[b-vhm6bdfvdl] {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ── Icono de exportación por card (lado derecho) ──
   Bloque canónico del proyecto (Mensajes / Monitor de agendamiento / Respuestas).
   Se replica aquí porque el aislamiento CSS de Blazor impide heredarlo de otras páginas;
   sin él, los botones de exportación de las cards quedan sin estilo.
   El tamaño y la posición inline los fija el propio markup de cada card. */
.stat-card-export-btn[b-vhm6bdfvdl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    color: #198754;
    font-size: 0.68rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.stat-card-export-btn:hover[b-vhm6bdfvdl] {
    opacity: 1;
    transform: scale(1.08);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.stat-card-export-btn:focus-visible[b-vhm6bdfvdl] {
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
    opacity: 1;
}

.stat-card-export-btn-light[b-vhm6bdfvdl] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.stat-card-export-btn-light:hover[b-vhm6bdfvdl] {
    background: rgba(255, 255, 255, 0.4);
}

.row-mensaje-dblclick[b-vhm6bdfvdl] {
    cursor: pointer;
}

.row-mensaje-dblclick:hover[b-vhm6bdfvdl] {
    background-color: #eef4ff;
}

/* ── Overlay centrado de descarga de documento ── */
.doc-download-overlay[b-vhm6bdfvdl] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
}

.doc-download-box[b-vhm6bdfvdl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    max-width: 90vw;
    padding: 22px 28px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.doc-download-message[b-vhm6bdfvdl] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* ── Dropdown del combobox "Lista envío" con ancho legible ── */
#sede-mensajeria-filtro-lista[b-vhm6bdfvdl]  .searchable-select-dropdown {
    min-width: 340px;
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaListasPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Listas de Contactos" de la pestaña Mensajería del detalle del cliente sede.
   Idea: sadm-038. ── */

.slp-container[b-op3djgfcp0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del Monitor de agendamiento / Mensajes Enviados) ── */
.slp-conexion-bar[b-op3djgfcp0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.slp-vpn[b-op3djgfcp0] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.slp-vpn-icono[b-op3djgfcp0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.slp-vpn-titulo[b-op3djgfcp0] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.slp-vpn-texto[b-op3djgfcp0] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.slp-vpn-datos[b-op3djgfcp0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.slp-vpn-dato[b-op3djgfcp0] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ── Toolbar ── */
.slp-toolbar[b-op3djgfcp0] {
    padding: 0 2px;
}

.toolbar-separator[b-op3djgfcp0] {
    width: 1px;
    height: 26px;
    background: #dee2e6;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 2px;
}

.form-control[b-op3djgfcp0],
.form-select[b-op3djgfcp0] {
    box-sizing: border-box;
}

/* ── Grid premium: filas delgadas con hover suave, patrón Mensajes (sv4-191) ── */
.slp-table-card .table > :not(caption) > * > *[b-op3djgfcp0] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.slp-table-card .table-hover tbody tr:hover[b-op3djgfcp0] {
    background: #f8fafc !important;
}

/* ── Lista de contactos (columna derecha) ── */
.contact-item:hover[b-op3djgfcp0] {
    background-color: #f0f7ff !important;
}

.contact-item-selected[b-op3djgfcp0] {
    background-color: #e3f0fa !important;
    border-left: 3px solid #29b6f6;
}

.contact-info-popover[b-op3djgfcp0] {
    box-shadow: 0 4px 16px rgba(41, 182, 246, 0.15);
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaPanel.razor.rz.scp.css */
/* ── Pestaña Mensajería del detalle del cliente sede — hub de sub-pestañas.
   Ideas: sadm-034 (Mensajes Enviados) y sadm-038 (Listas de Contactos). ── */

.smp-hub[b-tu09ziv2uf] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.smp-hub-content[b-tu09ziv2uf] {
    padding-top: 14px;
    min-width: 0;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto ===== */
.editor-tabs.nav-tabs[b-tu09ziv2uf] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-tu09ziv2uf] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-tu09ziv2uf] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-tu09ziv2uf] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-tu09ziv2uf] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-tu09ziv2uf] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-tu09ziv2uf]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-tu09ziv2uf]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-tu09ziv2uf] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaPlantillasPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Plantillas" de la pestaña Mensajería. Idea: sadm-041. ── */

.spp-container[b-mhip2cmhya] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del hub Mensajería) ── */
.spp-conexion-bar[b-mhip2cmhya] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.spp-vpn[b-mhip2cmhya] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.spp-vpn-icono[b-mhip2cmhya] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spp-vpn-titulo[b-mhip2cmhya] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.spp-vpn-texto[b-mhip2cmhya] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.spp-vpn-datos[b-mhip2cmhya] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spp-vpn-dato[b-mhip2cmhya] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ── Filtros: botón rápido 26px sin salto y caja de búsqueda unida ── */
.form-control[b-mhip2cmhya],
.form-select[b-mhip2cmhya] {
    box-sizing: border-box;
}

.btn-quick-filter[b-mhip2cmhya] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-mhip2cmhya],
.btn-quick-filter.btn-outline-primary:focus[b-mhip2cmhya],
.btn-quick-filter.btn-primary:active[b-mhip2cmhya],
.btn-quick-filter.btn-outline-primary:active[b-mhip2cmhya] {
    box-shadow: none !important;
    transform: none !important;
}

.search-input-wrapper input.form-control[b-mhip2cmhya] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.search-input-wrapper button.btn[b-mhip2cmhya] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

input[type="date"][b-mhip2cmhya]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-mhip2cmhya]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Grid premium ── */
.spp-table-card .table > :not(caption) > * > *[b-mhip2cmhya] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.spp-table-card .table-hover tbody tr:hover[b-mhip2cmhya] {
    background: #f8fafc !important;
}

/* ── Tarjetas de plantilla ── */
.spp-card-plantilla[b-mhip2cmhya] {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    border: 1px solid #e5e7eb;
}

.spp-card-plantilla:hover[b-mhip2cmhya] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.12) !important;
    border-color: #bfdbfe;
}

.spp-card-plantilla:focus-visible[b-mhip2cmhya] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

.spp-card-icono[b-mhip2cmhya] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.spp-card-desc[b-mhip2cmhya] {
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Modal de detalle ── */
.spp-info-card[b-mhip2cmhya] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.spp-info-label[b-mhip2cmhya] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.spp-info-label i[b-mhip2cmhya] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.spp-info-value[b-mhip2cmhya] {
    font-size: 0.88rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.spp-info-sub[b-mhip2cmhya] {
    font-size: 0.78rem;
    color: #6c757d;
}

.spp-pre-contenido[b-mhip2cmhya] {
    font-size: 0.74rem;
    color: #1f2937;
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 10px;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 240px;
    overflow: auto;
}

/* ── Highlight de búsqueda ── */
mark.search-highlight[b-mhip2cmhya] {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* ── Badge categoría MARKETING (misma paleta que la página original) ── */
.bg-plantillas-marketing[b-mhip2cmhya] {
    background-color: #6f42c1 !important;
    color: #fff !important;
}

/* ── Modal de envío de prueba ── */
.spp-prueba-label[b-mhip2cmhya] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.spp-prueba-label i[b-mhip2cmhya] {
    color: #128c7e;
    font-size: 0.7rem;
}

.spp-prueba-label-sm[b-mhip2cmhya] {
    display: block;
    font-size: 0.64rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

.spp-prueba-input[b-mhip2cmhya] {
    height: 32px;
    font-size: 0.78rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
}

.spp-prueba-input:focus[b-mhip2cmhya] {
    border-color: #128c7e;
    box-shadow: 0 0 0 0.2rem rgba(18, 140, 126, 0.15);
}
/* /Presentation/Components/Pages/Admin/SedeMensajeriaRespuestasPanel.razor.rz.scp.css */
/* ── Sub-pestaña "Respuestas del Paciente (Webhook WhatsApp)" de la pestaña Mensajería.
   Idea: sadm-040. ── */

.srp-container[b-iybgeh9shp] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Barra de conexión (patrón del Monitor / Mensajes Enviados / Listas / Campañas) ── */
.srp-conexion-bar[b-iybgeh9shp] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ── Aviso previo de VPN (patrón sv4-241) ── */
.srp-vpn[b-iybgeh9shp] {
    border-left: 4px solid #0d6efd !important;
    border-radius: 8px;
}

.srp-vpn-icono[b-iybgeh9shp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.srp-vpn-titulo[b-iybgeh9shp] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.srp-vpn-texto[b-iybgeh9shp] {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.5;
}

.srp-vpn-datos[b-iybgeh9shp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.srp-vpn-dato[b-iybgeh9shp] {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
}

/* ── Filtros: botón rápido 26px sin salto y caja de búsqueda unida ── */
.form-control[b-iybgeh9shp],
.form-select[b-iybgeh9shp] {
    box-sizing: border-box;
}

.btn-quick-filter[b-iybgeh9shp] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-iybgeh9shp],
.btn-quick-filter.btn-outline-primary:focus[b-iybgeh9shp],
.btn-quick-filter.btn-primary:active[b-iybgeh9shp],
.btn-quick-filter.btn-outline-primary:active[b-iybgeh9shp] {
    box-shadow: none !important;
    transform: none !important;
}

.search-input-wrapper input.form-control[b-iybgeh9shp] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.search-input-wrapper button.btn[b-iybgeh9shp] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

input[type="date"][b-iybgeh9shp]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-iybgeh9shp]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Tarjetas estadísticas ── */
.stat-card-filterable[b-iybgeh9shp] {
    cursor: pointer;
    user-select: none;
}

.stat-card-filterable:focus-visible[b-iybgeh9shp] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

.stat-card-filterable-active[b-iybgeh9shp] {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(13, 110, 253, 0.55) !important;
    transform: translateY(-2px);
}

.stat-card-badge-active[b-iybgeh9shp] {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ── Grid premium: filas delgadas con hover suave, patrón Mensajes ── */
.srp-table-card .table > :not(caption) > * > *[b-iybgeh9shp] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.srp-table-card .table-hover tbody tr:hover[b-iybgeh9shp] {
    background: #f8fafc !important;
}

/* ── Modal de detalle ── */
.srp-info-card[b-iybgeh9shp] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.srp-info-label[b-iybgeh9shp] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.srp-info-label i[b-iybgeh9shp] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.srp-info-value[b-iybgeh9shp] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.srp-info-sub[b-iybgeh9shp] {
    font-size: 0.8rem;
    color: #6c757d;
}

/* ── Highlight de búsqueda ── */
mark.search-highlight[b-iybgeh9shp] {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* ── Dropdown del combobox "Lista envío" con ancho legible ── */
#sede-respuestas-filtro-lista[b-iybgeh9shp]  .searchable-select-dropdown {
    min-width: 340px;
}
/* /Presentation/Components/Pages/Admin/TicketNuevoModal.razor.rz.scp.css */
.tick-modal-backdrop[b-m7cjmtya46] { color: #1e293b; color-scheme: light; }

/* ===== Modal compacto — patrón Institución / ADM-UX-08 =====
   Alinea el modal al estándar usado en Clientes Suros / Sede Detalle. */
.inf-modal-compact .modal-header[b-m7cjmtya46] { padding: 10px 16px; }
.inf-modal-compact .modal-header .modal-title[b-m7cjmtya46] { font-size: 0.85rem; font-weight: 600; }
.inf-modal-compact .modal-header .modal-title i[b-m7cjmtya46] { color: #1a73e8; }
.inf-modal-compact .modal-body[b-m7cjmtya46] { padding: 12px 16px; }
.inf-modal-compact .modal-footer[b-m7cjmtya46] { padding: 8px 16px; gap: 8px; }
.inf-modal-compact .modal-footer .btn[b-m7cjmtya46] {
    height: 30px;
    font-size: 0.8rem;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* El formulario envuelve body+footer; display:contents mantiene el layout flex del modal. */
.inf-modal-form[b-m7cjmtya46] { display: contents; }

/* ===== FORMULARIO — grid de 2 columnas ===== */
.tick-form-grid[b-m7cjmtya46] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.tick-field[b-m7cjmtya46] { display: flex; flex-direction: column; }
.tick-field-full[b-m7cjmtya46] { grid-column: 1 / -1; }

/* ===== Bloque del registro post-atención — Idea: sv4-242 =====
   Destaca los datos de la atención ya prestada para que no pasen desapercibidos. */
.tick-post-box[b-m7cjmtya46] {
    border: 1px solid #bfdbfe;
    border-left: 4px solid #1a73e8;
    background: #eff6ff;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.tick-post-title[b-m7cjmtya46] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tick-post-hint[b-m7cjmtya46] {
    font-size: 0.72rem;
    color: #475569;
    margin: 4px 0 10px;
}

/* El buscador de personas abre su propio modal de alta dentro del bloque post-atención.
   Debe quedar por encima del modal del ticket (z-index 99999) para poder usarse.
   Idea: sv4-242. */
.tick-post-box[b-m7cjmtya46]  .modal { z-index: 100000 !important; }
.tick-post-box[b-m7cjmtya46]  .modal-backdrop { z-index: 99999 !important; }

/* ===== Inputs y labels compactos — patrón Institución =====
   Unifica altura, tipografía, padding y radio de todos los campos
   del modal para que selects, inputs y textarea se vean idénticos. */
.inf-form-control-sm[b-m7cjmtya46] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

/* Selects: reservar el espacio de la flecha para que el texto no quede recortado. */
.form-select.inf-form-control-sm[b-m7cjmtya46] {
    padding: 2px 1.75rem 2px 8px;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* El textarea no usa la altura fija del control compacto. */
.tick-textarea.inf-form-control-sm[b-m7cjmtya46] {
    height: auto;
    min-height: 92px;
    resize: vertical;
}

.inf-form-label[b-m7cjmtya46] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-m7cjmtya46] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.tick-sync-note[b-m7cjmtya46] { font-size: 0.7rem; color: #64748b; }

@media (max-width: 576px) {
    .tick-form-grid[b-m7cjmtya46] { grid-template-columns: 1fr; }
}

/* ===== Dictado por voz (sin estilo de botón: solo ícono + texto) ===== */
.tick-mic-btn[b-m7cjmtya46] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a73e8;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    transition: color .15s ease;
}

.tick-mic-btn:hover[b-m7cjmtya46] { color: #0b5ed7; text-decoration: underline; }
.tick-mic-btn:focus-visible[b-m7cjmtya46] { outline: 2px solid #1a73e8; outline-offset: 2px; border-radius: 2px; }
.tick-mic-btn:disabled[b-m7cjmtya46] { opacity: .5; cursor: not-allowed; }
.tick-mic-btn i[b-m7cjmtya46] { font-size: 0.72rem; }

/* En grabación: solo cambia el color del texto/ícono (sin borde ni fondo). */
.tick-mic-btn.tick-mic-rec[b-m7cjmtya46] { color: #dc2626; }

.tick-mic-dot[b-m7cjmtya46] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    animation: tickMicBlink-b-m7cjmtya46 1s steps(2, start) infinite;
}

@keyframes tickMicBlink-b-m7cjmtya46 {
    0% { opacity: 1; }
    100% { opacity: .25; }
}

.tick-dictado-hint[b-m7cjmtya46] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.7rem;
    color: #b91c1c;
}

.inf-field-error[b-m7cjmtya46] {
    font-size: 0.68rem;
    color: #b91c1c;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}

.inf-field-error i[b-m7cjmtya46] { font-size: 0.62rem; flex-shrink: 0; }

/* ===== Evidencia (imagen / captura de pantalla) — Idea: sv4-234 ===== */
.tick-ev-btn[b-m7cjmtya46] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a73e8;
    background: #f0f7ff;
    border: 1px solid #cfe2ff;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    transition: background .15s ease, border-color .15s ease;
}

.tick-ev-btn:hover:not(:disabled)[b-m7cjmtya46] { background: #e0efff; border-color: #9ec5fe; }
.tick-ev-btn:disabled[b-m7cjmtya46] { opacity: .55; cursor: not-allowed; }
.tick-ev-btn i[b-m7cjmtya46] { font-size: 0.72rem; }

.tick-ev-hint[b-m7cjmtya46] {
    margin-top: 4px;
    font-size: 0.68rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tick-ev-hint i[b-m7cjmtya46] { color: #1a73e8; font-size: 0.64rem; }

.tick-ev-grid[b-m7cjmtya46] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.tick-ev-item[b-m7cjmtya46] {
    position: relative;
    width: 92px;
    height: 92px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
}

.tick-ev-item img[b-m7cjmtya46] { width: 100%; height: 100%; object-fit: cover; display: block; }

.tick-ev-del[b-m7cjmtya46] {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 0.6rem;
    cursor: pointer;
    line-height: 1;
}

.tick-ev-del:hover[b-m7cjmtya46] { background: #dc2626; }

/* Cámara en vivo — Idea: sv4-235 */
.tick-ev-btn-rec[b-m7cjmtya46] { color: #dc2626; background: #fff1f2; border-color: #fecdd3; }
.tick-ev-btn-rec:hover:not(:disabled)[b-m7cjmtya46] { background: #ffe4e6; border-color: #fda4af; }

.tick-ev-cam[b-m7cjmtya46] { margin-top: 8px; }

.tick-ev-cam video[b-m7cjmtya46] {
    width: 100%;
    max-width: 420px;
    max-height: 260px;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid #e2e8f0;
    display: block;
}
/* /Presentation/Components/Pages/Admin/TicketsSoportePanel.razor.rz.scp.css */
.editor-container[b-624dmq9wdk] {
    height: calc(100vh - 148px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 900px;
}

/* ===== HEADER (breadcrumb + estado) ===== */
.editor-header[b-624dmq9wdk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-624dmq9wdk] { font-size: 13px; }

.editor-header-right[b-624dmq9wdk] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Los badges del header usan la regla estándar del componente Badge
   (css/suros-theme.css + SUROS.Framework/CONTRACTS/BADGE.md): sin tamaño local. */

/* ===== TITLE BAR ===== */
.editor-title-bar[b-624dmq9wdk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-624dmq9wdk] { color: #1a1d23 !important; }

.editor-title-bar .btn[b-624dmq9wdk] {
    height: 26px;
    font-size: 0.75rem;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== Botones — radio unico =====
   El radio de todos los botones lo aporta la regla estándar del componente Botón
   (css/suros-theme.css + SUROS.Framework/CONTRACTS/BUTTON.md): 3px para todas las
   variantes. Bootstrap deja los outline y secondary en 6px y eso hacía que
   "Post-atención" se viera distinto a "Filtrar". El botón NO declara radio local. */

/* ===== Columna "Acciones" del listado =====
   La tabla comprimía la columna y el botón "Detalle" se partía en dos líneas.
   Con el ancho al mínimo y el contenido sin salto, el botón siempre cabe. */
.tick-acciones[b-624dmq9wdk] {
    white-space: nowrap;
    width: 1%;
}

.tick-acciones .btn[b-624dmq9wdk] {
    white-space: nowrap;
}

/* ===== BARRA DE FILTROS ===== */
.editor-filters-bar[b-624dmq9wdk] {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

/* ===== CONTENIDO ===== */
.editor-content[b-624dmq9wdk] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/* ===== Inputs y labels compactos (patrón Institución) ===== */
.inf-form-control-sm[b-624dmq9wdk] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.inf-form-label[b-624dmq9wdk] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-624dmq9wdk] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.form-select.inf-form-control-sm[b-624dmq9wdk] {
    padding: 2px 1.75rem 2px 8px;
    background-position: right 0.5rem center;
    background-size: 12px 8px;
}

/* ===== KPIs — cards estadísticas (patrón admin) ===== */
.tick-kpis[b-624dmq9wdk] {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
}

/* Etiqueta y valor de cada card estadística. Se usan clases propias (no utilidades
   .fw-bold) para que el color por estado definido en línea no sea sobrescrito por
   la regla de contraste del panel. */
.tick-kpi-lbl[b-624dmq9wdk] { font-size: 0.62rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.tick-kpi-val[b-624dmq9wdk] { font-size: 1.25rem; font-weight: 700; line-height: 1.05; }
.tick-kpi-ico[b-624dmq9wdk] { font-size: 1.1rem; opacity: .25; }

/* Cards estadísticas clicables: filtran el listado de tickets — Idea: sv4-238 */
.tick-kpi-card[b-624dmq9wdk] {
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

.tick-kpi-card:hover[b-624dmq9wdk] { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15, 23, 42, .14); }
.tick-kpi-card:focus-visible[b-624dmq9wdk] { outline: 2px solid #1a73e8; outline-offset: 2px; }

/* Resaltado de la card cuyo filtro está vigente en el listado. */
.tick-kpi-card.tick-kpi-card-active[b-624dmq9wdk] {
    box-shadow: 0 0 0 2px #1a73e8, 0 3px 10px rgba(26, 115, 232, .28);
}

/* ===== SKELETON ===== */
.tick-skeleton[b-624dmq9wdk] { display: flex; flex-direction: column; gap: 10px; }

.tick-skeleton-line[b-624dmq9wdk] {
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: tickShimmer-b-624dmq9wdk 1.3s ease infinite;
}

@keyframes tickShimmer-b-624dmq9wdk {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

/* ===== DETALLE ===== */
.tick-detail[b-624dmq9wdk] { flex-shrink: 0; }

.tick-section-title[b-624dmq9wdk] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.tick-section-title i[b-624dmq9wdk] { color: #1a73e8; margin-right: 4px; font-size: 0.72rem; }

.tick-desc-box[b-624dmq9wdk] {
    background: #f8fafc;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    padding: 10px 12px;
}

/* ===== HILO DE CONVERSACIÓN ===== */
.tick-thread[b-624dmq9wdk] { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow: auto; }

.tick-msg[b-624dmq9wdk] {
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid #e2e4e9;
    background: #fff;
}

.tick-msg-user[b-624dmq9wdk] { border-left: 3px solid #1a73e8; background: #f8fbff; }
.tick-msg-dev[b-624dmq9wdk] { border-left: 3px solid #7c3aed; background: #faf7ff; }

.tick-msg-head[b-624dmq9wdk] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 0.74rem;
}

/* ===== CAJA DE RESPUESTA ===== */
.tick-reply-box[b-624dmq9wdk] {
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f8f9fa;
}

/* ===== TICKET CERRADO — REAPERTURA (Idea: sv4-250) =====
   Un ticket en estado terminal no admite respuestas ni evidencias: la única forma de
   continuar el seguimiento es reabrirlo, para no crear otro ticket por lo mismo. */
.tick-reopen-hint[b-624dmq9wdk] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid #fde68a;
    border-left: 4px solid #d97706;
    background: #fffbeb;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.74rem;
    color: #78350f;
}

.tick-reopen-hint i[b-624dmq9wdk] { margin-top: 2px; }

.tick-reply-locked[b-624dmq9wdk] {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    font-size: 0.75rem;
    color: #64748b;
}

/* ===== LÍNEA DE TIEMPO ===== */
.tick-timeline[b-624dmq9wdk] { list-style: none; margin: 0; padding: 0; position: relative; }

.tick-timeline li[b-624dmq9wdk] {
    position: relative;
    padding: 0 0 12px 18px;
    border-left: 2px solid #e2e4e9;
    margin-left: 4px;
}

.tick-timeline li:last-child[b-624dmq9wdk] { border-left-color: transparent; padding-bottom: 0; }

.tick-timeline-dot[b-624dmq9wdk] {
    position: absolute;
    left: -6px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a73e8;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #cbd5e1;
}

/* ===== CONTRASTE ===== */
#tickets-panel[b-624dmq9wdk] { color: #1e293b; color-scheme: light; }

#tickets-panel .editor-header[b-624dmq9wdk],
#tickets-panel .editor-filters-bar[b-624dmq9wdk],
#tickets-panel .editor-title-bar h4[b-624dmq9wdk],
#tickets-panel .editor-title-bar small[b-624dmq9wdk],
#tickets-panel .fw-semibold[b-624dmq9wdk],
#tickets-panel .fw-bold[b-624dmq9wdk],
#tickets-panel table[b-624dmq9wdk],
#tickets-panel table th[b-624dmq9wdk],
#tickets-panel table td[b-624dmq9wdk] { color: #0f172a !important; }

#tickets-panel .text-muted[b-624dmq9wdk] { color: #64748b !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .editor-title-bar[b-624dmq9wdk] { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ===== Dictado por voz en la respuesta (sin estilo de botón: solo ícono + texto) ===== */
.tick-mic-btn[b-624dmq9wdk] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a73e8;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    transition: color .15s ease;
}

.tick-mic-btn:hover[b-624dmq9wdk] { color: #0b5ed7; text-decoration: underline; }
.tick-mic-btn:focus-visible[b-624dmq9wdk] { outline: 2px solid #1a73e8; outline-offset: 2px; border-radius: 2px; }
.tick-mic-btn:disabled[b-624dmq9wdk] { opacity: .5; cursor: not-allowed; }
.tick-mic-btn i[b-624dmq9wdk] { font-size: 0.72rem; }

/* En grabación: solo cambia el color del texto/ícono (sin borde ni fondo). */
.tick-mic-btn.tick-mic-rec[b-624dmq9wdk] { color: #dc2626; }

.tick-mic-dot[b-624dmq9wdk] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    animation: tickMicBlink-b-624dmq9wdk 1s steps(2, start) infinite;
}

@keyframes tickMicBlink-b-624dmq9wdk {
    0% { opacity: 1; }
    100% { opacity: .25; }
}

.tick-dictado-hint[b-624dmq9wdk] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #b91c1c;
}

.inf-field-error[b-624dmq9wdk] {
    font-size: 0.68rem;
    color: #b91c1c;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}

.inf-field-error i[b-624dmq9wdk] { font-size: 0.62rem; flex-shrink: 0; }

/* ===== Evidencias del ticket (imágenes/capturas) — Idea: sv4-234 ===== */
.tick-ev-list[b-624dmq9wdk] { display: flex; flex-wrap: wrap; gap: 8px; }

.tick-ev-card[b-624dmq9wdk] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 108px;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.tick-ev-card:hover[b-624dmq9wdk] { border-color: #1a73e8; box-shadow: 0 2px 8px rgba(26, 115, 232, .18); }

.tick-ev-card img[b-624dmq9wdk] { width: 100%; height: 78px; object-fit: cover; display: block; background: #fff; }

.tick-ev-card-name[b-624dmq9wdk] {
    padding: 3px 6px;
    font-size: 0.6rem;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Acciones de evidencia en el detalle — Idea: sv4-234 / sv4-235 */
.tick-ev-btn[b-624dmq9wdk] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a73e8;
    background: #f0f7ff;
    border: 1px solid #cfe2ff;
    border-radius: var(--suros-btn-border-radius);
    cursor: pointer;
    line-height: 1;
    transition: background .15s ease, border-color .15s ease;
}

.tick-ev-btn:hover:not(:disabled)[b-624dmq9wdk] { background: #e0efff; border-color: #9ec5fe; }
.tick-ev-btn:disabled[b-624dmq9wdk] { opacity: .55; cursor: not-allowed; }
.tick-ev-btn i[b-624dmq9wdk] { font-size: 0.72rem; }

.tick-ev-btn-rec[b-624dmq9wdk] { color: #dc2626; background: #fff1f2; border-color: #fecdd3; }
.tick-ev-btn-rec:hover:not(:disabled)[b-624dmq9wdk] { background: #ffe4e6; border-color: #fda4af; }

.tick-ev-hint[b-624dmq9wdk] { display: flex; align-items: center; gap: 5px; font-size: 0.68rem; color: #64748b; }
.tick-ev-hint i[b-624dmq9wdk] { color: #1a73e8; font-size: 0.64rem; }

.tick-ev-cam[b-624dmq9wdk] { margin-bottom: 8px; }

.tick-ev-cam video[b-624dmq9wdk] {
    width: 100%;
    max-width: 420px;
    max-height: 260px;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid #e2e4e9;
    display: block;
}

.tick-ev-card-wrap[b-624dmq9wdk] { position: relative; }

/* Acciones de la evidencia (descargar / eliminar) en el vértice superior derecho — Idea: sv4-238 */
.tick-ev-actions[b-624dmq9wdk] {
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.tick-ev-action[b-624dmq9wdk] {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, .82);
    color: #fff;
    font-size: 0.6rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

.tick-ev-action:disabled[b-624dmq9wdk] { opacity: .5; cursor: not-allowed; }
.tick-ev-action:focus-visible[b-624dmq9wdk] { outline: 2px solid #1a73e8; outline-offset: 2px; }
.tick-ev-action-dl:hover[b-624dmq9wdk] { background: #1a73e8; color: #fff; }
.tick-ev-action-del:hover[b-624dmq9wdk] { background: #dc2626; }

/* La tarjeta de imagen es un botón que abre la previsualización — Idea: sv4-238 */
button.tick-ev-card[b-624dmq9wdk] {
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

button.tick-ev-card:focus-visible[b-624dmq9wdk] { outline: 2px solid #1a73e8; outline-offset: 2px; }

/* Modal de previsualización de la evidencia — Idea: sv4-238 */
.tick-ev-preview-img[b-624dmq9wdk] {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 8px;
    background: #0b1220;
}

/* Navegación entre evidencias dentro de la modal — Idea: sv4-238 */
.tick-ev-preview-stage[b-624dmq9wdk] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.tick-ev-nav[b-624dmq9wdk] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.tick-ev-nav:hover[b-624dmq9wdk] { background: rgba(255, 255, 255, .3); }
.tick-ev-nav:focus-visible[b-624dmq9wdk] { outline: 2px solid #1a73e8; outline-offset: 2px; }
.tick-ev-nav-prev[b-624dmq9wdk] { left: 8px; }
.tick-ev-nav-next[b-624dmq9wdk] { right: 8px; }

.tick-ev-preview-hint[b-624dmq9wdk] { margin-top: 8px; color: rgba(255, 255, 255, .6); font-size: 0.7rem; }
.tick-ev-preview-hint i[b-624dmq9wdk] { font-size: 0.66rem; }

.tick-ev-prev-action[b-624dmq9wdk],
.tick-ev-prev-close[b-624dmq9wdk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

.tick-ev-prev-action:hover[b-624dmq9wdk],
.tick-ev-prev-close:hover[b-624dmq9wdk] { background: rgba(255, 255, 255, .26); color: #fff; }

.tick-ev-prev-action:focus-visible[b-624dmq9wdk],
.tick-ev-prev-close:focus-visible[b-624dmq9wdk] { outline: 2px solid #1a73e8; outline-offset: 2px; }

/* ===== Tiempos del ticket — Idea: sv4-236 ===== */
.tick-tiempos[b-624dmq9wdk] {
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f8fafc;
}

.tick-tiempo-kpi[b-624dmq9wdk] {
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    background: #fff;
    padding: 6px 8px;
    height: 100%;
}

.tick-tiempo-kpi-lbl[b-624dmq9wdk] {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #64748b;
    font-weight: 600;
}

.tick-tiempo-kpi-val[b-624dmq9wdk] { font-size: 0.86rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.tick-tiempo-kpi-sub[b-624dmq9wdk] { font-size: 0.6rem; color: #94a3b8; }

.tick-estados-tiempo[b-624dmq9wdk] { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.tick-estado-row[b-624dmq9wdk] { font-size: 0.7rem; }

.tick-estado-dot[b-624dmq9wdk] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tick-estado-bar[b-624dmq9wdk] {
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 3px 0 2px;
}

.tick-estado-bar-fill[b-624dmq9wdk] { height: 100%; border-radius: 3px; transition: width .3s ease; }

/* ===== SLA del estado actual — Idea: sv4-237 ===== */
.tick-sla-box[b-624dmq9wdk] {
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    background: #f0fdf4;
    padding: 6px 8px;
}

.tick-sla-box.tick-sla-excedido[b-624dmq9wdk] {
    border-color: #fecaca;
    background: #fef2f2;
}

.tick-sla-box i[b-624dmq9wdk] { color: #16a34a; }
.tick-sla-box.tick-sla-excedido i[b-624dmq9wdk] { color: #b91c1c; }
/* /Presentation/Components/Pages/Agenda/Wizard/AppointmentSuccess.razor.rz.scp.css */
/* Estilos aislados para el componente AppointmentSuccess */

.success-container[b-yqptkyetu2] {
  margin: 0 auto;
}

.success-container-div[b-yqptkyetu2] {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ============================================
   Hero card de exito (estilo cards Home)
   ============================================ */
.success-hero[b-yqptkyetu2] {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  color: #fff;
  min-height: 80px;
}

.hero-content[b-yqptkyetu2] {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/* Burbujas decorativas (estilo cards del Home) */
.hero-bubble[b-yqptkyetu2] {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.hero-bubble-1[b-yqptkyetu2] {
  top: -30px;
  right: -20px;
  width: 110px;
  height: 110px;
}

.hero-bubble-2[b-yqptkyetu2] {
  bottom: -40px;
  left: -25px;
  width: 130px;
  height: 130px;
}

.hero-bubble-3[b-yqptkyetu2] {
  top: 20px;
  right: 60px;
  width: 50px;
  height: 50px;
}

.success-hero-icon[b-yqptkyetu2] {
  flex-shrink: 0;
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0.9;
}

.success-hero-body[b-yqptkyetu2] {
  flex: 1;
  min-width: 0;
}

.success-hero-title[b-yqptkyetu2] {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}

.success-hero-id[b-yqptkyetu2] {
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #fff;
}

.success-hero-wa[b-yqptkyetu2] {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.success-hero-wa i[b-yqptkyetu2] {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 576px) {
  .success-hero[b-yqptkyetu2] {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    min-height: 70px;
  }

  .hero-content[b-yqptkyetu2] {
    gap: 0.75rem;
  }

  .hero-bubble-1[b-yqptkyetu2] {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -15px;
  }

  .hero-bubble-2[b-yqptkyetu2] {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -20px;
  }

  .hero-bubble-3[b-yqptkyetu2] {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 40px;
  }

  .success-hero-icon[b-yqptkyetu2] {
    font-size: 1.8rem;
  }

  .success-hero-title[b-yqptkyetu2] {
    font-size: 1rem;
  }

  .success-hero-id[b-yqptkyetu2] {
    font-size: 0.8rem;
  }
}
/* /Presentation/Components/Pages/Agenda/Wizard/CancelAppointmentComponent.razor.rz.scp.css */
/* Card principal */
.cancel-success-card[b-1cf1mgy8wo] {
    background: #fff;
    border: 1px solid #e9eef3;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Encabezado de la card */
.cancel-success-header[b-1cf1mgy8wo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem 0.625rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #15803d;
    background: #f0fdf4;
    border-bottom: 1px solid #e9eef3;
    letter-spacing: 0.01em;
}

.cancel-success-header-icon[b-1cf1mgy8wo] {
    font-size: 1.05rem;
    color: #16a34a;
    flex-shrink: 0;
}

/* Cuerpo de la card */
.cancel-success-body[b-1cf1mgy8wo] {
    padding: 0.25rem 1rem 0.5rem;
}

/* Filas de datos (label + value en una sola columna) */
.cancel-success-row[b-1cf1mgy8wo] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.cancel-success-row:last-child[b-1cf1mgy8wo] {
    border-bottom: none;
}

.cancel-success-label[b-1cf1mgy8wo] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
    min-width: 7.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cancel-success-value[b-1cf1mgy8wo] {
    font-size: 0.85rem;
    color: #1f2937;
    text-align: right;
    word-break: break-word;
}

/* Nota al pie de la card */
.cancel-success-note[b-1cf1mgy8wo] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.625rem 1rem 0.875rem;
    font-size: 0.78rem;
    color: #6b7280;
    background: #f9fafb;
    border-top: 1px solid #e9eef3;
    line-height: 1.4;
}
/* /Presentation/Components/Pages/Agenda/Wizard/NewDoctorComponent.razor.rz.scp.css */
.disabled-input-container[b-dkackjmcfm] {
    pointer-events: none;
    opacity: 0.4;
}
.overlay-spinner[b-dkackjmcfm] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 8px;
}
/* Asegurar que el contenedor padre tenga posición relativa para que el overlay funcione */
#ordenMedicaPanelDoctor .medical-order-label + label.file-upload-button + div[b-dkackjmcfm] {
    position: relative;
}

/* Estilos para la cámara en vivo */
.camera-overlay[b-dkackjmcfm] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999; /* Por encima de todo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#cameraFeed[b-dkackjmcfm] {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajustar para ver todo el cuadro */
    background: #000;
}
.camera-controls[b-dkackjmcfm] {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
}
.btn-capture[b-dkackjmcfm] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
}
.btn-capture:active[b-dkackjmcfm] {
    transform: scale(0.95);
    background-color: #eee;
}
.btn-capture i[b-dkackjmcfm] {
    font-size: 24px;
    color: #333;
}

/* Estilos para Dropdown de Doctores con Badges */
.doctor-dropdown-container[b-dkackjmcfm] {
    position: relative;
    width: 100%;
}
.doctor-dropdown-trigger[b-dkackjmcfm] {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: 38px;
}
.doctor-dropdown-menu[b-dkackjmcfm] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    z-index: 1050;
    margin-top: 2px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.doctor-dropdown-item[b-dkackjmcfm] {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}
.doctor-dropdown-item:hover[b-dkackjmcfm] {
    background-color: #f8f9fa;
}
.doctor-dropdown-item.selected[b-dkackjmcfm] {
    background-color: #e9ecef;
    font-weight: 600;
    color: #0d6efd;
}
.day-badge[b-dkackjmcfm] {
    font-size: 0.8rem;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5 !important;
    color: #064e3b;
    font-weight: bold;
}
.dropdown-backdrop[b-dkackjmcfm] {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    z-index: 1040;
    cursor: default;
}

/* Card compacta del horario de atención del servicio (idea sv4-281).
   Azul turquesa suave: se usan los tokens del rol informativo de Bootstrap 5.3
   (--bs-info-bg-subtle y --bs-info-text-emphasis), equivalentes a
   --suros-color-info-light (#cff4fc) y al texto oscuro de informacion de
   SUROS.Framework/UI/COLORS.md, porque el tema SUROS aun no expone esos tokens de color. */
.horario-servicio-card[b-dkackjmcfm] {
    margin-top: 14px;
    padding: 4px 10px;
    background-color: var(--bs-info-bg-subtle, #cff4fc);
    border-left: 3px solid var(--bs-info, #0dcaf0);
    border-radius: var(--suros-radius-md, 6px);
    color: var(--bs-info-text-emphasis, #055160);
    font-size: 0.75rem;
    line-height: 1.25;
}
.horario-servicio-card .horario-servicio-titulo[b-dkackjmcfm] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}
.horario-servicio-card .horario-servicio-linea[b-dkackjmcfm] {
    display: block;
}
.horario-servicio-card .horario-servicio-linea b[b-dkackjmcfm] {
    font-weight: 600;
}
/* /Presentation/Components/Pages/Agenda/Wizard/NewTimeComponent.razor.rz.scp.css */
/* Pantalla de carga inicial */
.loading-container[b-fs43z4p8f8] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2rem;
  text-align: center;
}

.loading-spinner[b-fs43z4p8f8] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.loading-text[b-fs43z4p8f8] {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

/* Puntos animados */
.loading-dots[b-fs43z4p8f8] {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.loading-dot[b-fs43z4p8f8] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3b82f6;
  animation: loading-bounce-b-fs43z4p8f8 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1)[b-fs43z4p8f8] {
  animation-delay: -0.32s;
}

.loading-dot:nth-child(2)[b-fs43z4p8f8] {
  animation-delay: -0.16s;
}

.loading-dot:nth-child(3)[b-fs43z4p8f8] {
  animation-delay: 0s;
}

@keyframes loading-bounce-b-fs43z4p8f8 {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 576px) {
  .loading-container[b-fs43z4p8f8] {
    min-height: 250px;
    padding: 1.5rem;
  }

  .loading-text[b-fs43z4p8f8] {
    font-size: 0.9rem;
  }
}
/* /Presentation/Components/Pages/Agenda/Wizard/SummaryComponent.razor.rz.scp.css */
/* Contenedor principal */
.summary-appointment-sidebar[b-j77ffo9254] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

/* La primera card tiene margen superior adicional */
.summary-appointment-sidebar > .summary-card:first-of-type[b-j77ffo9254] {
    margin-top: 20px;
}

/* ============================================
   Cards del sistema
   ============================================ */
.summary-card[b-j77ffo9254] {
    background: #fff;
    border: 1px solid #e9eef3;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.summary-card-header[b-j77ffo9254] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.01em;
}

.summary-card-icon[b-j77ffo9254] {
    font-size: 0.95rem;
    color: #0d6efd;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.summary-card-body[b-j77ffo9254] {
    padding: 0.25rem 1rem 0.875rem;
}

/* ============================================
   Cards de alerta (WhatsApp, recepción)
   ============================================ */
.summary-card-alert[b-j77ffo9254] {
    background: #f0f7ff;
    border-color: #b8d4fe;
}

.summary-card-success[b-j77ffo9254] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.summary-card-warning[b-j77ffo9254] {
    background: #fffbf0;
    border-color: #fde68a;
}

.summary-card-info[b-j77ffo9254] {
    background: #f0f7ff;
    border-color: #b8d4fe;
}

.summary-alert-text[b-j77ffo9254] {
    margin: 0;
    font-size: 0.85rem;
    color: #374151;
    display: flex;
    align-items: center;
}

/* ============================================
   Filas de datos (label + value)
   ============================================ */
.summary-row[b-j77ffo9254] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 0.75rem;
}

.summary-row:last-child[b-j77ffo9254] {
    border-bottom: none;
}

.summary-row-label[b-j77ffo9254] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
    min-width: 6.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.summary-row-value[b-j77ffo9254] {
    font-size: 0.85rem;
    color: #1f2937;
    text-align: right;
    word-break: break-word;
}

/* Capitalize para valores en la card de resumen de cita */
.summary-row-value-cap[b-j77ffo9254] {
    text-transform: capitalize;
}

/* ============================================
   Procedimientos
   ============================================ */
.summary-procedures-list[b-j77ffo9254] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.summary-proc-row[b-j77ffo9254] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.8rem;
}

.summary-proc-code[b-j77ffo9254] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d6efd;
    background: #eef2ff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.summary-proc-desc[b-j77ffo9254] {
    flex: 1;
    color: #374151;
}

.summary-proc-qty[b-j77ffo9254] {
    font-weight: 700;
    color: #6b7280;
    font-size: 0.75rem;
    background: #e5e7eb;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.summary-proc-recomendacion[b-j77ffo9254] {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.1rem 0 0.4rem 0;
    padding: 0.45rem 0.55rem;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #92400e;
}

/* ============================================
   Adjuntos (Documentos)
   ============================================ */
.summary-attach-row[b-j77ffo9254] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
}

.summary-attach-row:last-child[b-j77ffo9254] {
    margin-bottom: 0;
}

.summary-attach-thumb[b-j77ffo9254] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.summary-attach-thumb-img[b-j77ffo9254] {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.summary-attach-name[b-j77ffo9254] {
    flex: 1;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-attach-size[b-j77ffo9254] {
    font-size: 0.7rem;
    color: #9ca3af;
    flex-shrink: 0;
}

/* Thumb colors (heredados) */
.summary-attach-thumb-default[b-j77ffo9254] {
    background-color: #6c757d;
}
.summary-attach-thumb-image[b-j77ffo9254] {
    background-color: #198754;
}
.summary-attach-thumb-pdf[b-j77ffo9254] {
    background-color: #dc3545;
}
.summary-attach-thumb-word[b-j77ffo9254] {
    background-color: #0d6efd;
}
.summary-attach-thumb-excel[b-j77ffo9254] {
    background-color: #20c997;
}

/* ============================================
   Botón finalizar
   ============================================ */
.summary-clear-button-container[b-j77ffo9254] {
    margin-top: 0.25rem;
}

.summary-finish-btn[b-j77ffo9254] {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 576px) {
    .summary-card-header[b-j77ffo9254] {
        padding: 0.75rem 0.875rem 0.4rem;
        font-size: 0.8rem;
    }

    .summary-card-body[b-j77ffo9254] {
        padding: 0.2rem 0.875rem 0.75rem;
    }

    .summary-row[b-j77ffo9254] {
        padding: 0.35rem 0;
    }

    .summary-row-label[b-j77ffo9254] {
        font-size: 0.7rem;
        min-width: 5rem;
    }

    .summary-row-value[b-j77ffo9254] {
        font-size: 0.8rem;
    }

    .summary-finish-btn[b-j77ffo9254] {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }
}

@media (min-width: 768px) {
    .summary-appointment-sidebar[b-j77ffo9254] {
        gap: 1rem;
    }
}
/* /Presentation/Components/Pages/Analytics/AppointmentsStats.razor.rz.scp.css */
/* ── Contenedor principal ── */
.editor-container[b-vxux4sj3uo] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* ── Header con breadcrumb ── */
.editor-header[b-vxux4sj3uo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-vxux4sj3uo] {
    font-size: 13px;
}

.editor-header-right[b-vxux4sj3uo] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Title bar ── */
.editor-title-bar[b-vxux4sj3uo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-vxux4sj3uo],
.editor-title-bar .fw-semibold[b-vxux4sj3uo],
.editor-title-bar small[b-vxux4sj3uo] {
    color: #1a1d23 !important;
}

/* ── Contenido (fondo gris, scroll) ── */
.editor-tab-content[b-vxux4sj3uo] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Contenedor exportable a imagen (sv4-216) ──
   Envuelve title bar + contenido. Debe comportarse como un flex item transparente del
   editor-container: si no recibe flex/min-height, crece con su contenido y el
   editor-tab-content pierde la restriccion de altura, por lo que su overflow-y deja de
   activarse y el editor-container (overflow: hidden) recorta el scroll vertical. */
.monitor-agendamiento-panel[b-vxux4sj3uo] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* ── Estilos específicos del monitor ── */

.stats-card-body[b-vxux4sj3uo] {
    height: 420px;
}

@media (min-width: 992px) {
    .stats-card-body[b-vxux4sj3uo] {
        height: 70vh;
    }
}

#statsChart[b-vxux4sj3uo] {
    width: 100%;
    height: 100%;
}

.spin-animation[b-vxux4sj3uo] {
    animation: spin-b-vxux4sj3uo 1s linear infinite;
}

@keyframes spin-b-vxux4sj3uo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gradient-primary[b-vxux4sj3uo] {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* ── Card "Total Citas": burbujas decorativas (estilo cards del Home) ── */
.total-citas-card[b-vxux4sj3uo] {
    position: relative;
    overflow: hidden;
}

.total-citas-card .card-body[b-vxux4sj3uo] {
    position: relative;
    z-index: 1;
}

.total-citas-bubble[b-vxux4sj3uo] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.total-citas-bubble-1[b-vxux4sj3uo] {
    top: -30px;
    right: -20px;
    width: 110px;
    height: 110px;
}

.total-citas-bubble-2[b-vxux4sj3uo] {
    bottom: -40px;
    left: -25px;
    width: 130px;
    height: 130px;
}

.total-citas-bubble-3[b-vxux4sj3uo] {
    top: 20px;
    right: 70px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* ── Centrado óptico de iconos en botones circulares de la toolbar ── */
.toolbar-circle-btn .bi[b-vxux4sj3uo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding-left: 5px;
    transform: translateX(3px);
}

/* ── Centrado óptico de iconos en los círculos de la card "Citas Asignadas" ── */
.assigned-icon-circle[b-vxux4sj3uo] {
    line-height: 1;
}

.assigned-icon-circle .bi[b-vxux4sj3uo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding-left: 5px;
    transform: translateX(3px);
}

/* Custom Scrollbar for inner lists */
[b-vxux4sj3uo]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-vxux4sj3uo]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

[b-vxux4sj3uo]::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

[b-vxux4sj3uo]::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* ── Tamaño de texto estándar tablas (0.8rem) ── */
.editor-tab-content .table[b-vxux4sj3uo] {
    font-size: 0.8rem;
}

/* ── Pestañas de base temporal en card Tendencia de Citas (sv4-189) ── */
/* Patrón visual de las pestañas de Demanda Inducida (editor-tabs): fondo gris
   38px, subrayado azul en la activa y separadores verticales entre pestañas. */
.trend-basis-tabs.nav-tabs[b-vxux4sj3uo] {
    border-bottom: none !important;
    display: flex !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    background: #e8eaed !important;
    list-style: none !important;
    gap: 0 !important;
    position: relative !important;
    height: 38px !important;
    min-height: 38px !important;
    flex-shrink: 0 !important;
}

.trend-basis-tabs .nav-item[b-vxux4sj3uo] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
}

.trend-basis-tabs .nav-link[b-vxux4sj3uo] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    font-size: 0.74rem !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    position: relative !important;
    height: 38px !important;
    min-height: 38px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.trend-basis-tabs .nav-link:hover[b-vxux4sj3uo] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.trend-basis-tabs .nav-link.active[b-vxux4sj3uo] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 38px !important;
    padding: 0 12px !important;
    margin: 0 !important;
}

.trend-basis-tabs .nav-link.active[b-vxux4sj3uo]::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 8px !important;
    right: 8px !important;
    height: 3px !important;
    background: #1a73e8 !important;
    border-radius: 3px 3px 0 0 !important;
}

.trend-basis-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-vxux4sj3uo]::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 1px !important;
    background: #dadce0 !important;
}

.trend-basis-tabs .nav-link i[b-vxux4sj3uo] {
    font-size: 12px !important;
    width: 14px !important;
    text-align: center !important;
    color: inherit !important;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .editor-tab-content[b-vxux4sj3uo] {
        padding: 12px 16px 16px;
    }

    .trend-basis-tabs .nav-link[b-vxux4sj3uo] {
        padding: 0 10px !important;
        font-size: 0.70rem !important;
    }
}

/* ── Botones de la toolbar principal (sv4-216 / sv4-217) ──
   Patrón único compartido por "Descargar Excel", "Descargar Screenshot", "Actualizar" y "Ayuda":
   botón de bordes suaves (border-radius 3px) con etiqueta y recuadro de icono con gradiente
   (border-radius 3px). Cada botón define su color mediante las variables --stb-*, por lo que
   solo hay que cambiar el modificador. */
.stats-toolbar-btn[b-vxux4sj3uo] {
    --stb-color: #0d6efd;
    --stb-color-dark: #0b5ed7;
    --stb-color-soft: #e7f0ff;
    --stb-icon-from: #0d6efd;
    --stb-icon-to: #4dabf7;
    --stb-shadow: 13, 110, 253;
    height: 26px;
    padding: 0 10px 0 3px;
    gap: 6px;
    border: 1px solid #cfd8e3;
    border-radius: 3px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5fb 100%);
    color: #1e3a5f;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.stats-toolbar-btn:hover:not(:disabled)[b-vxux4sj3uo],
.stats-toolbar-btn:focus-visible:not(:disabled)[b-vxux4sj3uo] {
    border-color: var(--stb-color);
    background: linear-gradient(180deg, #ffffff 0%, var(--stb-color-soft) 100%);
    color: var(--stb-color-dark);
    box-shadow: 0 2px 10px rgba(var(--stb-shadow), .22);
    transform: translateY(-1px);
}

.stats-toolbar-btn:active:not(:disabled)[b-vxux4sj3uo] {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(var(--stb-shadow), .18);
}

.stats-toolbar-btn:disabled[b-vxux4sj3uo] {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.stats-toolbar-btn .stats-toolbar-icon[b-vxux4sj3uo] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 3px;
    overflow: hidden;
    line-height: 0;
    background: linear-gradient(135deg, var(--stb-icon-from) 0%, var(--stb-icon-to) 100%);
    color: #ffffff;
    font-size: 0.68rem;
    box-shadow: 0 1px 3px rgba(var(--stb-shadow), .35);
    transition: filter .18s ease, box-shadow .18s ease;
}

/* Bootstrap Icons aplica vertical-align: -.125em en el ::before y Font Awesome alinea por
   baseline. Se normaliza a bloque con line-height 1 para que el flex centre el glifo en el
   circulo, sin importar la libreria de iconos usada. */
.stats-toolbar-btn .stats-toolbar-icon i[b-vxux4sj3uo] {
    display: block;
    line-height: 1;
    vertical-align: middle;
    border-radius: 3px;
}

.stats-toolbar-btn .stats-toolbar-icon i[b-vxux4sj3uo]::before {
    display: block;
    line-height: 1;
    vertical-align: middle;
    border-radius: 3px;
}

.stats-toolbar-btn .stats-toolbar-icon .spinner-border[b-vxux4sj3uo] {
    display: block;
    margin: 0;
    flex: 0 0 auto;
}

.stats-toolbar-btn:hover:not(:disabled) .stats-toolbar-icon[b-vxux4sj3uo] {
    filter: brightness(1.1);
    box-shadow: 0 2px 6px rgba(var(--stb-shadow), .45);
}

.stats-toolbar-btn:disabled .stats-toolbar-icon[b-vxux4sj3uo] {
    background: linear-gradient(135deg, #adb5bd 0%, #ced4da 100%);
    box-shadow: none;
}

/* ── Variante Excel: Descargar Excel (sv4-217) ── */
.stats-toolbar-btn--excel[b-vxux4sj3uo] {
    --stb-color: #107c41;
    --stb-color-dark: #0b5c30;
    --stb-color-soft: #e8f6ee;
    --stb-icon-from: #107c41;
    --stb-icon-to: #21a366;
    --stb-shadow: 16, 124, 65;
}

/* ── Variante Actualizar: acción principal de recarga (sv4-215) ── */
.stats-toolbar-btn--actualizar[b-vxux4sj3uo] {
    --stb-color: #4f46e5;
    --stb-color-dark: #4338ca;
    --stb-color-soft: #ecebff;
    --stb-icon-from: #4f46e5;
    --stb-icon-to: #818cf8;
    --stb-shadow: 79, 70, 229;
}

/* ── Variante Ayuda: recorrido guiado (sv4-215) ── */
.stats-toolbar-btn--ayuda[b-vxux4sj3uo] {
    --stb-color: #0891b2;
    --stb-color-dark: #0e7490;
    --stb-color-soft: #e0f7fb;
    --stb-icon-from: #0891b2;
    --stb-icon-to: #22d3ee;
    --stb-shadow: 8, 145, 178;
}

@media (max-width: 575.98px) {
    /* En móviles muy angostos se oculta la etiqueta y queda solo el icono accesible por title */
    .stats-toolbar-btn .stats-toolbar-label[b-vxux4sj3uo] {
        display: none;
    }

    .stats-toolbar-btn[b-vxux4sj3uo] {
        padding: 0 3px;
    }
}
/* /Presentation/Components/Pages/Analytics/BlockedIpsDashboard.razor.rz.scp.css */
/* ── Contenedor principal ── */
.editor-container[b-3gryv3xah9] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* ── Header con breadcrumb ── */
.editor-header[b-3gryv3xah9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-3gryv3xah9] {
    font-size: 13px;
}

.editor-header-right[b-3gryv3xah9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Title bar ── */
.editor-title-bar[b-3gryv3xah9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-3gryv3xah9],
.editor-title-bar .fw-semibold[b-3gryv3xah9],
.editor-title-bar small[b-3gryv3xah9] {
    color: #1a1d23 !important;
}

/* ── Contenido (fondo gris, scroll) ── */
.editor-tab-content[b-3gryv3xah9] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Sobreescritura de padding global en botones de toolbar — estandarizados 26px sv4-196 ── */
.btn-primary.btn-sm[b-3gryv3xah9],
.btn-outline-primary.btn-sm[b-3gryv3xah9] {
    padding: 0 8px;
    border: 1px solid transparent;
    font-weight: 400;
    height: 26px;
    font-size: 0.75rem;
}

.btn-outline-primary.btn-sm[b-3gryv3xah9] {
    border-color: #0d6efd;
}

/* ── Grid premium (sv4-196): filas delgadas con hover suave, patrón Mensajes ── */
.blocked-ips-table-card .table > :not(caption) > * > *[b-3gryv3xah9] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.blocked-ips-table-card .table-hover tbody tr:hover > *[b-3gryv3xah9] {
    background: #f8fafc !important;
}

/* ── Tamaño de texto estándar tablas (0.8rem) ── */
.editor-tab-content .table[b-3gryv3xah9] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-3gryv3xah9] {
    font-size: 0.7rem;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .editor-tab-content[b-3gryv3xah9] {
        padding: 12px 16px 16px;
    }
}
/* /Presentation/Components/Pages/Analytics/TrustedIpsDashboard.razor.rz.scp.css */
.editor-container[b-73gfonb2wq] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-73gfonb2wq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-73gfonb2wq] {
    font-size: 13px;
}

.editor-header-right[b-73gfonb2wq] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-73gfonb2wq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-73gfonb2wq],
.editor-title-bar .fw-semibold[b-73gfonb2wq],
.editor-title-bar small[b-73gfonb2wq] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-73gfonb2wq] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Sobreescritura de padding global en botones de toolbar — estandarizados 26px sv4-197 ── */
.btn-primary.btn-sm[b-73gfonb2wq],
.btn-outline-primary.btn-sm[b-73gfonb2wq] {
    padding: 0 8px;
    border: 1px solid transparent;
    font-weight: 400;
    height: 26px;
    font-size: 0.75rem;
}

.btn-outline-primary.btn-sm[b-73gfonb2wq] {
    border-color: #0d6efd;
}

/* ── Grid premium (sv4-197): filas delgadas con hover suave, patrón Mensajes ── */
.trusted-ips-table-card .table > :not(caption) > * > *[b-73gfonb2wq] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.trusted-ips-table-card .table-hover tbody tr:hover > *[b-73gfonb2wq] {
    background: #f8fafc !important;
}

/* ── Tamaño de texto estándar tablas (0.8rem) ── */
.editor-tab-content .table[b-73gfonb2wq] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-73gfonb2wq] {
    font-size: 0.7rem;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-73gfonb2wq] {
        padding: 12px 16px 16px;
    }
}
/* /Presentation/Components/Pages/CitApp/CitAppLanding.razor.rz.scp.css */
/* Aislamiento por componente para el fondo y las capas superpuestas.
   Complementa wwwroot/css/CitApp/citapp-landing.css */
.citapp-shell[b-9pgw8l0vvy] {
    scroll-behavior: smooth;
}

.citapp-warp[b-9pgw8l0vvy] {
    pointer-events: none;
}

.citapp-progress[b-9pgw8l0vvy] {
    pointer-events: none;
}
/* /Presentation/Components/Pages/Cms/Admin.razor.rz.scp.css */
.cms-admin-root[b-61c633p5sy] {
    min-height: 100vh;
    padding: 2rem 2rem 3rem 2rem;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 55%), #020617;
    color: #e5e7eb;
}

.cms-admin-header h1[b-61c633p5sy] {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.cms-admin-header p[b-61c633p5sy] {
    margin: 0;
    color: #9ca3af;
}

.cms-admin-body[b-61c633p5sy] {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.75rem;
    margin-top: 1.75rem;
}

.cms-admin-left[b-61c633p5sy],
.cms-admin-right[b-61c633p5sy] {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cms-admin-left[b-61c633p5sy]::before,
.cms-admin-right[b-61c633p5sy]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.55) 0, transparent 55%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.45) 0, transparent 50%);
    pointer-events: none;
}

.cms-admin-left > *[b-61c633p5sy],
.cms-admin-right > *[b-61c633p5sy] {
    position: relative;
    z-index: 1;
}

.cms-admin-panel-header[b-61c633p5sy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cms-admin-tabs[b-61c633p5sy] {
    align-items: stretch;
}

.cms-admin-tabs .btn-group .btn[b-61c633p5sy] {
    min-width: 140px;
}

.cms-admin-panel-header h2[b-61c633p5sy],
.cms-admin-panel-header h3[b-61c633p5sy] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cms-admin-sections-list[b-61c633p5sy] {
    max-height: calc(100vh - 230px);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.cms-admin-sections-list[b-61c633p5sy]::-webkit-scrollbar {
    width: 6px;
}

.cms-admin-sections-list[b-61c633p5sy]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.cms-section-row[b-61c633p5sy] {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.65rem 0.6rem;
    border-radius: 0.75rem;
    display: block;
    text-align: left;
    color: inherit;
    transition:
        background 160ms ease-out,
        transform 120ms ease-out;
}

.cms-section-row:hover[b-61c633p5sy] {
    background: rgba(30, 64, 175, 0.5);
    transform: translateX(2px);
}

.cms-section-row.active[b-61c633p5sy] {
    background: rgba(59, 130, 246, 0.95);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.75);
}

.cms-section-row-main[b-61c633p5sy] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cms-section-row-title[b-61c633p5sy] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.cms-section-row-key[b-61c633p5sy] {
    font-size: 0.8rem;
    color: #9ca3af;
}

.cms-admin-loading[b-61c633p5sy],
.cms-admin-empty[b-61c633p5sy],
.cms-admin-placeholder[b-61c633p5sy] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
    color: #9ca3af;
}

.cms-admin-section-detail[b-61c633p5sy] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cms-admin-section-form[b-61c633p5sy],
.cms-admin-component-form[b-61c633p5sy] {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 1rem;
    padding: 1.25rem 1.1rem;
    border: 1px solid rgba(51, 65, 85, 0.9);
}

.cms-admin-components-list[b-61c633p5sy] {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.cms-admin-components-list[b-61c633p5sy]::-webkit-scrollbar {
    width: 6px;
}

.cms-admin-components-list[b-61c633p5sy]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.cms-component-row[b-61c633p5sy] {
    border-radius: 0.85rem;
    padding: 0.6rem 0.6rem;
    margin-bottom: 0.35rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    cursor: pointer;
    transition:
        background 150ms ease-out,
        border-color 150ms ease-out,
        transform 120ms ease-out;
}

.cms-component-row:hover[b-61c633p5sy] {
    background: rgba(30, 64, 175, 0.4);
    transform: translateY(-1px);
}

.cms-component-row.selected[b-61c633p5sy] {
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.75);
}

.cms-component-main[b-61c633p5sy] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.cms-component-text[b-61c633p5sy] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cms-component-title[b-61c633p5sy] {
    font-size: 0.95rem;
    font-weight: 500;
}

.cms-component-text small[b-61c633p5sy] {
    font-size: 0.8rem;
    color: #9ca3af;
}

@media (max-width: 1024px) {
    .cms-admin-body[b-61c633p5sy] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cms-admin-root[b-61c633p5sy] {
        padding-inline: 1.25rem;
    }
}
/* /Presentation/Components/Pages/Cms/CaquetaExperience.razor.rz.scp.css */
.cms-section[b-thinutpaad] {
    max-width: 1120px;
    margin: 0 auto 2rem 0;
    padding: 2.75rem 2.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.28));
    box-shadow:
        0 18px 45px rgba(2, 6, 23, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.16),
        inset 0 0 0 1px rgba(2, 6, 23, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    grid-column: 2;
    justify-self: start;
}

.cms-section[b-thinutpaad]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.36)),
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.32) 0, transparent 60%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.22) 0, transparent 48%);
    pointer-events: none;
    transform: scale(1.02);
    transition:
        opacity 420ms ease-out,
        transform 420ms ease-out,
        filter 420ms ease-out;
}

.cms-section[b-thinutpaad]::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
    opacity: 0.22;
    filter: blur(10px);
    transform: translate3d(-30%, -40%, 0);
    animation: cms-section-orbit-b-thinutpaad 18s ease-in-out infinite alternate;
    mix-blend-mode: screen;
    pointer-events: none;
}

.cms-section:hover[b-thinutpaad]::before {
    opacity: 0.28;
    transform: scale(1.05);
    filter: saturate(1.05);
}

.cms-section:hover[b-thinutpaad]::after {
    opacity: 0.5;
}

.cms-section--caqueta[b-thinutpaad]::before {
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.86)),
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.4) 0, transparent 60%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.32) 0, transparent 48%);
}

@keyframes cms-section-orbit-b-thinutpaad {
    0% {
        transform: translate3d(-30%, -40%, 0) scale(1);
    }
    50% {
        transform: translate3d(10%, -20%, 0) scale(1.1);
    }
    100% {
        transform: translate3d(30%, 10%, 0) scale(1.05);
    }
}

.cms-section-header[b-thinutpaad] {
    position: relative;
    z-index: 1;
    margin-bottom: 1.75rem;
}

.cms-section-header h2[b-thinutpaad] {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.cms-section-header p[b-thinutpaad] {
    margin: 0;
    color: #9ca3af;
    max-width: 640px;
}

.caqueta-experience-layout[b-thinutpaad] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1.05fr) minmax(320px, 1.35fr);
    gap: 2.25rem;
    align-items: flex-start;
}

.caqueta-map-panel[b-thinutpaad] {
    padding: 1.5rem 1.3rem;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.45), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.65);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.65) inset;
}

.caqueta-map-title[b-thinutpaad] {
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.caqueta-map-text[b-thinutpaad] {
    margin: 0 0 0.9rem 0;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.caqueta-municipalities[b-thinutpaad] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.25rem;
    font-size: 0.9rem;
}

.caqueta-municipalities li[b-thinutpaad]::before {
    content: "●";
    margin-right: 0.4rem;
    color: #38bdf8;
}

.caqueta-details-panel[b-thinutpaad] {
    padding: 1.2rem 0.4rem 0.4rem 0.4rem;
}

.caqueta-details-title[b-thinutpaad] {
    margin: 0 0 0.75rem 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.caqueta-details-list[b-thinutpaad] {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.caqueta-details-list li[b-thinutpaad]::marker {
    color: #38bdf8;
    font-weight: 600;
}

.cms-section-cta-button[b-thinutpaad] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.8rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    color: #f9fafb;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.65);
    cursor: pointer;
    transition:
        transform 180ms ease-out,
        box-shadow 180ms ease-out,
        filter 180ms ease-out;
}

.cms-section-cta-button:hover[b-thinutpaad] {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.9);
    filter: brightness(1.05);
}

.cms-section-cta-button:active[b-thinutpaad] {
    transform: translateY(0);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}

@media (max-width: 768px) {
    .cms-section[b-thinutpaad] {
        max-width: none;
        margin: 1.5rem 0 2.5rem 0;
        padding: 2rem 1.4rem;
        border-radius: 1.25rem;
        grid-column: 1;
    }

    .cms-section-header h2[b-thinutpaad] {
        font-size: 1.5rem;
    }

    .cms-section-header p[b-thinutpaad] {
        max-width: none;
        font-size: 0.94rem;
    }

    .caqueta-experience-layout[b-thinutpaad] {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.6rem;
    }

    .caqueta-map-panel[b-thinutpaad] {
        padding: 1.3rem 1.1rem;
    }

    .caqueta-map-title[b-thinutpaad],
    .caqueta-details-title[b-thinutpaad] {
        font-size: 1rem;
    }

    .caqueta-map-text[b-thinutpaad],
    .caqueta-municipalities[b-thinutpaad],
    .caqueta-details-list[b-thinutpaad] {
        font-size: 0.86rem;
    }

    .cms-section-cta-button[b-thinutpaad] {
        width: 100%;
        padding: 0.75rem 1.4rem;
        font-size: 0.95rem;
    }
}

.caqueta-map-button[b-thinutpaad] {
    position: relative;
    overflow: hidden;
}

.caqueta-map-button[b-thinutpaad]::before,
.caqueta-map-button[b-thinutpaad]::after {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0;
    transform: translate3d(0, 14%, 0);
    filter: blur(1px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.caqueta-map-button[b-thinutpaad]::before {
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(56, 189, 248, 0.26) 0,
            rgba(56, 189, 248, 0.26) 4px,
            transparent 4px,
            transparent 8px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(59, 130, 246, 0.24) 0,
            rgba(59, 130, 246, 0.24) 4px,
            transparent 4px,
            transparent 8px
        );
    background-size: 120% 120%;
}

.caqueta-map-button[b-thinutpaad]::after {
    inset: -12%;
    background-image:
        linear-gradient(90deg, rgba(59, 130, 246, 0.34) 10%, transparent 40%, rgba(37, 99, 235, 0.36) 70%, transparent 100%),
        repeating-linear-gradient(
            135deg,
            rgba(56, 189, 248, 0.3) 0,
            rgba(56, 189, 248, 0.3) 2px,
            transparent 2px,
            transparent 6px
        );
    background-size: 180% 180%;
    transform: translate3d(-80%, 0, 0);
}

.caqueta-map-button:hover[b-thinutpaad]::before {
    opacity: 1;
    animation: caqueta-map-grid-b-thinutpaad 900ms ease-out forwards 80ms;
}

.caqueta-map-button:hover[b-thinutpaad]::after {
    opacity: 1;
    animation: caqueta-map-sweep-b-thinutpaad 1100ms ease-out forwards 140ms;
}

@keyframes caqueta-map-grid-b-thinutpaad {
    0% {
        opacity: 0;
        transform: translate3d(0, 22%, 0) scale(0.96);
        filter: blur(3px);
    }
    40% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 0.42;
        transform: translate3d(0, -10%, 0) scale(1.1);
        filter: blur(3px);
    }
}

@keyframes caqueta-map-sweep-b-thinutpaad {
    0% {
        opacity: 0;
        transform: translate3d(-90%, 0, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
}

@media (max-width: 1280px) {
    .caqueta-experience-layout[b-thinutpaad] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Presentation/Components/Pages/Cms/Landing.razor.rz.scp.css */


/* Fuente Raleway con pesos locales (los TTFs viven en wwwroot/fonts) */
@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/raleway.light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/raleway.regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/raleway.medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/raleway.semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/raleway.bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/raleway.extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Tokens
   ============================================================ */

.sx-shell[b-fsayxhfecd] {
    --sx-bg-0: #020B16;
    --sx-bg-1: #04101F;
    --sx-bg-2: #07203A;
    --sx-bg-3: #0C2E52;
    --sx-line: rgba(56, 152, 216, 0.16);
    --sx-line-strong: rgba(56, 152, 216, 0.38);
    --sx-cyan: #18A8D8;
    --sx-azure: #3898D8;
    --sx-blue: #0878B8;
    --sx-blue-deep: #085898;
    --sx-ice: #C8D8F8;
    --sx-text: #EAF4FC;
    --sx-muted: #9DBED6;
    --sx-muted-2: #6E8FAA;
    --sx-coral: #F15A24;
    --sx-teal: #00B4B6;
    --sx-grad: linear-gradient(115deg, #18A8D8 0%, #0878B8 55%, #085898 100%);
    --sx-grad-soft: linear-gradient(120deg, rgba(24, 168, 216, 0.16), rgba(8, 120, 184, 0.16));
    --sx-shadow: 0 24px 60px rgba(1, 6, 14, 0.6);
    --sx-font: 'Raleway', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sx-mono: ui-monospace, 'Cascadia Mono', 'Consolas', 'Courier New', monospace;
    --sx-nav-h: 76px;
    background: var(--sx-bg-0);
    color: var(--sx-text);
    font-family: var(--sx-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    isolation: isolate;
}

.sx-landing[b-fsayxhfecd] {
    position: relative;
    overflow: hidden;
}

.sx-container[b-fsayxhfecd] {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

[id][b-fsayxhfecd] {
    scroll-margin-top: calc(var(--sx-nav-h) + 16px);
}

/* ============================================================
   Iconografía — centrado de glifos dentro de sus cajas
   ============================================================ */

/* El glifo de Bootstrap Icons se dibuja respecto al baseline del texto;
   con el line-height heredado (1.5) la caja del ícono crece y el glifo
   queda descentrado. Se normaliza la caja del ícono (line-height: 1)
   y el centrado lo resuelve el contenedor flex (align-items + 
   justify-content: center) de cada caja icon-only. */
.sx-shell i.bi[b-fsayxhfecd] {
    line-height: 1;
    font-style: normal;
}

/* Cajas cuyo único contenido es un ícono: centrado por caja con
   margin:auto dentro del contenedor flex. margin:auto en un flex item
   centra el glifo en AMBOS ejes sin depender de reglas globales ni del
   display del <i> — es el método más robusto que existe. */
.sx-module-icon i.bi[b-fsayxhfecd],
.sx-eco-node-icon i.bi[b-fsayxhfecd],
.sx-core-module-icon i.bi[b-fsayxhfecd],
.sx-hv-card-icon i.bi[b-fsayxhfecd],
.sx-feature-icon i.bi[b-fsayxhfecd],
.sx-about-pillar-icon i.bi[b-fsayxhfecd],
.sx-core-info-icon i.bi[b-fsayxhfecd],
.sx-cookie-icon i.bi[b-fsayxhfecd],
.sx-team-photo-fallback i.bi[b-fsayxhfecd] {
    margin: auto;
    line-height: 1;
    font-style: normal;
}

/* Ajustes ópticos horizontales por glifo.
   Medidos rasterizando cada glifo del font real (bootstrap-icons 1.11.3,
   upem=300) y calculando el centroide de tinta (masa visual) frente al
   centro de la caja em. translateX centra la tinta, no el bbox. */
.sx-shell .bi-arrow-up-right[b-fsayxhfecd]::before { transform: translateX(-0.0915em); }
.sx-shell .bi-person-lock[b-fsayxhfecd]::before { transform: translateX(-0.0844em); }
.sx-shell .bi-bar-chart-line[b-fsayxhfecd]::before { transform: translateX(-0.0768em); }
.sx-shell .bi-graph-up-arrow[b-fsayxhfecd]::before { transform: translateX(0.0683em); }
.sx-shell .bi-clock-history[b-fsayxhfecd]::before { transform: translateX(0.0602em); }
.sx-shell .bi-database-check[b-fsayxhfecd]::before { transform: translateX(-0.0554em); }
.sx-shell .bi-telephone[b-fsayxhfecd]::before { transform: translateX(0.05em); }
.sx-shell .bi-key[b-fsayxhfecd]::before { transform: translateX(0.049em); }
.sx-shell .bi-person-heart[b-fsayxhfecd]::before { transform: translateX(0.0426em); }
.sx-shell .bi-stars[b-fsayxhfecd]::before { transform: translateX(0.0402em); }
.sx-shell .bi-plug[b-fsayxhfecd]::before { transform: translateX(0.0371em); }
.sx-shell .bi-box-arrow-in-down-right[b-fsayxhfecd]::before { transform: translateX(-0.0331em); }
.sx-shell .bi-whatsapp[b-fsayxhfecd]::before { transform: translateX(0.0317em); }
.sx-shell .bi-chat-dots[b-fsayxhfecd]::before { transform: translateX(0.0228em); }
.sx-shell .bi-hand-index-thumb[b-fsayxhfecd]::before { transform: translateX(-0.0176em); }
.sx-shell .bi-people[b-fsayxhfecd]::before { transform: translateX(0.0166em); }
.sx-shell .bi-grid-1x2[b-fsayxhfecd]::before { transform: translateX(-0.0158em); }
.sx-shell .bi-tiktok[b-fsayxhfecd]::before { transform: translateX(0.0156em); }
.sx-shell .bi-wallet2[b-fsayxhfecd]::before { transform: translateX(-0.0133em); }
.sx-shell .bi-receipt[b-fsayxhfecd]::before { transform: translateX(0.0114em); }
.sx-shell .bi-file-earmark-medical[b-fsayxhfecd]::before { transform: translateX(0.011em); }
.sx-shell .bi-journal-check[b-fsayxhfecd]::before { transform: translateX(0.0104em); }
.sx-shell .bi-facebook[b-fsayxhfecd]::before { transform: translateX(0.006em); }

/* ============================================================
   Tipografía
   ============================================================ */

.sx-h1[b-fsayxhfecd] {
    margin: 0;
    font-size: clamp(2.3rem, 4.4vw + 1rem, 3.9rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--sx-text);
    text-wrap: balance;
}

.sx-h2[b-fsayxhfecd] {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw + 0.7rem, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--sx-text);
    text-wrap: balance;
}

.sx-gradient-text[b-fsayxhfecd] {
    background: var(--sx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sx-lead[b-fsayxhfecd] {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--sx-muted);
}

.sx-eyebrow[b-fsayxhfecd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--sx-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sx-cyan);
}

.sx-eyebrow i[b-fsayxhfecd] {
    font-size: 0.9rem;
}

.sx-eyebrow-dot[b-fsayxhfecd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sx-cyan);
    box-shadow: 0 0 12px rgba(24, 168, 216, 0.8);
    animation: sxPulse-b-fsayxhfecd 2.4s ease-in-out infinite;
}

.sx-eyebrow--center[b-fsayxhfecd] {
    justify-content: center;
}

/* ============================================================
   Botones
   ============================================================ */

.sx-btn[b-fsayxhfecd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    font-family: var(--sx-font);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.sx-btn:focus-visible[b-fsayxhfecd] {
    outline: 2px solid var(--sx-cyan);
    outline-offset: 3px;
}

.sx-btn-lg[b-fsayxhfecd] {
    height: 50px;
    padding: 0 26px;
    font-size: 0.92rem;
}

.sx-btn-sm[b-fsayxhfecd] {
    height: 40px;
    padding: 0 18px;
    font-size: 0.8rem;
}

.sx-btn-primary[b-fsayxhfecd] {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--sx-grad);
    border-color: rgba(24, 168, 216, 0.4);
    box-shadow: 0 10px 30px rgba(8, 88, 152, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Recuadros interactivos del botón primario: rejilla digital + barrido
   de luz al pasar el cursor. Patrón recuperado de la versión anterior
   de la landing y adaptado a la paleta cian/azul del sistema sx-. */
.sx-btn-primary[b-fsayxhfecd]::before,
.sx-btn-primary[b-fsayxhfecd]::after {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0;
    transform: translate3d(0, 10%, 0);
    filter: blur(1px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.sx-btn-primary[b-fsayxhfecd]::after {
    inset: -12%;
    background-image:
        linear-gradient(90deg, rgba(24, 168, 216, 0.6) 10%, transparent 40%, rgba(8, 120, 184, 0.55) 70%, transparent 100%),
        repeating-linear-gradient(
            135deg,
            rgba(24, 168, 216, 0.5) 0,
            rgba(24, 168, 216, 0.5) 2px,
            transparent 2px,
            transparent 6px
        );
    background-size: 180% 180%;
    transform: translate3d(-80%, 0, 0);
}

.sx-btn-primary[b-fsayxhfecd]::before {
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(24, 168, 216, 0.45) 0,
            rgba(24, 168, 216, 0.45) 4px,
            transparent 4px,
            transparent 8px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(56, 152, 216, 0.4) 0,
            rgba(56, 152, 216, 0.4) 4px,
            transparent 4px,
            transparent 8px
        );
    background-size: 120% 120%;
}

.sx-btn-primary:hover[b-fsayxhfecd],
.sx-btn-primary:focus-visible[b-fsayxhfecd] {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(8, 88, 152, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.sx-btn-primary:hover[b-fsayxhfecd]::before,
.sx-btn-primary:focus-visible[b-fsayxhfecd]::before {
    opacity: 1;
    animation: sxBtnGrid-b-fsayxhfecd 900ms ease-out forwards 80ms;
}

.sx-btn-primary:hover[b-fsayxhfecd]::after,
.sx-btn-primary:focus-visible[b-fsayxhfecd]::after {
    opacity: 1;
    animation: sxBtnSweep-b-fsayxhfecd 1100ms ease-out forwards 140ms;
}

.sx-btn-ghost[b-fsayxhfecd] {
    color: var(--sx-ice);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--sx-line-strong);
}

.sx-btn-ghost:hover[b-fsayxhfecd],
.sx-btn-ghost:focus-visible[b-fsayxhfecd] {
    color: #ffffff;
    background: rgba(56, 152, 216, 0.1);
    border-color: rgba(24, 168, 216, 0.5);
    transform: translateY(-2px);
}

.sx-btn-wa[b-fsayxhfecd] {
    color: #D8FBF3;
    background: rgba(0, 180, 182, 0.1);
    border-color: rgba(0, 180, 182, 0.4);
}

.sx-btn-wa i[b-fsayxhfecd] {
    color: #00B4B6;
    font-size: 1.1rem;
}

.sx-btn-wa:hover[b-fsayxhfecd],
.sx-btn-wa:focus-visible[b-fsayxhfecd] {
    color: #ffffff;
    background: rgba(0, 180, 182, 0.18);
    border-color: rgba(0, 180, 182, 0.6);
    transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */

.sx-hero[b-fsayxhfecd] {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--sx-nav-h) + 48px) 0 90px;
    background:
        radial-gradient(1200px 700px at 75% -10%, rgba(8, 120, 184, 0.28), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(24, 168, 216, 0.16), transparent 55%),
        linear-gradient(180deg, #020B16 0%, #04101F 55%, #041A2E 100%);
    isolation: isolate;
}

.sx-hero-bg[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.sx-hero-grid[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 152, 216, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 152, 216, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}

.sx-hero-glow[b-fsayxhfecd] {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}

.sx-hero-glow--1[b-fsayxhfecd] {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(24, 168, 216, 0.32), transparent 65%);
}

.sx-hero-glow--2[b-fsayxhfecd] {
    width: 620px;
    height: 620px;
    top: 8%;
    right: -200px;
    background: radial-gradient(circle, rgba(8, 120, 184, 0.3), transparent 65%);
}

.sx-hero-glow--3[b-fsayxhfecd] {
    width: 460px;
    height: 460px;
    bottom: -140px;
    left: 32%;
    background: radial-gradient(circle, rgba(24, 168, 216, 0.16), transparent 65%);
}

.sx-hero-aurora[b-fsayxhfecd] {
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 210deg at 55% 40%,
        rgba(24, 168, 216, 0.1),
        rgba(8, 120, 184, 0.08),
        rgba(14, 165, 233, 0.06),
        rgba(8, 120, 184, 0.12),
        rgba(24, 168, 216, 0.1));
    filter: blur(90px);
    animation: sxAurora-b-fsayxhfecd 26s ease-in-out infinite alternate;
}

.sx-hero-dots[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200, 216, 248, 0.5) 1.2px, transparent 1.2px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, black 20%, transparent 70%);
    animation: sxDotsDrift-b-fsayxhfecd 18s ease-in-out infinite alternate;
}

.sx-hero-grid-layout[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.sx-hero-copy[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.sx-hero-sub[b-fsayxhfecd] {
    margin: 0;
    max-width: 560px;
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--sx-muted);
}

.sx-hero-actions[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.sx-hero-chips[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.sx-hero-chip[b-fsayxhfecd] {
    padding: 7px 13px;
    border-radius: 999px;
    font-family: var(--sx-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--sx-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sx-line);
}

/* Composición visual del hero */
.sx-hero-visual[b-fsayxhfecd] {
    position: relative;
    min-height: 560px;
}

.sx-hv-rings[b-fsayxhfecd] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
}

.sx-hv-ring[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(56, 152, 216, 0.18);
}

.sx-hv-ring--1[b-fsayxhfecd] {
    animation: sxRingPulse-b-fsayxhfecd 5s ease-out infinite;
}

.sx-hv-ring--2[b-fsayxhfecd] {
    inset: 60px;
    border-style: dashed;
    border-color: rgba(24, 168, 216, 0.28);
    animation: sxSpin-b-fsayxhfecd 46s linear infinite;
}

.sx-hv-ring--3[b-fsayxhfecd] {
    inset: 130px;
    border-color: rgba(56, 152, 216, 0.12);
}

.sx-hv-ecg[b-fsayxhfecd] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 560px;
    transform: translate(-50%, -50%);
    overflow: visible;
}

.sx-hv-ecg-path[b-fsayxhfecd] {
    fill: none;
    stroke: url(#sxEcgGrad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#sxEcgGlow);
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: sxEcgDraw-b-fsayxhfecd 6s linear infinite;
}

.sx-hv-card[b-fsayxhfecd] {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(4, 16, 31, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 18px 44px rgba(2, 11, 22, 0.5);
    animation: sxFloat-b-fsayxhfecd 7s ease-in-out infinite;
}

.sx-hv-card-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--sx-cyan);
    background: var(--sx-grad-soft);
    border: 1px solid var(--sx-line-strong);
    font-size: 1rem;
    flex-shrink: 0;
}

.sx-hv-card-body[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sx-hv-card-label[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sx-cyan);
}

.sx-hv-card-value[b-fsayxhfecd] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sx-text);
    white-space: nowrap;
}

.sx-hv-card--a[b-fsayxhfecd] {
    top: 74px;
    left: 8%;
    animation-delay: 0s;
}

.sx-hv-card--b[b-fsayxhfecd] {
    top: 180px;
    right: 2%;
    animation-delay: 1.2s;
}

.sx-hv-card--c[b-fsayxhfecd] {
    bottom: 66px;
    left: 14%;
    animation-delay: 2.3s;
}

.sx-hv-node[b-fsayxhfecd] {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sx-cyan);
    box-shadow: 0 0 14px rgba(24, 168, 216, 0.9);
    animation: sxPulse-b-fsayxhfecd 2.6s ease-in-out infinite;
}

.sx-hv-node--1[b-fsayxhfecd] { top: 24%; left: 30%; }
.sx-hv-node--2[b-fsayxhfecd] { top: 12%; right: 24%; animation-delay: 0.5s; }
.sx-hv-node--3[b-fsayxhfecd] { bottom: 22%; right: 16%; animation-delay: 1s; }
.sx-hv-node--4[b-fsayxhfecd] { bottom: 12%; left: 46%; animation-delay: 1.5s; }
.sx-hv-node--5[b-fsayxhfecd] { top: 44%; right: 8%; animation-delay: 2s; }

.sx-hv-orbit[b-fsayxhfecd] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(24, 168, 216, 0.2);
    animation: sxSpin-b-fsayxhfecd 30s linear infinite;
}

.sx-hv-orbit-dot[b-fsayxhfecd] {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.sx-hv-orbit-dot--1[b-fsayxhfecd] {
    top: -4px;
    left: 50%;
    background: var(--sx-azure);
    box-shadow: 0 0 12px rgba(56, 152, 216, 0.9);
}

.sx-hv-orbit-dot--2[b-fsayxhfecd] {
    bottom: 12%;
    right: 4%;
    background: var(--sx-cyan);
    box-shadow: 0 0 12px rgba(24, 168, 216, 0.9);
}

.sx-hero-scroll[b-fsayxhfecd] {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.sx-hero-scroll-line[b-fsayxhfecd] {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--sx-cyan), transparent);
    animation: sxScrollLine-b-fsayxhfecd 2.2s ease-in-out infinite;
}

.sx-hero-scroll-text[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
}

/* ============================================================
   Secciones base
   ============================================================ */

.sx-section[b-fsayxhfecd] {
    position: relative;
    padding: 110px 0;
    border-top: 1px solid var(--sx-line);
}

.sx-section--ecosystem[b-fsayxhfecd] {
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(24, 168, 216, 0.08), transparent 60%),
        var(--sx-bg-0);
}

.sx-section--platform[b-fsayxhfecd] {
    background:
        radial-gradient(1000px 600px at 80% 10%, rgba(8, 120, 184, 0.1), transparent 60%),
        var(--sx-bg-1);
}

.sx-section--intelligence[b-fsayxhfecd] {
    background:
        radial-gradient(900px 600px at 8% 30%, rgba(24, 168, 216, 0.1), transparent 55%),
        var(--sx-bg-0);
}

.sx-section--interop[b-fsayxhfecd] {
    background:
        radial-gradient(1000px 600px at 90% 40%, rgba(8, 88, 152, 0.12), transparent 55%),
        var(--sx-bg-1);
}

.sx-section--security[b-fsayxhfecd] {
    background:
        radial-gradient(900px 600px at 12% 60%, rgba(24, 168, 216, 0.09), transparent 55%),
        var(--sx-bg-0);
}

.sx-section--core[b-fsayxhfecd] {
    background:
        radial-gradient(1100px 700px at 30% 20%, rgba(8, 88, 152, 0.14), transparent 60%),
        var(--sx-bg-1);
}

.sx-section--about[b-fsayxhfecd] {
    background: var(--sx-bg-0);
}

.sx-section--conversion[b-fsayxhfecd] {
    padding: 120px 0 130px;
    background:
        radial-gradient(1100px 700px at 50% 100%, rgba(24, 168, 216, 0.12), transparent 60%),
        var(--sx-bg-1);
}

.sx-section-head[b-fsayxhfecd] {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.sx-section-head .sx-lead[b-fsayxhfecd] {
    max-width: 660px;
}

/* ============================================================
   ECOSISTEMA
   ============================================================ */

.sx-eco-canvas[b-fsayxhfecd] {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    height: 680px;
    border-radius: 24px;
    background:
        radial-gradient(700px 420px at 50% 50%, rgba(24, 168, 216, 0.07), transparent 65%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sx-line);
    box-shadow: var(--sx-shadow);
    overflow: hidden;
}

.sx-eco-canvas[b-fsayxhfecd]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 152, 216, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 152, 216, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 35%, transparent 80%);
    mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 35%, transparent 80%);
    pointer-events: none;
}

.sx-eco-lines[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sx-eco-line[b-fsayxhfecd] {
    stroke: rgba(56, 152, 216, 0.22);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 3 4;
    animation: sxDashFlow-b-fsayxhfecd 2.4s linear infinite;
    transition: stroke 0.3s ease, opacity 0.3s ease;
}

.sx-eco-line.is-active[b-fsayxhfecd] {
    stroke: var(--sx-cyan);
    stroke-width: 1.6;
    opacity: 1;
    animation-duration: 0.9s;
    filter: drop-shadow(0 0 4px rgba(24, 168, 216, 0.6));
}

.sx-eco-core[b-fsayxhfecd] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.sx-eco-core-ring[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(24, 168, 216, 0.4);
}

.sx-eco-core-ring--1[b-fsayxhfecd] {
    animation: sxRingPulse-b-fsayxhfecd 4s ease-out infinite;
}

.sx-eco-core-ring--2[b-fsayxhfecd] {
    inset: 14px;
    border-style: dashed;
    border-color: rgba(56, 152, 216, 0.35);
    animation: sxSpin-b-fsayxhfecd 36s linear infinite;
}

.sx-eco-core-ring--3[b-fsayxhfecd] {
    inset: 30px;
    border-color: rgba(24, 168, 216, 0.25);
}

.sx-eco-core-body[b-fsayxhfecd] {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: radial-gradient(circle at 30% 25%, rgba(24, 168, 216, 0.22), rgba(7, 32, 58, 0.95) 70%);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 0 46px rgba(24, 168, 216, 0.28), inset 0 0 30px rgba(24, 168, 216, 0.12);
}

.sx-eco-core-name[b-fsayxhfecd] {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--sx-text);
}

.sx-eco-core-sub[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--sx-cyan);
}

.sx-eco-node[b-fsayxhfecd] {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--sx-text);
}

.sx-eco-node-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.15rem;
    color: var(--sx-ice);
    background: rgba(7, 32, 58, 0.9);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 10px 26px rgba(2, 11, 22, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.sx-eco-node-label[b-fsayxhfecd] {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    color: var(--sx-muted);
    background: rgba(4, 16, 31, 0.78);
    border: 1px solid var(--sx-line);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.sx-eco-node:hover .sx-eco-node-icon[b-fsayxhfecd],
.sx-eco-node:focus-visible .sx-eco-node-icon[b-fsayxhfecd],
.sx-eco-node.is-active .sx-eco-node-icon[b-fsayxhfecd] {
    transform: translateY(-3px) scale(1.06);
    color: #ffffff;
    background: var(--sx-grad);
    border-color: rgba(24, 168, 216, 0.6);
    box-shadow: 0 0 30px rgba(24, 168, 216, 0.45), 0 14px 30px rgba(2, 11, 22, 0.5);
}

.sx-eco-node:hover .sx-eco-node-label[b-fsayxhfecd],
.sx-eco-node:focus-visible .sx-eco-node-label[b-fsayxhfecd],
.sx-eco-node.is-active .sx-eco-node-label[b-fsayxhfecd] {
    color: var(--sx-cyan);
    border-color: rgba(24, 168, 216, 0.4);
    background: rgba(24, 168, 216, 0.08);
}

.sx-eco-node:focus-visible[b-fsayxhfecd] {
    outline: none;
}

.sx-eco-status[b-fsayxhfecd] {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(4, 16, 31, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sx-line);
    min-height: 58px;
}

.sx-eco-status-dot[b-fsayxhfecd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sx-cyan);
    box-shadow: 0 0 12px rgba(24, 168, 216, 0.8);
    flex-shrink: 0;
    animation: sxPulse-b-fsayxhfecd 2.4s ease-in-out infinite;
}

.sx-eco-status-title[b-fsayxhfecd] {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--sx-text);
    white-space: nowrap;
}

.sx-eco-status-text[b-fsayxhfecd] {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--sx-muted);
}

/* ============================================================
   PLATAFORMA — módulos
   ============================================================ */

.sx-module-grid[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sx-module-card[b-fsayxhfecd] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.sx-module-card[b-fsayxhfecd]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sx-grad);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sx-module-card:hover[b-fsayxhfecd],
.sx-module-card:focus-within[b-fsayxhfecd] {
    transform: translateY(-5px);
    border-color: rgba(24, 168, 216, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 22px 50px rgba(2, 11, 22, 0.55), 0 0 0 1px rgba(24, 168, 216, 0.12);
}

.sx-module-card:hover[b-fsayxhfecd]::before {
    opacity: 1;
}

.sx-module-top[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sx-module-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 1.2rem;
    color: var(--sx-cyan);
    background: var(--sx-grad-soft);
    border: 1px solid var(--sx-line-strong);
    transition: transform 0.28s ease, color 0.28s ease;
}

.sx-module-card:hover .sx-module-icon[b-fsayxhfecd] {
    transform: scale(1.08) rotate(-4deg);
    color: #ffffff;
    background: var(--sx-grad);
}

.sx-module-tag[b-fsayxhfecd] {
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sx-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sx-line);
}

.sx-module-title[b-fsayxhfecd] {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-module-desc[b-fsayxhfecd] {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--sx-muted);
}

.sx-module-foot[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--sx-line);
}

.sx-module-index[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.68rem;
    color: var(--sx-muted-2);
    letter-spacing: 0.1em;
}

.sx-module-link[b-fsayxhfecd] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sx-azure);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sx-module-card:hover .sx-module-link[b-fsayxhfecd] {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   INTELIGENCIA
   ============================================================ */

.sx-split[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.sx-split--reverse[b-fsayxhfecd] {
    direction: ltr;
}

.sx-split--reverse .sx-split-visual[b-fsayxhfecd] {
    order: 1;
}

.sx-split--reverse .sx-split-copy[b-fsayxhfecd] {
    order: 2;
}

.sx-split-copy[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.sx-feature-list[b-fsayxhfecd] {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.sx-feature-list li[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sx-feature-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.95rem;
    color: var(--sx-cyan);
    background: var(--sx-grad-soft);
    border: 1px solid var(--sx-line-strong);
    flex-shrink: 0;
}

.sx-feature-list li > div[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sx-feature-list strong[b-fsayxhfecd] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-feature-list span[b-fsayxhfecd] {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--sx-muted);
}

.sx-feature-list--compact[b-fsayxhfecd] {
    gap: 10px;
}

/* Panel de datos */
.sx-intel-panel[b-fsayxhfecd] {
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(600px 320px at 85% 0%, rgba(24, 168, 216, 0.1), transparent 60%),
        rgba(4, 16, 31, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--sx-line-strong);
    box-shadow: var(--sx-shadow), 0 0 60px rgba(8, 88, 152, 0.12);
}

.sx-intel-panel-head[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sx-line);
}

.sx-intel-panel-title[b-fsayxhfecd] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-live-dot[b-fsayxhfecd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00B4B6;
    box-shadow: 0 0 12px rgba(0, 180, 182, 0.9);
    animation: sxPulse-b-fsayxhfecd 2s ease-in-out infinite;
}

.sx-intel-panel-code[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    color: var(--sx-muted-2);
}

.sx-intel-kpis[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px 0;
}

.sx-intel-kpi[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line);
}

.sx-intel-kpi-value[b-fsayxhfecd] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: var(--sx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sx-intel-kpi-label[b-fsayxhfecd] {
    font-size: 0.66rem;
    line-height: 1.35;
    color: var(--sx-muted);
}

.sx-intel-chart[b-fsayxhfecd] {
    position: relative;
    padding: 14px 6px 0;
    border-top: 1px solid var(--sx-line);
}

.sx-intel-chart > svg:first-child[b-fsayxhfecd] {
    display: block;
    width: 100%;
    height: 140px;
}

.sx-intel-bar[b-fsayxhfecd] {
    fill: var(--sx-blue);
    opacity: 0.85;
    transform: scaleY(0);
    transform-origin: bottom;
    transform-box: fill-box;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), fill 0.3s ease;
}

.sx-split-visual.is-visible .sx-intel-bar[b-fsayxhfecd] {
    transform: scaleY(1);
}

.sx-split-visual.is-visible .sx-intel-bar:nth-child(1)[b-fsayxhfecd] { transition-delay: 0.05s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(2)[b-fsayxhfecd] { transition-delay: 0.1s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(3)[b-fsayxhfecd] { transition-delay: 0.15s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(4)[b-fsayxhfecd] { transition-delay: 0.2s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(5)[b-fsayxhfecd] { transition-delay: 0.25s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(6)[b-fsayxhfecd] { transition-delay: 0.3s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(7)[b-fsayxhfecd] { transition-delay: 0.35s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(8)[b-fsayxhfecd] { transition-delay: 0.4s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(9)[b-fsayxhfecd] { transition-delay: 0.45s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(10)[b-fsayxhfecd] { transition-delay: 0.5s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(11)[b-fsayxhfecd] { transition-delay: 0.55s; }
.sx-split-visual.is-visible .sx-intel-bar:nth-child(12)[b-fsayxhfecd] { transition-delay: 0.6s; }

.sx-intel-bar:hover[b-fsayxhfecd] {
    fill: var(--sx-cyan);
}

.sx-intel-ecg[b-fsayxhfecd] {
    display: block;
    width: 100%;
    height: 60px;
    margin-top: 10px;
}

.sx-intel-ecg-path[b-fsayxhfecd] {
    fill: none;
    stroke: url(#sxEcgGrad);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: sxEcgDraw-b-fsayxhfecd 7s linear infinite;
}

.sx-intel-tags[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
}

.sx-intel-tag[b-fsayxhfecd] {
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--sx-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    color: var(--sx-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sx-line);
}

/* ============================================================
   INTEROPERABILIDAD
   ============================================================ */

.sx-interop-grid[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
}

.sx-interop-hub[b-fsayxhfecd] {
    position: relative;
    height: 480px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sx-line);
    overflow: hidden;
}

.sx-interop-lines[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sx-interop-line[b-fsayxhfecd] {
    stroke: rgba(56, 152, 216, 0.25);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 3 4;
    animation: sxDashFlow-b-fsayxhfecd 2.6s linear infinite;
}

.sx-interop-core[b-fsayxhfecd] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 148px;
    height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 26%, rgba(24, 168, 216, 0.24), rgba(7, 32, 58, 0.96) 72%);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 0 50px rgba(24, 168, 216, 0.3), inset 0 0 34px rgba(24, 168, 216, 0.12);
    z-index: 2;
}

.sx-interop-core-ring[b-fsayxhfecd] {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px dashed rgba(24, 168, 216, 0.35);
    animation: sxSpin-b-fsayxhfecd 30s linear infinite;
}

.sx-interop-core-icon[b-fsayxhfecd] {
    font-size: 1.5rem;
    color: var(--sx-cyan);
}

.sx-interop-core-name[b-fsayxhfecd] {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--sx-text);
    text-align: center;
}

.sx-interop-core-sub[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.56rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sx-muted);
    text-align: center;
}

.sx-interop-peer[b-fsayxhfecd] {
    position: absolute;
    translate: -50% -50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(7, 32, 58, 0.9);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 12px 30px rgba(2, 11, 22, 0.45);
    animation: sxFloat-b-fsayxhfecd 7s ease-in-out infinite;
    z-index: 2;
}

.sx-interop-peer:nth-of-type(even)[b-fsayxhfecd] {
    animation-delay: 1.4s;
}

.sx-interop-peer-icon[b-fsayxhfecd] {
    color: var(--sx-cyan);
    font-size: 1rem;
}

.sx-interop-peer-name[b-fsayxhfecd] {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--sx-ice);
    white-space: nowrap;
}

.sx-interop-side[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sx-interop-payload[b-fsayxhfecd] {
    border-radius: 16px;
    background: rgba(4, 16, 31, 0.9);
    border: 1px solid var(--sx-line-strong);
    box-shadow: var(--sx-shadow);
    overflow: hidden;
}

.sx-interop-payload-head[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--sx-line);
    background: rgba(255, 255, 255, 0.02);
}

.sx-interop-payload-dots[b-fsayxhfecd] {
    display: flex;
    gap: 6px;
}

.sx-interop-payload-dots span[b-fsayxhfecd] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(157, 190, 214, 0.35);
}

.sx-interop-payload-dots span:first-child[b-fsayxhfecd] { background: rgba(248, 113, 113, 0.6); }
.sx-interop-payload-dots span:nth-child(2)[b-fsayxhfecd] { background: rgba(251, 191, 36, 0.6); }
.sx-interop-payload-dots span:nth-child(3)[b-fsayxhfecd] { background: rgba(0, 180, 182, 0.6); }

.sx-interop-payload-method[b-fsayxhfecd] {
    padding: 3px 9px;
    border-radius: 6px;
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #00B4B6;
    background: rgba(0, 180, 182, 0.1);
    border: 1px solid rgba(0, 180, 182, 0.3);
}

.sx-interop-payload-url[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.72rem;
    color: var(--sx-muted);
}

.sx-interop-json[b-fsayxhfecd] {
    margin: 0;
    padding: 18px;
    font-family: var(--sx-mono);
    font-size: 0.8rem;
    line-height: 1.9;
    color: #C8D8F8;
    overflow-x: auto;
}

.sx-json-key[b-fsayxhfecd] {
    color: var(--sx-cyan);
}

.sx-json-str[b-fsayxhfecd] {
    color: #18A8D8;
}

.sx-json-bool[b-fsayxhfecd] {
    color: #00B4B6;
}

.sx-interop-list[b-fsayxhfecd] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sx-interop-list li[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--sx-muted);
}

.sx-interop-list li i[b-fsayxhfecd] {
    color: var(--sx-cyan);
    font-size: 1rem;
}

/* ============================================================
   SEGURIDAD
   ============================================================ */

.sx-sec-stage[b-fsayxhfecd] {
    position: relative;
    height: 520px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background:
        radial-gradient(560px 420px at 50% 50%, rgba(24, 168, 216, 0.08), transparent 65%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sx-line);
    overflow: hidden;
}

.sx-sec-orbit[b-fsayxhfecd] {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(56, 152, 216, 0.18);
}

.sx-sec-orbit--1[b-fsayxhfecd] {
    width: 400px;
    height: 400px;
    animation: sxRingPulse-b-fsayxhfecd 5.5s ease-out infinite;
}

.sx-sec-orbit--2[b-fsayxhfecd] {
    width: 260px;
    height: 260px;
    border-style: dashed;
    border-color: rgba(24, 168, 216, 0.3);
    animation: sxSpin-b-fsayxhfecd 40s linear infinite;
}

.sx-sec-shield[b-fsayxhfecd] {
    position: relative;
    width: 210px;
    height: 240px;
    overflow: visible;
    z-index: 2;
}

.sx-sec-shield-check[b-fsayxhfecd] {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    animation: sxShieldCheck-b-fsayxhfecd 3.2s ease-out infinite;
}

.sx-sec-chip[b-fsayxhfecd] {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sx-ice);
    background: rgba(7, 32, 58, 0.92);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 14px 34px rgba(2, 11, 22, 0.5);
    animation: sxFloat-b-fsayxhfecd 6.5s ease-in-out infinite;
    z-index: 3;
}

.sx-sec-chip i[b-fsayxhfecd] {
    color: var(--sx-cyan);
}

.sx-sec-chip--1[b-fsayxhfecd] { top: 12%; left: 12%; }
.sx-sec-chip--2[b-fsayxhfecd] { top: 16%; right: 10%; animation-delay: 1s; }
.sx-sec-chip--3[b-fsayxhfecd] { bottom: 14%; left: 10%; animation-delay: 2s; }
.sx-sec-chip--4[b-fsayxhfecd] { bottom: 12%; right: 14%; animation-delay: 0.6s; }

.sx-sec-layers[b-fsayxhfecd] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 6px 0 4px;
}

.sx-sec-layer[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: 34px 74px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line);
}

.sx-sec-layer-num[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.7rem;
    color: var(--sx-muted-2);
}

.sx-sec-layer-name[b-fsayxhfecd] {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-sec-layer-bar[b-fsayxhfecd] {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.sx-sec-layer-bar i[b-fsayxhfecd] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--sx-grad);
    box-shadow: 0 0 12px rgba(24, 168, 216, 0.5);
}

/* ============================================================
   DIGITAL HEALTH CORE
   ============================================================ */

.sx-core-grid[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
}

.sx-core-stage[b-fsayxhfecd] {
    position: relative;
    height: 520px;
    border-radius: 24px;
    background:
        radial-gradient(620px 460px at 50% 50%, rgba(24, 168, 216, 0.09), transparent 65%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sx-line);
    overflow: hidden;
}

.sx-core-orb[b-fsayxhfecd] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sx-core-orb-ring[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(24, 168, 216, 0.35);
}

.sx-core-orb-ring--1[b-fsayxhfecd] {
    animation: sxRingPulse-b-fsayxhfecd 3.6s ease-out infinite;
}

.sx-core-orb-ring--2[b-fsayxhfecd] {
    inset: 13px;
    border-style: dashed;
    border-color: rgba(56, 152, 216, 0.35);
    animation: sxSpin-b-fsayxhfecd 26s linear infinite;
}

.sx-core-orb-ring--3[b-fsayxhfecd] {
    inset: 28px;
    border-color: rgba(24, 168, 216, 0.22);
}

.sx-core-orb-body[b-fsayxhfecd] {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--sx-cyan);
    background: radial-gradient(circle at 32% 26%, rgba(24, 168, 216, 0.28), rgba(7, 32, 58, 0.96) 74%);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 0 42px rgba(24, 168, 216, 0.32), inset 0 0 26px rgba(24, 168, 216, 0.14);
}

/* Iconos de salud parpadeantes alrededor del núcleo digital.
   Elemento recuperado de la versión anterior de la landing: anillo
   intermedio de iconos médicos con parpadeo escalonado, entre el orb
   central y los módulos interactivos. Decorativos (pointer-events: none). */
.sx-core-health[b-fsayxhfecd] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.sx-core-health-icon[b-fsayxhfecd] {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.95rem;
    color: var(--sx-cyan);
    background: rgba(7, 32, 58, 0.72);
    border: 1px solid rgba(24, 168, 216, 0.3);
    box-shadow: 0 0 14px rgba(24, 168, 216, 0.22);
    translate: -50% -50%;
    animation: sxHealthBlink-b-fsayxhfecd 3.2s ease-in-out infinite;
}

.sx-core-health-icon:nth-child(2)[b-fsayxhfecd] { animation-delay: 0.5s; }
.sx-core-health-icon:nth-child(3)[b-fsayxhfecd] { animation-delay: 1s; }
.sx-core-health-icon:nth-child(4)[b-fsayxhfecd] { animation-delay: 1.5s; }
.sx-core-health-icon:nth-child(5)[b-fsayxhfecd] { animation-delay: 2s; }
.sx-core-health-icon:nth-child(6)[b-fsayxhfecd] { animation-delay: 2.5s; }

.sx-core-health-icon i.bi[b-fsayxhfecd] {
    margin: auto;
    line-height: 1;
    font-style: normal;
}

.sx-core-module[b-fsayxhfecd] {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.sx-core-module-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 1.2rem;
    color: var(--sx-ice);
    background: rgba(7, 32, 58, 0.92);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 12px 30px rgba(2, 11, 22, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sx-core-module-name[b-fsayxhfecd] {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--sx-muted);
    background: rgba(4, 16, 31, 0.8);
    border: 1px solid var(--sx-line);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.sx-core-module:hover .sx-core-module-icon[b-fsayxhfecd],
.sx-core-module:focus-visible .sx-core-module-icon[b-fsayxhfecd],
.sx-core-module.is-active .sx-core-module-icon[b-fsayxhfecd] {
    transform: scale(1.1);
    color: #ffffff;
    background: var(--sx-grad);
    border-color: rgba(24, 168, 216, 0.6);
    box-shadow: 0 0 30px rgba(24, 168, 216, 0.5), 0 14px 32px rgba(2, 11, 22, 0.55);
}

.sx-core-module:hover .sx-core-module-name[b-fsayxhfecd],
.sx-core-module:focus-visible .sx-core-module-name[b-fsayxhfecd],
.sx-core-module.is-active .sx-core-module-name[b-fsayxhfecd] {
    color: var(--sx-cyan);
    border-color: rgba(24, 168, 216, 0.4);
    background: rgba(24, 168, 216, 0.08);
}

.sx-core-module:focus-visible[b-fsayxhfecd] {
    outline: none;
}

.sx-core-info[b-fsayxhfecd] {
    min-height: 300px;
}

.sx-core-info-card[b-fsayxhfecd] {
    padding: 26px;
    border-radius: 20px;
    background:
        radial-gradient(480px 260px at 90% 0%, rgba(24, 168, 216, 0.08), transparent 60%),
        rgba(4, 16, 31, 0.75);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--sx-line-strong);
    box-shadow: var(--sx-shadow);
    animation: sxCoreCardIn-b-fsayxhfecd 0.3s ease both;
}

.sx-core-info-card--idle[b-fsayxhfecd] {
    animation: none;
}

.sx-core-info-head[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.sx-core-info-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 1.15rem;
    color: #ffffff;
    background: var(--sx-grad);
    border: 1px solid rgba(24, 168, 216, 0.5);
    box-shadow: 0 0 24px rgba(24, 168, 216, 0.35);
    flex-shrink: 0;
}

.sx-core-info-title[b-fsayxhfecd] {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sx-text);
}

.sx-core-info-text[b-fsayxhfecd] {
    margin: 0 0 18px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--sx-muted);
}

.sx-core-info-signals[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sx-core-info-signal[b-fsayxhfecd] {
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--sx-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    color: var(--sx-cyan);
    background: rgba(24, 168, 216, 0.08);
    border: 1px solid rgba(24, 168, 216, 0.28);
}

/* ============================================================
   NOSOTROS
   ============================================================ */

.sx-about-panel[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
    padding: 48px;
    border-radius: 26px;
    background:
        radial-gradient(800px 420px at 90% 0%, rgba(8, 120, 184, 0.1), transparent 60%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sx-line);
    box-shadow: var(--sx-shadow);
}

.sx-about-copy[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.sx-about-pillars[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    margin-top: 8px;
}

.sx-about-pillar[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.sx-about-pillar:hover[b-fsayxhfecd] {
    border-color: rgba(24, 168, 216, 0.35);
    transform: translateY(-3px);
}

.sx-about-pillar-icon[b-fsayxhfecd] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--sx-cyan);
    background: var(--sx-grad-soft);
    border: 1px solid var(--sx-line-strong);
    margin-bottom: 4px;
}

.sx-about-pillar strong[b-fsayxhfecd] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-about-pillar > span:last-child[b-fsayxhfecd] {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--sx-muted);
}

.sx-about-clients[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.sx-about-clients-title[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
}

.sx-about-clients-grid[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sx-about-client[b-fsayxhfecd] {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--sx-ice);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.sx-about-client[b-fsayxhfecd]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sx-cyan);
    box-shadow: 0 0 10px rgba(24, 168, 216, 0.8);
    flex-shrink: 0;
}

.sx-about-client:hover[b-fsayxhfecd] {
    border-color: rgba(24, 168, 216, 0.35);
    background: rgba(24, 168, 216, 0.05);
}

.sx-about-stats[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--sx-line);
}

.sx-about-stat[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 14px;
}

.sx-about-stat-value[b-fsayxhfecd] {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--sx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sx-about-stat-label[b-fsayxhfecd] {
    font-size: 0.72rem;
    color: var(--sx-muted);
}

.sx-brand-strip[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
    padding: 22px 30px;
    border-radius: 20px;
    background:
        radial-gradient(500px 220px at 50% 0%, rgba(24, 168, 216, 0.07), transparent 60%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sx-line);
}

.sx-brand-strip-item[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sx-brand-strip-logo[b-fsayxhfecd] {
    height: 46px;
    width: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    /*filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(2, 11, 22, 0.35));
    opacity: 0.92;*/
}

.sx-brand-strip-logo-soft[b-fsayxhfecd] {
    height: 46px;
    width: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(2, 11, 22, 0.35));
    opacity: 0.92;
}
.sx-brand-strip-caption[b-fsayxhfecd] {
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sx-muted);
}

.sx-brand-strip-sep[b-fsayxhfecd] {
    width: 1px;
    height: 52px;
    background: linear-gradient(180deg, transparent, rgba(24, 168, 216, 0.35), transparent);
}

.sx-brand-strip-note[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--sx-muted);
    max-width: 260px;
    line-height: 1.5;
}

.sx-brand-strip-note strong[b-fsayxhfecd] {
    color: var(--sx-ice);
    font-weight: 700;
}

.sx-team[b-fsayxhfecd] {
    margin-top: 64px;
}

.sx-team-head[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.sx-team-title[b-fsayxhfecd] {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-team-sub[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--sx-muted);
}

.sx-team-grid[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.sx-team-card[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 24px 16px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.sx-team-card:hover[b-fsayxhfecd],
.sx-team-card:focus-within[b-fsayxhfecd] {
    transform: translateY(-5px);
    border-color: rgba(24, 168, 216, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 22px 50px rgba(2, 11, 22, 0.55), 0 0 0 1px rgba(24, 168, 216, 0.12);
}

.sx-team-photo[b-fsayxhfecd] {
    position: relative;
    width: 94px;
    height: 94px;
    padding: 3px;
    border-radius: 50%;
    background: var(--sx-grad);
    box-shadow: 0 0 26px rgba(24, 168, 216, 0.25);
    margin-bottom: 8px;
}

.sx-team-photo img[b-fsayxhfecd] {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #04101F;
    filter: saturate(0.82);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.sx-team-card:hover .sx-team-photo img[b-fsayxhfecd] {
    filter: saturate(1.05);
    transform: scale(1.04);
}

.sx-team-photo-fallback[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #04101F;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sx-cyan);
    font-size: 1.7rem;
}

.sx-team-index[b-fsayxhfecd] {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--sx-mono);
    font-size: 0.6rem;
    color: #ffffff;
    background: #07203A;
    border: 1px solid rgba(24, 168, 216, 0.5);
}

.sx-team-name[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--sx-text);
}

.sx-team-role[b-fsayxhfecd] {
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sx-cyan);
    background: rgba(24, 168, 216, 0.08);
    border: 1px solid rgba(24, 168, 216, 0.25);
}

.sx-team-tagline[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--sx-muted);
}

@media (max-width: 991.98px) {
    .sx-team-grid[b-fsayxhfecd] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .sx-team-grid[b-fsayxhfecd] {
        grid-template-columns: 1fr;
    }

    .sx-team-photo[b-fsayxhfecd] {
        width: 84px;
        height: 84px;
    }
}

/* ============================================================
   CONVERSIÓN
   ============================================================ */

.sx-cta-panel[b-fsayxhfecd] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 64px 48px;
    border-radius: 28px;
    background:
        radial-gradient(760px 420px at 50% 0%, rgba(24, 168, 216, 0.1), transparent 62%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line-strong);
    box-shadow: var(--sx-shadow);
    overflow: hidden;
}

.sx-cta-glow[b-fsayxhfecd] {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(24, 168, 216, 0.18), transparent 65%);
    filter: blur(50px);
    pointer-events: none;
    animation: sxCtaGlow-b-fsayxhfecd 7s ease-in-out infinite alternate;
}

.sx-cta-title[b-fsayxhfecd] {
    max-width: 720px;
    font-size: clamp(1.9rem, 3vw + 0.8rem, 3rem);
}

.sx-cta-lead[b-fsayxhfecd] {
    max-width: 560px;
}

.sx-cta-actions[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.sx-cta-contacts[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--sx-line);
}

.sx-cta-contacts a[b-fsayxhfecd],
.sx-cta-contacts span[b-fsayxhfecd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--sx-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sx-cta-contacts a:hover[b-fsayxhfecd] {
    color: var(--sx-cyan);
}

.sx-cta-contacts i[b-fsayxhfecd] {
    color: var(--sx-cyan);
}

/* ============================================================
   MODALES — cookies y privacidad
   ============================================================ */

.sx-cookie-backdrop[b-fsayxhfecd],
.sx-privacy-backdrop[b-fsayxhfecd] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 11, 22, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: sxFadeIn-b-fsayxhfecd 0.3s ease both;
}

.sx-cookie-panel[b-fsayxhfecd] {
    max-width: 460px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 34px 30px;
    border-radius: 22px;
    text-align: center;
    background: rgba(4, 16, 31, 0.96);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 40px 100px rgba(2, 11, 22, 0.8);
    animation: sxModalIn-b-fsayxhfecd 0.32s ease both;
}

.sx-cookie-icon[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.5rem;
    color: #ffffff;
    background: var(--sx-grad);
    box-shadow: 0 0 30px rgba(24, 168, 216, 0.4);
}

.sx-cookie-title[b-fsayxhfecd] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sx-text);
}

.sx-cookie-text[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--sx-muted);
}

.sx-cookie-points[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
}

.sx-cookie-points span[b-fsayxhfecd] {
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--sx-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: var(--sx-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sx-line);
}

.sx-cookie-actions[b-fsayxhfecd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.sx-cookie-actions .sx-btn[b-fsayxhfecd] {
    height: 44px;
    font-size: 0.84rem;
    flex: 1;
    min-width: 150px;
}

.sx-privacy-modal[b-fsayxhfecd] {
    max-width: 760px;
    width: 100%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(4, 16, 31, 0.98);
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 40px 100px rgba(2, 11, 22, 0.85);
    animation: sxModalIn-b-fsayxhfecd 0.32s ease both;
}

.sx-privacy-header[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--sx-line);
}

.sx-privacy-title[b-fsayxhfecd] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sx-text);
}

.sx-privacy-close[b-fsayxhfecd] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--sx-line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--sx-muted);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.sx-privacy-close:hover[b-fsayxhfecd] {
    color: var(--sx-text);
    border-color: rgba(24, 168, 216, 0.4);
    background: rgba(56, 152, 216, 0.1);
}

.sx-privacy-body[b-fsayxhfecd] {
    padding: 20px 24px 26px;
    overflow-y: auto;
    color: var(--sx-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================================
   Scroll reveal
   ============================================================ */

[data-sx-reveal][b-fsayxhfecd] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-sx-reveal].is-visible[b-fsayxhfecd] {
    opacity: 1;
    transform: none;
}

/* ============================================================
   Keyframes
   ============================================================ */

@keyframes sxPulse-b-fsayxhfecd {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes sxSpin-b-fsayxhfecd {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sxRingPulse-b-fsayxhfecd {
    0% { transform: scale(0.82); opacity: 0.9; }
    70% { transform: scale(1.14); opacity: 0.15; }
    100% { transform: scale(1.18); opacity: 0; }
}

/* Parpadeo de los iconos de salud: brillo + escala suave. Usa la
   propiedad individual translate (CSS individual transforms) para
   convivir con translate(-50%,-50%) del centrado del icono. */
@keyframes sxHealthBlink-b-fsayxhfecd {
    0%, 100% {
        translate: -50% -50%;
        scale: 1;
        filter: brightness(1) drop-shadow(0 0 6px rgba(24, 168, 216, 0.25));
    }
    50% {
        translate: -50% -50%;
        scale: 1.22;
        filter: brightness(1.45) drop-shadow(0 0 16px rgba(24, 168, 216, 0.8));
    }
}

@keyframes sxDashFlow-b-fsayxhfecd {
    to { stroke-dashoffset: -14; }
}

@keyframes sxEcgDraw-b-fsayxhfecd {
    to { stroke-dashoffset: -900; }
}

@keyframes sxFloat-b-fsayxhfecd {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Rejilla digital del botón primario (recuadro interactivo) */
@keyframes sxBtnGrid-b-fsayxhfecd {
    0% {
        opacity: 0;
        transform: translate3d(0, 20%, 0) scale(0.96);
        filter: blur(3px);
    }
    40% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 0.4;
        transform: translate3d(0, -10%, 0) scale(1.1);
        filter: blur(3px);
    }
}

/* Barrido de luz del botón primario */
@keyframes sxBtnSweep-b-fsayxhfecd {
    0% {
        opacity: 0;
        transform: translate3d(-90%, 0, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
}

@keyframes sxAurora-b-fsayxhfecd {
    0% { transform: rotate(0deg) scale(1); opacity: 0.7; }
    100% { transform: rotate(18deg) scale(1.15); opacity: 1; }
}

@keyframes sxDotsDrift-b-fsayxhfecd {
    from { background-position: 0 0, 0 0; }
    to { background-position: 60px 40px, -40px 30px; }
}

@keyframes sxScrollLine-b-fsayxhfecd {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40% { opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

@keyframes sxShieldCheck-b-fsayxhfecd {
    0%, 20% { stroke-dashoffset: 140; }
    70%, 100% { stroke-dashoffset: 0; }
}

@keyframes sxCoreCardIn-b-fsayxhfecd {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sxFadeIn-b-fsayxhfecd {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes sxModalIn-b-fsayxhfecd {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sxCtaGlow-b-fsayxhfecd {
    from { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
    to { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1199.98px) {
    .sx-hv-rings[b-fsayxhfecd] {
        width: 460px;
        height: 460px;
    }

    .sx-hv-ecg[b-fsayxhfecd] {
        width: 480px;
    }

    .sx-hero-visual[b-fsayxhfecd] {
        min-height: 500px;
    }
}

@media (max-width: 991.98px) {
    .sx-hero[b-fsayxhfecd] {
        padding-top: calc(var(--sx-nav-h) + 36px);
    }

    .sx-hero-grid-layout[b-fsayxhfecd] {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sx-hero-copy[b-fsayxhfecd] {
        align-items: center;
        text-align: center;
    }

    .sx-hero-sub[b-fsayxhfecd] {
        max-width: 620px;
    }

    .sx-hero-actions[b-fsayxhfecd],
    .sx-hero-chips[b-fsayxhfecd] {
        justify-content: center;
    }

    .sx-hero-visual[b-fsayxhfecd] {
        min-height: 460px;
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }

    .sx-hv-rings[b-fsayxhfecd] {
        width: 420px;
        height: 420px;
    }

    .sx-split[b-fsayxhfecd],
    .sx-interop-grid[b-fsayxhfecd],
    .sx-core-grid[b-fsayxhfecd],
    .sx-about-panel[b-fsayxhfecd] {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sx-split--reverse .sx-split-visual[b-fsayxhfecd] {
        order: 2;
    }

    .sx-split--reverse .sx-split-copy[b-fsayxhfecd] {
        order: 1;
    }

    .sx-module-grid[b-fsayxhfecd] {
        grid-template-columns: repeat(2, 1fr);
    }

    .sx-core-stage[b-fsayxhfecd],
    .sx-sec-stage[b-fsayxhfecd] {
        height: 480px;
    }
}

@media (max-width: 767.98px) {
    .sx-section[b-fsayxhfecd] {
        padding: 80px 0;
    }

    .sx-section--conversion[b-fsayxhfecd] {
        padding: 90px 0 100px;
    }

    .sx-hv-rings[b-fsayxhfecd] {
        width: 340px;
        height: 340px;
    }

    .sx-hv-ecg[b-fsayxhfecd] {
        width: 380px;
    }

    .sx-hv-card[b-fsayxhfecd] {
        padding: 10px 12px;
    }

    .sx-hv-card-value[b-fsayxhfecd] {
        font-size: 0.72rem;
    }

    .sx-hv-card--a[b-fsayxhfecd] { top: 40px; left: 2%; }
    .sx-hv-card--b[b-fsayxhfecd] { top: 170px; right: 0; }
    .sx-hv-card--c[b-fsayxhfecd] { bottom: 30px; left: 4%; }

    /* Ecosistema en móvil: núcleo arriba + nube de chips */
    .sx-eco-canvas[b-fsayxhfecd] {
        height: auto;
        padding: 28px 18px 96px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .sx-eco-lines[b-fsayxhfecd] {
        display: none;
    }

    .sx-eco-core[b-fsayxhfecd] {
        position: static;
        transform: none;
        margin-bottom: 6px;
    }

    .sx-eco-node[b-fsayxhfecd] {
        position: static;
        transform: none;
        flex-direction: row;
        width: 100%;
        max-width: 300px;
        padding: 10px 14px;
        border-radius: 14px;
        background: rgba(7, 32, 58, 0.9);
        border: 1px solid var(--sx-line-strong);
        align-items: center;
    }

    .sx-eco-node-icon[b-fsayxhfecd] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .sx-eco-node-label[b-fsayxhfecd] {
        background: transparent;
        border: none;
        padding: 0;
        font-size: 0.82rem;
    }

    .sx-eco-status[b-fsayxhfecd] {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 14px;
        flex-wrap: wrap;
    }

    .sx-eco-status-title[b-fsayxhfecd] {
        white-space: normal;
    }

    .sx-module-grid[b-fsayxhfecd] {
        grid-template-columns: 1fr;
    }

    .sx-interop-hub[b-fsayxhfecd] {
        height: 420px;
    }

    .sx-interop-peer[b-fsayxhfecd] {
        padding: 7px 10px;
    }

    .sx-interop-peer-name[b-fsayxhfecd] {
        font-size: 0.68rem;
    }

    .sx-intel-kpis[b-fsayxhfecd] {
        grid-template-columns: repeat(2, 1fr);
    }

    .sx-core-stage[b-fsayxhfecd] {
        height: 430px;
    }

    .sx-core-module-icon[b-fsayxhfecd] {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .sx-about-panel[b-fsayxhfecd] {
        padding: 30px 22px;
    }

    .sx-about-pillars[b-fsayxhfecd] {
        grid-template-columns: 1fr;
    }

    .sx-about-clients-grid[b-fsayxhfecd] {
        grid-template-columns: 1fr;
    }

    .sx-about-stats[b-fsayxhfecd] {
        grid-template-columns: repeat(3, 1fr);
    }

    .sx-cta-panel[b-fsayxhfecd] {
        padding: 44px 22px;
    }
}

@media (max-width: 479.98px) {
    .sx-container[b-fsayxhfecd] {
        padding: 0 16px;
    }

    .sx-hero-visual[b-fsayxhfecd] {
        min-height: 380px;
    }

    .sx-hv-rings[b-fsayxhfecd] {
        width: 280px;
        height: 280px;
    }

    .sx-hv-ecg[b-fsayxhfecd] {
        width: 320px;
    }

    .sx-hv-card--b[b-fsayxhfecd] {
        display: none;
    }

    .sx-hv-orbit[b-fsayxhfecd] {
        width: 300px;
        height: 300px;
    }

    .sx-intel-panel[b-fsayxhfecd] {
        padding: 16px;
    }

    .sx-sec-stage[b-fsayxhfecd] {
        height: 400px;
    }

    .sx-core-stage[b-fsayxhfecd] {
        height: 380px;
    }

    .sx-core-module-name[b-fsayxhfecd] {
        font-size: 0.6rem;
    }

    .sx-about-stats[b-fsayxhfecd] {
        grid-template-columns: 1fr;
    }

    .sx-cta-actions .sx-btn[b-fsayxhfecd] {
        width: 100%;
    }

    .sx-cookie-panel[b-fsayxhfecd] {
        padding: 26px 20px;
    }
}

/* ============================================================
   Clientes — marquee de instituciones que confían en SUROS
   ============================================================ */

.sx-section--clients[b-fsayxhfecd] {
    padding-top: 40px;
}

.sx-clients-marquee[b-fsayxhfecd] {
    position: relative;
    overflow: hidden;
    padding: 14px 0 18px;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.sx-clients-track[b-fsayxhfecd] {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: sxClientsScroll-b-fsayxhfecd 42s linear infinite;
    will-change: transform;
}

.sx-clients-marquee:hover .sx-clients-track[b-fsayxhfecd] {
    animation-play-state: paused;
}

.sx-client-card[b-fsayxhfecd] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 14px;
    background: #F4F7F9;
    border: 1px solid rgba(24, 168, 216, 0.18);
    box-shadow:
        0 14px 30px rgba(2, 11, 22, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sx-client-card:hover[b-fsayxhfecd] {
    transform: translateY(-4px);
    border-color: rgba(24, 168, 216, 0.5);
    box-shadow:
        0 20px 40px rgba(2, 11, 22, 0.5),
        0 0 24px rgba(24, 168, 216, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sx-client-card img[b-fsayxhfecd] {
    display: block;
    height: 40px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

.sx-client-name[b-fsayxhfecd] {
    font-family: var(--sx-font);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #07203A;
    white-space: nowrap;
}

.sx-clients-note[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 26px 0 0;
    font-size: 0.88rem;
    color: var(--sx-muted, #9DBED6);
    text-align: center;
}

.sx-clients-note i[b-fsayxhfecd] {
    color: var(--sx-cyan);
    font-size: 1rem;
}

.sx-clients-note strong[b-fsayxhfecd] {
    color: var(--sx-text);
    font-weight: 700;
}

@keyframes sxClientsScroll-b-fsayxhfecd {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   Marca de agua — logo SUROS de fondo, siempre presente
   ============================================================ */

.sx-watermark[b-fsayxhfecd] {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sx-watermark img[b-fsayxhfecd] {
    width: min(480px, 70vw);
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.035;
    animation: sxWatermarkPulse-b-fsayxhfecd 14s ease-in-out infinite;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes sxWatermarkPulse-b-fsayxhfecd {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.055; }
}

/* ============================================================
   Navegación flotante — ir al inicio / ir al final
   ============================================================ */

.sx-float-nav[b-fsayxhfecd] {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sx-float-nav.is-visible[b-fsayxhfecd] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sx-float-btn[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--sx-cyan);
    background: rgba(7, 32, 58, 0.82);
    border: 1px solid rgba(24, 168, 216, 0.28);
    box-shadow:
        0 14px 30px rgba(2, 11, 22, 0.5),
        0 0 18px rgba(24, 168, 216, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, opacity 0.25s ease;
}

.sx-float-btn.is-hidden[b-fsayxhfecd] {
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}

.sx-float-btn i.bi[b-fsayxhfecd] {
    margin: auto;
    line-height: 1;
    font-style: normal;
}

.sx-float-btn:hover[b-fsayxhfecd],
.sx-float-btn:focus-visible[b-fsayxhfecd] {
    color: #ffffff;
    background: var(--sx-grad);
    border-color: rgba(24, 168, 216, 0.6);
    box-shadow:
        0 18px 36px rgba(2, 11, 22, 0.6),
        0 0 26px rgba(24, 168, 216, 0.35);
    transform: translateY(-3px);
}

.sx-float-btn:focus-visible[b-fsayxhfecd] {
    outline: 2px solid var(--sx-cyan);
    outline-offset: 3px;
}

/* ============================================================
   TESTIMONIOS — Banda azul de marca
   ============================================================ */

.sx-testimonials[b-fsayxhfecd] {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(120deg, var(--sx-blue) 0%, var(--sx-azure) 60%, var(--sx-cyan) 100%);
    overflow: hidden;
}

.sx-testimonials .sx-eyebrow[b-fsayxhfecd] {
    color: rgba(255, 255, 255, 0.92);
}

.sx-testimonials .sx-eyebrow-dot[b-fsayxhfecd] {
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.sx-testimonials .sx-h2[b-fsayxhfecd] {
    color: #ffffff;
}

.sx-testimonials .sx-lead[b-fsayxhfecd] {
    color: rgba(255, 255, 255, 0.85);
}

.sx-wave-top[b-fsayxhfecd],
.sx-wave-bottom[b-fsayxhfecd] {
    position: absolute;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.sx-wave-top[b-fsayxhfecd] {
    top: -1px;
    transform: rotate(180deg);
}

.sx-wave-bottom[b-fsayxhfecd] {
    bottom: -1px;
}

.sx-wave-top svg[b-fsayxhfecd],
.sx-wave-bottom svg[b-fsayxhfecd] {
    width: 100%;
    height: 70px;
    display: block;
}

.sx-testimonial-grid[b-fsayxhfecd] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sx-testimonial[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 42, 74, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sx-testimonial:hover[b-fsayxhfecd] {
    transform: translateY(-6px);
}

.sx-testimonial-quote-mark[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(241, 90, 36, 0.12);
    color: var(--sx-coral, #F15A24);
}

.sx-testimonial-quote-mark i.bi[b-fsayxhfecd] {
    margin: auto;
    line-height: 1;
    font-style: normal;
}

.sx-testimonial-quote[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #33475c;
}

.sx-testimonial-who[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.sx-testimonial-avatar[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sx-blue), var(--sx-azure));
    flex-shrink: 0;
}

.sx-testimonial-meta[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sx-testimonial-name[b-fsayxhfecd] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #10263d;
}

.sx-testimonial-org[b-fsayxhfecd] {
    font-size: 0.74rem;
    color: #6c8ba5;
}

/* ============================================================
   BLOG — Mantente al tanto de lo que viene
   ============================================================ */

.sx-section--blog[b-fsayxhfecd] {
    background:
        radial-gradient(1000px 600px at 85% 10%, rgba(8, 88, 152, 0.12), transparent 55%),
        var(--sx-bg-0);
}

.sx-blog-grid[b-fsayxhfecd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sx-post[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--sx-bg-3) 0%, var(--sx-bg-1) 100%);
    border: 1px solid var(--sx-line);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sx-post:hover[b-fsayxhfecd] {
    transform: translateY(-6px);
    border-color: var(--sx-line-strong);
    box-shadow: var(--sx-shadow);
}

.sx-post-cover[b-fsayxhfecd] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: var(--sx-grad-soft);
}

.sx-post-cover img[b-fsayxhfecd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sx-post-body[b-fsayxhfecd] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1;
}

.sx-post-tag[b-fsayxhfecd] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sx-cyan);
}

.sx-post-title[b-fsayxhfecd] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sx-text);
}

.sx-post p[b-fsayxhfecd] {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--sx-muted);
}

.sx-post-link[b-fsayxhfecd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sx-azure);
}

.sx-post-link i.bi[b-fsayxhfecd] {
    line-height: 1;
    font-style: normal;
}

.sx-blog-cta[b-fsayxhfecd] {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .sx-testimonial-grid[b-fsayxhfecd],
    .sx-blog-grid[b-fsayxhfecd] {
        grid-template-columns: 1fr;
    }

    .sx-testimonials[b-fsayxhfecd] {
        padding: 80px 0;
    }
}

/* Cookie — URL directa a políticas */
.sx-cookie-url[b-fsayxhfecd] {
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: rgba(157, 190, 214, 0.92);
}

.sx-cookie-url a[b-fsayxhfecd] {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
}

.sx-cookie-url a:hover[b-fsayxhfecd] {
    text-decoration: underline;
}

.sx-cookie-url-alias[b-fsayxhfecd] {
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.72rem;
}

.sx-cookie-actions .sx-btn-sm[b-fsayxhfecd] {
    padding: 6px 10px;
    font-size: 0.76rem;
}

.sx-footer-bullet[b-fsayxhfecd] {
    color: rgba(148, 163, 184, 0.5);
}

/* ============================================================
    Accesibilidad — movimiento reducido
    ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .sx-shell *[b-fsayxhfecd],
    .sx-shell *[b-fsayxhfecd]::before,
    .sx-shell *[b-fsayxhfecd]::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-sx-reveal][b-fsayxhfecd] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .sx-intel-bar[b-fsayxhfecd] {
        transform: scaleY(1);
    }
}
/* /Presentation/Components/Pages/Cms/Politicas.razor.rz.scp.css */
.suros-politicas-shell[b-xklfhdber6] {
    min-height: 100vh;
}

.suros-politicas-main[b-xklfhdber6] {
    position: relative;
    z-index: 1;
}

/* HERO */
.suros-politicas-hero[b-xklfhdber6] {
    position: relative;
    overflow: hidden;
    padding: 42px 0 36px;
    background: linear-gradient(180deg, rgba(7, 24, 48, 0.98) 0%, rgba(10, 31, 62, 0.98) 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.suros-politicas-hero-bg[b-xklfhdber6] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
}

.suros-politicas-breadcrumb[b-xklfhdber6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(186, 212, 240, 0.8);
    margin-bottom: 14px;
}

.suros-politicas-breadcrumb a[b-xklfhdber6] {
    color: #7dd3fc;
    text-decoration: none;
}

.suros-politicas-breadcrumb a:hover[b-xklfhdber6] {
    text-decoration: underline;
    color: #e0f2fe;
}

.suros-politicas-lead[b-xklfhdber6] {
    max-width: 760px;
    margin-top: 12px;
}

.suros-politicas-lead code[b-xklfhdber6] {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.18);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 0.82em;
    color: #7dd3fc;
}

.suros-politicas-hero-actions[b-xklfhdber6] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.suros-politicas-canonical[b-xklfhdber6] {
    margin-top: 18px;
    font-size: 0.82rem;
    color: rgba(186, 212, 240, 0.88);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.suros-politicas-canonical strong[b-xklfhdber6] {
    color: #e0f2fe;
    font-weight: 600;
}

.suros-politicas-alias[b-xklfhdber6] {
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.78rem;
}

/* GRID */
.suros-politicas-grid-section[b-xklfhdber6] {
    padding-top: 36px;
    padding-bottom: 44px;
}

.suros-politicas-grid[b-xklfhdber6] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.suros-politica-card[b-xklfhdber6] {
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.10), transparent 55%),
        rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 16px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 16px 40px rgba(2, 12, 32, 0.28);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.suros-politica-card:hover[b-xklfhdber6] {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow: 0 20px 48px rgba(2, 12, 32, 0.38);
}

.suros-politica-card--soon[b-xklfhdber6] {
    opacity: 0.92;
    background: rgba(15, 23, 42, 0.78);
    border-style: dashed;
}

.suros-politica-card-top[b-xklfhdber6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.suros-politica-icon[b-xklfhdber6] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: white;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.28);
}

.suros-politica-card--soon .suros-politica-icon[b-xklfhdber6] {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: none;
}

.suros-politica-badge[b-xklfhdber6] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.suros-politica-badge--active[b-xklfhdber6] {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.22);
}

.suros-politica-badge--soon[b-xklfhdber6] {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.18);
}

.suros-politica-title[b-xklfhdber6] {
    font-size: 1.02rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.3;
    margin: 0;
}

.suros-politica-desc[b-xklfhdber6] {
    font-size: 0.86rem;
    color: rgba(203, 213, 225, 0.92);
    line-height: 1.55;
    margin: 0;
}

.suros-politica-meta[b-xklfhdber6] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.suros-politica-meta li[b-xklfhdber6] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.95);
}

.suros-politica-meta code[b-xklfhdber6] {
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.14);
    padding: 1px 6px;
    border-radius: 6px;
    color: #7dd3fc;
    font-size: 0.78rem;
}

.suros-politica-actions[b-xklfhdber6] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.suros-politica-actions .sx-btn[b-xklfhdber6] {
    font-size: 0.84rem;
    padding: 8px 14px;
}

.suros-politica-actions .is-disabled[b-xklfhdber6] {
    opacity: 0.55;
    pointer-events: none;
}

.suros-politica-feedback[b-xklfhdber6] {
    font-size: 0.78rem;
    color: #86efac;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.18);
    padding: 6px 10px;
    border-radius: 8px;
}

.suros-politica-url[b-xklfhdber6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: rgba(148, 163, 184, 0.92);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding-top: 10px;
    margin-top: 2px;
}

.suros-politica-url code[b-xklfhdber6] {
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.12);
    padding: 2px 6px;
    border-radius: 6px;
}

.suros-politica-url-alias[b-xklfhdber6] {
    color: rgba(148, 163, 184, 0.72);
}

/* HELP */
.suros-politicas-help[b-xklfhdber6] {
    margin-top: 28px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 12px 32px rgba(2, 12, 32, 0.22);
}

.suros-politicas-help-title[b-xklfhdber6] {
    font-size: 0.98rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suros-politicas-help p[b-xklfhdber6] {
    font-size: 0.86rem;
    color: rgba(203, 213, 225, 0.92);
    margin: 0 0 10px;
}

.suros-politicas-help-url[b-xklfhdber6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: rgba(2, 12, 32, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 10px;
    padding: 10px 12px;
}

.suros-politicas-help-url code[b-xklfhdber6] {
    color: #e0f2fe;
    font-size: 0.88rem;
    word-break: break-all;
}

.suros-politicas-help-url .sx-btn-sm[b-xklfhdber6] {
    padding: 6px 10px;
    font-size: 0.78rem;
}

.suros-politicas-help-note[b-xklfhdber6] {
    font-size: 0.78rem !important;
    color: rgba(148, 163, 184, 0.92) !important;
    margin-top: 10px !important;
}

.suros-politicas-help-note a[b-xklfhdber6] {
    color: #7dd3fc;
    text-decoration: none;
}

.suros-politicas-help-note a:hover[b-xklfhdber6] {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .suros-politicas-grid[b-xklfhdber6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .suros-politicas-hero[b-xklfhdber6] {
        padding: 28px 0 24px;
    }

    .suros-politicas-grid[b-xklfhdber6] {
        grid-template-columns: 1fr;
    }

    .suros-politicas-canonical[b-xklfhdber6] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Presentation/Components/Pages/Cms/PrivacyPolicy.razor.rz.scp.css */
.suros-privacy-root[b-eikgrtzbyp] {
    --suros-privacy-primary-color: #38bdf8;
    --suros-privacy-secondary-color: #e5f2ff;
    --suros-privacy-text-color: #dbeafe;
    --suros-privacy-bg-color: transparent;
    --suros-privacy-card-bg: rgba(15, 23, 42, 0.94);
    --suros-privacy-link-color: #7dd3fc;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--suros-privacy-text-color);
    background-color: var(--suros-privacy-bg-color);
    padding: 20px;
}

.suros-privacy-container[b-eikgrtzbyp] {
    max-width: 900px;
    margin: 40px auto;
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.24), transparent 55%),
        var(--suros-privacy-card-bg);
    padding: 60px;
    border-radius: 18px;
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(30, 64, 175, 0.9);
}

.suros-privacy-root header[b-eikgrtzbyp] {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding-bottom: 30px;
}

.suros-privacy-root h1[b-eikgrtzbyp] {
    color: var(--suros-privacy-secondary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.suros-privacy-root .last-updated[b-eikgrtzbyp] {
    color: #9ca3af;
    font-size: 0.9rem;
}

.suros-privacy-root section[b-eikgrtzbyp] {
    margin-bottom: 40px;
}

.suros-privacy-root h2[b-eikgrtzbyp] {
    color: var(--suros-privacy-secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.suros-privacy-root h2[b-eikgrtzbyp]::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background-color: var(--suros-privacy-primary-color);
    margin-right: 12px;
    border-radius: 2px;
}

.suros-privacy-root p[b-eikgrtzbyp] {
    margin-bottom: 15px;
    color: var(--suros-privacy-text-color);
}

.suros-privacy-root ul[b-eikgrtzbyp] {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 10px;
}

.suros-privacy-root li[b-eikgrtzbyp] {
    margin-bottom: 8px;
    color: var(--suros-privacy-text-color);
}

.suros-privacy-root a[b-eikgrtzbyp] {
    color: var(--suros-privacy-link-color);
    text-decoration: none;
    font-weight: 500;
}

.suros-privacy-root a:hover[b-eikgrtzbyp] {
    text-decoration: underline;
}

.suros-privacy-root footer[b-eikgrtzbyp] {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    color: #9aa8b6;
    font-size: 0.9rem;
}

.suros-privacy-nav[b-eikgrtzbyp] {
    max-width: 900px;
    margin: 12px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px 2px;
}

.suros-privacy-nav-link[b-eikgrtzbyp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #93c5fd !important;
    text-decoration: none;
    opacity: 0.95;
}

.suros-privacy-nav-link:hover[b-eikgrtzbyp] {
    color: #e0f2fe !important;
    text-decoration: underline;
}

.suros-privacy-nav-sep[b-eikgrtzbyp] {
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .suros-privacy-container[b-eikgrtzbyp] {
        padding: 30px;
        margin: 20px auto;
    }

        .suros-privacy-root h1[b-eikgrtzbyp] {
            font-size: 2rem;
        }
}
/* /Presentation/Components/Pages/Cms/SurosLandingFooter.razor.rz.scp.css */
.sx-footer[b-tbze5b9edo] {
    position: relative;
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(8, 88, 152, 0.12), transparent 60%),
        linear-gradient(180deg, #04101F 0%, #020B16 100%);
    border-top: 1px solid var(--sx-line, rgba(56, 152, 216, 0.14));
    padding: 64px 0 0;
}

/* Hospital en perspectiva como marca de agua de fondo: ancho completo,
   muy sutil, con el contenido del footer por encima. */
.sx-footer-watermark[b-tbze5b9edo] {
    position: absolute;
    inset: 0 0 0 0;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.sx-footer-watermark img[b-tbze5b9edo] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.06;
    filter: drop-shadow(0 0 30px rgba(24, 168, 216, 0.12));
    user-select: none;
    -webkit-user-drag: none;
}

.sx-footer-inner[b-tbze5b9edo] {
    position: relative;
    z-index: 1;
}

.sx-footer[b-tbze5b9edo]::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(24, 168, 216, 0.5), transparent);
    pointer-events: none;
}

.sx-container[b-tbze5b9edo] {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.sx-footer-top[b-tbze5b9edo] {
    display: grid;
    grid-template-columns: minmax(260px, 1.05fr) minmax(0, 2fr);
    gap: 56px;
}

/* Marca */
.sx-footer-brand[b-tbze5b9edo] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sx-footer-logo-link[b-tbze5b9edo] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sx-footer-logo[b-tbze5b9edo] {
    width: 74px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--sx-line, rgba(56, 152, 216, 0.16));
    box-shadow: 0 0 24px rgba(56, 152, 216, 0.12);
}

.sx-footer-logo img[b-tbze5b9edo] {
    width: 52px;
    height: auto;
    /*filter: brightness(0) invert(1);
    opacity: 0.96;*/
}

.sx-footer-brand-text[b-tbze5b9edo] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sx-footer-brand-name[b-tbze5b9edo] {
    font-family: var(--sx-font, 'Raleway', system-ui, sans-serif);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    color: var(--sx-text, #EAF4FC);
}

.sx-footer-brand-tag[b-tbze5b9edo] {
    font-family: var(--sx-mono, ui-monospace, Consolas, monospace);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sx-cyan, #18A8D8);
    opacity: 0.85;
}

.sx-footer-description[b-tbze5b9edo] {
    margin: 0;
    max-width: 340px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--sx-muted, #9DBED6);
}

.sx-footer-social[b-tbze5b9edo] {
    display: flex;
    gap: 10px;
}

.sx-footer-social-link[b-tbze5b9edo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 1rem;
    color: var(--sx-muted, #9DBED6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sx-line, rgba(56, 152, 216, 0.16));
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sx-footer-social-link:hover[b-tbze5b9edo],
.sx-footer-social-link:focus-visible[b-tbze5b9edo] {
    color: var(--sx-cyan, #18A8D8);
    border-color: rgba(24, 168, 216, 0.4);
    background: rgba(24, 168, 216, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 11, 22, 0.5);
    outline: none;
}

/* Centrado del glifo dentro de las cajas icon-only del footer */
.sx-footer i.bi[b-tbze5b9edo] {
    line-height: 1;
    font-style: normal;
}

.sx-footer-social-link i.bi[b-tbze5b9edo] {
    margin: auto;
    line-height: 1;
    font-style: normal;
}

/* Ajustes ópticos horizontales por glifo (centroide de tinta medido) */
.sx-footer .bi-whatsapp[b-tbze5b9edo]::before { transform: translateX(0.0317em); }
.sx-footer .bi-tiktok[b-tbze5b9edo]::before { transform: translateX(0.0156em); }
.sx-footer .bi-facebook[b-tbze5b9edo]::before { transform: translateX(0.006em); }

/* Columnas */
.sx-footer-columns[b-tbze5b9edo] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.sx-footer-column[b-tbze5b9edo] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sx-footer-column-title[b-tbze5b9edo] {
    margin: 0;
    font-family: var(--sx-mono, ui-monospace, Consolas, monospace);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sx-cyan, #18A8D8);
}

/* Mano robótica interactiva apuntando a la zona de contacto.
   Elemento recuperado de la versión anterior de la landing: la mano
   rota 220° para señalar hacia abajo y hace un gesto de "tap" con
   glow ámbar/azul sobre el título Contacto. */
.sx-footer-column-title--contact[b-tbze5b9edo] {
    position: relative;
    color: #F4F7F9;
    letter-spacing: 0.03em;
    text-shadow:
        0 0 12px rgba(250, 204, 21, 0.3),
        0 0 28px rgba(250, 204, 21, 0.24);
    animation: sxFooterContactTitle-b-tbze5b9edo 3200ms ease-in-out infinite;
}

.sx-footer-column-title--contact[b-tbze5b9edo]::before {
    content: "";
    position: absolute;
    top: -6.3rem;
    left: 30%;
    width: 82px;
    height: 112px;
    transform: translateX(-50%) rotate(-220deg);
    background-image: url("/images/contact-hand.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter:
        drop-shadow(0 0 10px rgba(250, 204, 21, 0.7))
        drop-shadow(0 0 28px rgba(56, 152, 216, 0.7));
    opacity: 1;
    z-index: 3;
    pointer-events: none;
    animation: sxFooterHandTap-b-tbze5b9edo 3200ms ease-in-out infinite;
}

.sx-footer-list[b-tbze5b9edo] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sx-footer-list li[b-tbze5b9edo] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--sx-muted, #9DBED6);
    line-height: 1.5;
}

.sx-footer-link[b-tbze5b9edo] {
    color: var(--sx-muted, #9DBED6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sx-footer-link:hover[b-tbze5b9edo],
.sx-footer-link:focus-visible[b-tbze5b9edo] {
    color: var(--sx-ice, #C8D8F8);
    outline: none;
}

.sx-footer-icon[b-tbze5b9edo] {
    color: var(--sx-muted-2, #6E8FAA);
    font-size: 0.85rem;
    margin-top: 2px;
}

.sx-footer-cta[b-tbze5b9edo] {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    align-self: flex-start;
    height: 42px;
    padding: 0 18px;
    margin-top: 6px;
    border-radius: 10px;
    font-family: var(--sx-font, 'Raleway', system-ui, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(120deg, #18A8D8 0%, #0878B8 100%);
    border: 1px solid rgba(24, 168, 216, 0.4);
    box-shadow: 0 10px 28px rgba(8, 88, 152, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sx-footer-cta i[b-tbze5b9edo] {
    font-size: 1rem;
}

/* Recuadros interactivos del CTA del footer: rejilla digital + barrido
   de luz al pasar el cursor. Mismo patrón que en la landing y navbar. */
.sx-footer-cta[b-tbze5b9edo]::before,
.sx-footer-cta[b-tbze5b9edo]::after {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0;
    transform: translate3d(0, 10%, 0);
    filter: blur(1px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.sx-footer-cta[b-tbze5b9edo]::after {
    inset: -12%;
    background-image:
        linear-gradient(90deg, rgba(24, 168, 216, 0.6) 10%, transparent 40%, rgba(8, 120, 184, 0.55) 70%, transparent 100%),
        repeating-linear-gradient(
            135deg,
            rgba(24, 168, 216, 0.5) 0,
            rgba(24, 168, 216, 0.5) 2px,
            transparent 2px,
            transparent 6px
        );
    background-size: 180% 180%;
    transform: translate3d(-80%, 0, 0);
}

.sx-footer-cta[b-tbze5b9edo]::before {
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(24, 168, 216, 0.45) 0,
            rgba(24, 168, 216, 0.45) 4px,
            transparent 4px,
            transparent 8px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(56, 152, 216, 0.4) 0,
            rgba(56, 152, 216, 0.4) 4px,
            transparent 4px,
            transparent 8px
        );
    background-size: 120% 120%;
}

.sx-footer-cta:hover[b-tbze5b9edo],
.sx-footer-cta:focus-visible[b-tbze5b9edo] {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(8, 88, 152, 0.52);
    outline: none;
}

.sx-footer-cta:hover[b-tbze5b9edo]::before,
.sx-footer-cta:focus-visible[b-tbze5b9edo]::before {
    opacity: 1;
    animation: sxFooterCtaGrid-b-tbze5b9edo 900ms ease-out forwards 80ms;
}

.sx-footer-cta:hover[b-tbze5b9edo]::after,
.sx-footer-cta:focus-visible[b-tbze5b9edo]::after {
    opacity: 1;
    animation: sxFooterCtaSweep-b-tbze5b9edo 1100ms ease-out forwards 140ms;
}

/* Cinta de badges */
.sx-footer-badges[b-tbze5b9edo] {
    margin-top: 48px;
    padding: 18px 0;
    border-top: 1px solid var(--sx-line, rgba(56, 152, 216, 0.14));
    border-bottom: 1px solid var(--sx-line, rgba(56, 152, 216, 0.14));
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.sx-footer-badges-track[b-tbze5b9edo] {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: sxBadgesScroll-b-tbze5b9edo 36s linear infinite;
}

.sx-footer-badge[b-tbze5b9edo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--sx-mono, ui-monospace, Consolas, monospace);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: var(--sx-muted, #9DBED6);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--sx-line, rgba(56, 152, 216, 0.16));
}

.sx-footer-badge[b-tbze5b9edo]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sx-cyan, #18A8D8);
    box-shadow: 0 0 8px rgba(24, 168, 216, 0.8);
}

/* Barra inferior */
.sx-footer-bottom[b-tbze5b9edo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0 28px;
    font-size: 0.8rem;
    color: var(--sx-muted-2, #6E8FAA);
}

.sx-footer-bottom-mid[b-tbze5b9edo] {
    font-family: var(--sx-mono, ui-monospace, Consolas, monospace);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: rgba(157, 190, 214, 0.6);
}

.sx-footer-brand-by[b-tbze5b9edo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(24, 168, 216, 0.22);
}

.sx-footer-brand-by-text[b-tbze5b9edo] {
    font-size: 0.68rem;
    color: var(--sx-muted, #9DBED6);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sx-footer-brand-by-name[b-tbze5b9edo] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sx-ice, #C8D8F8);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .sx-footer-brand-by[b-tbze5b9edo] {
        order: 3;
    }
}

/* Keyframes */
@keyframes sxBadgesScroll-b-tbze5b9edo {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 991.98px) {
    .sx-footer-top[b-tbze5b9edo] {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sx-footer-columns[b-tbze5b9edo] {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 575.98px) {
    .sx-container[b-tbze5b9edo] {
        padding: 0 16px;
    }

    .sx-footer-columns[b-tbze5b9edo] {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sx-footer-bottom[b-tbze5b9edo] {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sx-footer-badges-track[b-tbze5b9edo] {
        animation: none;
    }

    .sx-footer-cta[b-tbze5b9edo]::before,
    .sx-footer-cta[b-tbze5b9edo]::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .sx-footer-column-title--contact[b-tbze5b9edo],
    .sx-footer-column-title--contact[b-tbze5b9edo]::before {
        animation: none;
    }
}

/* Rejilla digital del CTA del footer */
@keyframes sxFooterCtaGrid-b-tbze5b9edo {
    0% {
        opacity: 0;
        transform: translate3d(0, 20%, 0) scale(0.96);
        filter: blur(3px);
    }
    40% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 0.4;
        transform: translate3d(0, -10%, 0) scale(1.1);
        filter: blur(3px);
    }
}

/* Barrido de luz del CTA del footer */
@keyframes sxFooterCtaSweep-b-tbze5b9edo {
    0% {
        opacity: 0;
        transform: translate3d(-90%, 0, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
}

/* Gesto de "tap" de la mano que apunta a Contacto */
@keyframes sxFooterHandTap-b-tbze5b9edo {
    0%,
    100% {
        transform: translateX(-50%) rotate(220deg);
        filter:
            drop-shadow(0 0 10px rgba(250, 204, 21, 0.7))
            drop-shadow(0 0 28px rgba(56, 152, 216, 0.7));
        opacity: 1;
    }
    40% {
        transform: translateX(-50%) translateY(4px) rotate(220deg);
        filter:
            drop-shadow(0 0 16px rgba(250, 204, 21, 0.9))
            drop-shadow(0 0 36px rgba(56, 152, 216, 0.9));
        opacity: 1;
    }
    46% {
        transform: translateX(-50%) translateY(6px) rotate(220deg);
        filter:
            drop-shadow(0 0 22px rgba(250, 204, 21, 1))
            drop-shadow(0 0 44px rgba(56, 152, 216, 1));
        opacity: 1;
    }
    52% {
        transform: translateX(-50%) translateY(2px) rotate(220deg);
        filter:
            drop-shadow(0 0 14px rgba(250, 204, 21, 0.8))
            drop-shadow(0 0 32px rgba(56, 152, 216, 0.85));
        opacity: 1;
    }
}

/* Pulso del título Contacto sincronizado con el gesto de la mano */
@keyframes sxFooterContactTitle-b-tbze5b9edo {
    0%,
    100% {
        text-shadow:
            0 0 12px rgba(250, 204, 21, 0.28),
            0 0 26px rgba(56, 152, 216, 0.32);
        transform: translateY(0);
    }
    45% {
        text-shadow:
            0 0 18px rgba(250, 204, 21, 0.55),
            0 0 36px rgba(56, 152, 216, 0.46);
        transform: translateY(-1px);
    }
}
/* /Presentation/Components/Pages/ConfiguracionApp/Components/TabConfigAcademico.razor.rz.scp.css */
.aca-config-container[b-bb54ramhbk] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 4px 2px;
}

.aca-config-header[b-bb54ramhbk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
}

/* Forzar color oscuro en los títulos del header (evita que estilos heredados los pinten blancos) */
.aca-config-header h6[b-bb54ramhbk],
.aca-config-header .fw-semibold[b-bb54ramhbk] {
    color: #1a1d23 !important;
}

.aca-config-header small[b-bb54ramhbk] {
    color: #6b7280 !important;
}

.aca-config-header i[b-bb54ramhbk] {
    font-size: 1rem;
}

.aca-config-header small[b-bb54ramhbk] {
    font-size: 0.74rem;
}

/* ── Cards con switches ── */

.aca-config-card[b-bb54ramhbk] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 100%;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    min-height: 72px;
}

.aca-config-card:hover[b-bb54ramhbk] {
    border-color: #bfdbfe;
    box-shadow: 0 1px 6px rgba(26, 115, 232, 0.08);
}

.aca-config-card.on[b-bb54ramhbk] {
    border-color: #a7f3d0;
    background: #f0fdf4;
}

.aca-config-card-icon[b-bb54ramhbk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.aca-config-card.on .aca-config-card-icon[b-bb54ramhbk] {
    background: #dcfce7;
    color: #15803d;
}

.aca-config-card-body[b-bb54ramhbk] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aca-config-card-title[b-bb54ramhbk] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aca-config-card-desc[b-bb54ramhbk] {
    font-size: 0.68rem;
    color: #9ca3af;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aca-config-switch[b-bb54ramhbk] {
    flex-shrink: 0;
    /* Margen izquierdo para que el texto (título/descripción) no quede
       pegado ni se esconda detrás del switch cuando la descripción es larga */
    margin: 0 0 0 10px !important;
}

.aca-config-switch .form-check-input:checked[b-bb54ramhbk] {
    background-color: #16a34a;
    border-color: #16a34a;
}
/* /Presentation/Components/Pages/ConfiguracionApp/Components/TabConfigRda.razor.rz.scp.css */
.rda-config-container[b-vsljaz9qae] {
    display: flex;
    flex-direction: column;
}

/* ── Sección de configuración (cards con switches) ── */

.rda-config-section[b-vsljaz9qae] {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px 14px;
    overflow-y: auto;
    transition: padding 0.2s ease;
}

/* Estado colapsado: solo se muestra el header, el split gana todo el alto */
.rda-config-section.collapsed[b-vsljaz9qae] {
    padding: 4px 14px;
    margin-bottom: 8px;
    overflow: hidden;
}

.rda-config-header[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.rda-config-section.collapsed .rda-config-header[b-vsljaz9qae] {
    margin-bottom: 0;
    padding-bottom: 4px;
    border-bottom: none;
}

/* Botón colapsar/expandir la sección de configuración */

.rda-config-toggle[b-vsljaz9qae] {
    background: #f3f4f6;
    border: 1px solid #e2e4e9;
    color: #6b7280;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: all 0.15s ease;
    line-height: 1;
    padding: 0;
}

.rda-config-toggle:hover[b-vsljaz9qae] {
    background: #e8f0fe;
    border-color: #bfdbfe;
    color: #1a73e8;
}

.rda-config-toggle i[b-vsljaz9qae] {
    font-size: 0.72rem;
}

/* Forzar color oscuro en los títulos del header (evita que estilos heredados los pinten blancos) */
.rda-config-header h6[b-vsljaz9qae],
.rda-config-header .fw-semibold[b-vsljaz9qae] {
    color: #1a1d23 !important;
}

.rda-config-header small[b-vsljaz9qae] {
    color: #6b7280 !important;
}

.rda-config-card[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 100%;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    min-height: 62px;
}

.rda-config-card:hover[b-vsljaz9qae] {
    border-color: #bfdbfe;
    box-shadow: 0 1px 6px rgba(26, 115, 232, 0.08);
}

.rda-config-card.on[b-vsljaz9qae] {
    border-color: #a7f3d0;
    background: #f0fdf4;
}

.rda-config-card-icon[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.rda-config-card.on .rda-config-card-icon[b-vsljaz9qae] {
    background: #dcfce7;
    color: #15803d;
}

.rda-config-card-body[b-vsljaz9qae] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rda-config-card-title[b-vsljaz9qae] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rda-config-card-desc[b-vsljaz9qae] {
    font-size: 0.66rem;
    color: #9ca3af;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rda-config-switch[b-vsljaz9qae] {
    flex-shrink: 0;
    /* Margen izquierdo para que el texto (título/descripción) no quede
       pegado ni se esconda detrás del switch cuando la descripción es larga */
    margin: 0 0 0 10px !important;
}

.rda-config-switch .form-check-input:checked[b-vsljaz9qae] {
    background-color: #16a34a;
    border-color: #16a34a;
}

/* ── Grupos visuales de configuración ── */

.rda-config-group[b-vsljaz9qae] {
    margin-bottom: 12px;
}

.rda-config-group:last-child[b-vsljaz9qae] {
    margin-bottom: 0;
}

.rda-config-group-header[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #1a73e8;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.rda-config-group-header i[b-vsljaz9qae] {
    color: #1a73e8;
    font-size: 0.85rem;
}

.rda-config-group-header small[b-vsljaz9qae] {
    font-weight: 400;
    font-size: 0.68rem;
    color: #9ca3af;
    margin-left: 4px;
    flex: 1;
}

.rda-config-group-header.antecedentes[b-vsljaz9qae] {
    border-left-color: #16a34a;
}

.rda-config-group-header.antecedentes i[b-vsljaz9qae] {
    color: #16a34a;
}

/* ── Aviso modo no operativo ── */

.rda-config-modeoff[b-vsljaz9qae] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.78rem;
    border-radius: 6px;
    line-height: 1.5;
}

.rda-config-modeoff i[b-vsljaz9qae] {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ── Card maestra (CONENVIORDAALMINISTERIO) ── */

.rda-config-card.maestro[b-vsljaz9qae] {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 60%);
    box-shadow: 0 0 0 1px rgba(26, 115, 232, 0.15);
}

.rda-config-card.maestro .rda-config-card-icon[b-vsljaz9qae] {
    background: #dbeafe;
    color: #1a73e8;
}

.rda-config-card.maestro.on .rda-config-card-icon[b-vsljaz9qae] {
    background: #dcfce7;
    color: #15803d;
}

/* ── Card deshabilitada (maestro apagado) ── */

.rda-config-card.disabled-card[b-vsljaz9qae] {
    opacity: 0.5;
    background: #f9fafb;
    filter: grayscale(0.4);
}

.rda-config-card.disabled-card .rda-config-switch[b-vsljaz9qae] {
    cursor: not-allowed;
}

.rda-split-body[b-vsljaz9qae] {
    display: flex;
    background: #f8f9fa;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
}

/* ── Panel izquierdo: Prestadores ── */

.rda-role-panel[b-vsljaz9qae] {
    width: 480px;
    min-width: 440px;
    max-width: 520px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.rda-role-header[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.rda-role-header i[b-vsljaz9qae] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.rda-search-wrapper[b-vsljaz9qae] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
}

.rda-search-icon[b-vsljaz9qae] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.rda-search-input[b-vsljaz9qae] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.rda-search-input:focus[b-vsljaz9qae] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
    background: #fff;
}

.rda-search-input[b-vsljaz9qae]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.rda-search-clear[b-vsljaz9qae] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.rda-search-clear:hover[b-vsljaz9qae] {
    opacity: 1;
    color: #dc2626;
}

.rda-search-empty[b-vsljaz9qae] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.rda-role-list[b-vsljaz9qae] {
    scrollbar-width: thin;
}

.rda-role-list[b-vsljaz9qae]::-webkit-scrollbar {
    width: 4px;
}

.rda-role-list[b-vsljaz9qae]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.rda-role-item[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.rda-role-item:hover[b-vsljaz9qae] {
    background: #f3f4f6;
}

.rda-role-item.active[b-vsljaz9qae] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.rda-role-item i[b-vsljaz9qae] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.rda-role-item.active i[b-vsljaz9qae] {
    color: #1a73e8;
}

.rda-role-name[b-vsljaz9qae] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rda-role-badge[b-vsljaz9qae] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.rda-role-item.active .rda-role-badge[b-vsljaz9qae] {
    background: #d2e3fc;
    color: #1557b0;
}

/* ── Badge de credencial configurada ── */

.rda-role-badge-warn[b-vsljaz9qae] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.rda-role-item.active .rda-role-badge-warn[b-vsljaz9qae] {
    background: #bbf7d0;
    color: #166534;
}

/* ── Badge de estado inactivo ── */

.rda-state-badge[b-vsljaz9qae] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.6rem;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.rda-role-item.inactive .rda-role-name[b-vsljaz9qae] {
    font-style: italic;
    color: #9ca3af;
}

.rda-role-item.inactive i[b-vsljaz9qae] {
    color: #d1d5db;
}

.rda-role-item.inactive.active[b-vsljaz9qae] {
    background: #e8f0fe;
}

.rda-role-item.inactive.active i[b-vsljaz9qae] {
    color: #1a73e8;
}

/* ── Nota de creación (prestador sin credenciales) ── */

.rda-create-note[b-vsljaz9qae] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.78rem;
    border-radius: 6px;
    line-height: 1.5;
}

.rda-create-note i[b-vsljaz9qae] {
    color: #2563eb;
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.rda-role-footer[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
}

.rda-role-footer i[b-vsljaz9qae] {
    font-size: 0.7rem;
}

/* ── Toggle activar/desactivar prestador ── */

.rda-role-toggle[b-vsljaz9qae] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rda-role-item:hover .rda-role-toggle[b-vsljaz9qae] {
    opacity: 0.6;
}

.rda-role-toggle:hover[b-vsljaz9qae] {
    opacity: 1 !important;
    color: #1a73e8;
}

.rda-role-toggle.toggle-on[b-vsljaz9qae] {
    opacity: 1;
    color: #16a34a;
}

.rda-role-toggle.toggle-off:hover[b-vsljaz9qae] {
    color: #dc2626;
}

/* ── Panel derecho: Formulario de credenciales ── */

.rda-form-panel[b-vsljaz9qae] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.rda-form-empty[b-vsljaz9qae] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    color: #9ca3af;
    text-align: center;
}

.rda-form-empty i[b-vsljaz9qae] {
    font-size: 2.6rem;
    color: #d1d5db;
}

.rda-form-empty p[b-vsljaz9qae] {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    max-width: 340px;
    line-height: 1.5;
}

.rda-form-header[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
}

.rda-form-header-icon[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.rda-form-header-title[b-vsljaz9qae] {
    min-width: 0;
}

.rda-form-header-title h6[b-vsljaz9qae] {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

/* Nombre del prestador en bloque con ellipsis (el label descriptivo queda arriba) */
.rda-form-header-title h6 .d-block[b-vsljaz9qae] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rda-form-header-title h6 .text-muted[b-vsljaz9qae] {
    display: block;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rda-form-header-title small[b-vsljaz9qae] {
    font-size: 0.72rem;
    color: #6b7280;
}

.rda-form-header .rda-token-badge[b-vsljaz9qae] {
    margin-left: auto;
}

.rda-token-badge[b-vsljaz9qae] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rda-token-badge.ok[b-vsljaz9qae] {
    background: #dcfce7;
    color: #15803d;
}

.rda-token-badge.warn[b-vsljaz9qae] {
    background: #fef3c7;
    color: #92400e;
}

.rda-form-body[b-vsljaz9qae] {
    padding: 16px 20px;
    scrollbar-width: thin;
}

.rda-form-body[b-vsljaz9qae]::-webkit-scrollbar {
    width: 5px;
}

.rda-form-body[b-vsljaz9qae]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.rda-section-title[b-vsljaz9qae] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.rda-section-title i[b-vsljaz9qae] {
    font-size: 0.76rem;
    margin-right: 5px;
    color: #1a73e8;
}

.rda-form-label[b-vsljaz9qae] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.rda-form-label i[b-vsljaz9qae] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.rda-form-control-sm[b-vsljaz9qae] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.rda-input-group .btn[b-vsljaz9qae] {
    height: 30px;
    font-size: 0.75rem;
    border-radius: 3px;
}

.rda-input-group .btn i[b-vsljaz9qae] {
    font-size: 0.7rem;
}

.rda-sensitive-note[b-vsljaz9qae] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    font-size: 0.78rem;
    border-radius: 6px;
    line-height: 1.5;
}

.rda-sensitive-note i[b-vsljaz9qae] {
    color: #d97706;
    font-size: 0.85rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.rda-form-actions[b-vsljaz9qae] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.rda-form-footer[b-vsljaz9qae] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 16px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
}

.rda-form-footer-info[b-vsljaz9qae] {
    font-size: 0.7rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rda-form-footer-info i[b-vsljaz9qae] {
    font-size: 0.68rem;
}
/* /Presentation/Components/Pages/ConfiguracionApp/ConfiguracionAppPanel.razor.rz.scp.css */
.editor-container[b-h414rdar00] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-h414rdar00] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-h414rdar00] {
    font-size: 13px;
}

.editor-header-right[b-h414rdar00] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inst-header-actions[b-h414rdar00] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* ── Toast de acciones en el header ── */

.inst-toast[b-h414rdar00] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-h414rdar00] {
    font-size: 0.8rem;
}

.inst-toast-success[b-h414rdar00] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-h414rdar00] {
    color: #059669;
}

.inst-toast-error[b-h414rdar00] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-h414rdar00] {
    color: #dc2626;
}

.editor-title-bar[b-h414rdar00] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-h414rdar00],
.editor-title-bar .fw-semibold[b-h414rdar00],
.editor-title-bar small[b-h414rdar00] {
    color: #1a1d23 !important;
}

/* ===== PESTAÑAS — EXACTO EditorPlantillaBase ===== */
.editor-tabs.nav-tabs[b-h414rdar00] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-h414rdar00] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-h414rdar00] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-h414rdar00] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-h414rdar00] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-h414rdar00] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-h414rdar00] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-h414rdar00]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-h414rdar00]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-h414rdar00] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO — EXACTO EditorPlantillaBase ===== */
.editor-tab-content[b-h414rdar00] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.editor-tab-content > *[b-h414rdar00] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ============================================================
   PAN-119 / sv4-069 — Pestaña Inicio: cards con switches
   Patrón visual: cards de Config Académico (PAN-118)
   ============================================================ */

.ini-config-container[b-h414rdar00] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 4px 2px;
}

.ini-config-header[b-h414rdar00] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
}

/* Forzar color oscuro en los títulos del header (evita que estilos heredados los pinten blancos) */
.ini-config-header h6[b-h414rdar00],
.ini-config-header .fw-semibold[b-h414rdar00] {
    color: #1a1d23 !important;
}

.ini-config-header small[b-h414rdar00] {
    color: #6b7280 !important;
}

.ini-config-header i[b-h414rdar00] {
    font-size: 1rem;
}

.ini-config-header small[b-h414rdar00] {
    font-size: 0.74rem;
}

/* ── Cards con switches ── */

.ini-config-card[b-h414rdar00] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 100%;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    min-height: 72px;
}

.ini-config-card:hover[b-h414rdar00] {
    border-color: #bfdbfe;
    box-shadow: 0 1px 6px rgba(26, 115, 232, 0.08);
}

.ini-config-card.on[b-h414rdar00] {
    border-color: #a7f3d0;
    background: #f0fdf4;
}

.ini-config-card-icon[b-h414rdar00] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ini-config-card.on .ini-config-card-icon[b-h414rdar00] {
    background: #dcfce7;
    color: #15803d;
}

.ini-config-card-body[b-h414rdar00] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ini-config-card-title[b-h414rdar00] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ini-config-card-desc[b-h414rdar00] {
    font-size: 0.68rem;
    color: #9ca3af;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ini-config-switch[b-h414rdar00] {
    flex-shrink: 0;
    /* Margen izquierdo para que el texto (título/descripción) no quede
       pegado ni se esconda detrás del switch cuando la descripción es larga */
    margin: 0 0 0 10px !important;
}

.ini-config-switch .form-check-input:checked[b-h414rdar00] {
    background-color: #16a34a;
    border-color: #16a34a;
}

/* ── Input compacto de URL dentro de una card (ej. Visor DICOM) ── */

.ini-config-card-url[b-h414rdar00] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.ini-config-url-label[b-h414rdar00] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.3;
}

.ini-config-url-input[b-h414rdar00] {
    height: 30px;
    font-size: 0.8rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

/* ── Grupo input + botón copiar (compacto, 30px) ── */

.ini-config-url-group .ini-config-url-input[b-h414rdar00] {
    border-radius: 3px 0 0 3px;
}

.ini-config-url-group .ini-config-url-input:focus[b-h414rdar00] {
    z-index: 2;
}

.ini-config-url-copy[b-h414rdar00] {
    height: 30px;
    width: 34px;
    padding: 0;
    font-size: 0.72rem;
    border-radius: 0 3px 3px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ini-config-url-copy i[b-h414rdar00] {
    font-size: 0.72rem;
}

.ini-config-url-copy:hover[b-h414rdar00] {
    color: #1a73e8;
    border-color: #1a73e8;
}

.ini-config-url-hint[b-h414rdar00] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.66rem;
    color: #9ca3af;
    line-height: 1.4;
}

.ini-config-url-hint i[b-h414rdar00] {
    font-size: 0.62rem;
    margin-top: 1px;
    color: #1a73e8;
}

/* ============================================================
   PAN-119 / sv4-069 — Pestaña Facturación Electrónica
   Patrón visual: formulario de credenciales RDA (TabConfigRda)
   Inputs compactos (30px), labels con ícono, secciones con título
   ============================================================ */

.fe-section-title[b-h414rdar00] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.fe-section-title i[b-h414rdar00] {
    font-size: 0.76rem;
    margin-right: 5px;
    color: #1a73e8;
}

.fe-form-label[b-h414rdar00] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.fe-form-label i[b-h414rdar00] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.fe-form-control-sm[b-h414rdar00] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.fe-input-group .btn[b-h414rdar00] {
    height: 30px;
    font-size: 0.75rem;
    border-radius: 3px;
}

.fe-input-group .btn i[b-h414rdar00] {
    font-size: 0.7rem;
}

.fe-form-actions[b-h414rdar00] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.fe-sensitive-note[b-h414rdar00] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    font-size: 0.78rem;
    border-radius: 6px;
    line-height: 1.5;
}

.fe-sensitive-note i[b-h414rdar00] {
    color: #d97706;
    font-size: 0.85rem;
    margin-top: 1px;
    flex-shrink: 0;
}
/* /Presentation/Components/Pages/Configuracion/AgendaEmpresaManager.razor.rz.scp.css */
/* ============================================================
   Agendas por Empresa — empresa de las agendas médicas.
   Patrón visual: listados de Configuración (Servicios por Empresa /
   Gestión de Empresas) + grid estándar de tabla.
   Idea: agenda-empresa-especifica.
   ============================================================ */

/* ── Contenedor principal (mismo alto y márgenes que los demás listados) ── */
.editor-container[b-us9vp5ks6q] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-us9vp5ks6q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-us9vp5ks6q] {
    font-size: 13px;
}

.editor-header-right[b-us9vp5ks6q] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-us9vp5ks6q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-us9vp5ks6q],
.editor-title-bar .fw-semibold[b-us9vp5ks6q],
.editor-title-bar small[b-us9vp5ks6q] {
    color: #1a1d23 !important;
}

/* ── Filtros: tarjeta con etiquetas y campos de 26px — patrón Dashboard de Mensajería ── */
.aem-filters-card[b-us9vp5ks6q] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.aem-filter-group[b-us9vp5ks6q] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aem-filter-dates[b-us9vp5ks6q] {
    width: 260px;
}

.aem-w-140[b-us9vp5ks6q] { width: 140px; }
.aem-w-155[b-us9vp5ks6q] { width: 155px; }
.aem-w-165[b-us9vp5ks6q] { width: 165px; }
.aem-w-180[b-us9vp5ks6q] { width: 180px; }

.aem-filter-actions[b-us9vp5ks6q] {
    margin-left: auto;
}

.aem-filter-label[b-us9vp5ks6q] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 18px;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.aem-filter-label i[b-us9vp5ks6q] {
    width: 14px;
    font-size: 0.75rem;
    text-align: center;
    color: #6b7280;
}

.aem-input[b-us9vp5ks6q] {
    height: 26px;
    padding: 0 8px;
    font-size: 0.75rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
    color: #1a1d23;
}

select.aem-input[b-us9vp5ks6q] {
    padding-right: 24px;
    cursor: pointer;
}

.aem-input:focus[b-us9vp5ks6q] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.aem-filter-btn[b-us9vp5ks6q] {
    height: 26px;
    padding: 0 12px;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 3px;
    white-space: nowrap;
}
.aem-filter-dates .aem-input[b-us9vp5ks6q] {
    min-width: 0;
    padding: 0 6px;
}

@media (max-width: 767.98px) {
    .aem-filter-dates[b-us9vp5ks6q],
    .aem-w-140[b-us9vp5ks6q],
    .aem-w-155[b-us9vp5ks6q],
    .aem-w-165[b-us9vp5ks6q],
    .aem-w-180[b-us9vp5ks6q] {
        width: 100%;
    }

    .aem-filter-actions[b-us9vp5ks6q] {
        margin-left: 0;
    }
}
/* ── Cuerpo y tarjeta del grid ── */
.aem-body[b-us9vp5ks6q] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
    padding: 16px 20px 20px;
}

.aem-card[b-us9vp5ks6q] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.aem-card-head[b-us9vp5ks6q] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.aem-card-head h6[b-us9vp5ks6q] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* ── Grid estándar ── */
.aem-table-wrapper[b-us9vp5ks6q] {
    flex: 1 1 auto;
    min-height: 240px;
    max-height: 62vh;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid #f1f5f9;
    scrollbar-width: thin;
}

.aem-table-wrapper[b-us9vp5ks6q]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.aem-table-wrapper[b-us9vp5ks6q]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.aem-table[b-us9vp5ks6q] {
    font-size: 0.78rem;
    margin-bottom: 0;
    width: 100%;
    table-layout: fixed;
}

.aem-table thead th[b-us9vp5ks6q] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b7280;
    white-space: nowrap;
    padding: 7px 10px;
}

.aem-table tbody td[b-us9vp5ks6q] {
    padding: 6px 10px;
    vertical-align: middle;
    color: #374151;
}

.aem-table tbody tr.aem-row-selected > td[b-us9vp5ks6q] {
    background: #eef6ff;
}

.aem-cell-title[b-us9vp5ks6q] {
    font-weight: 600;
    color: inherit;
}

.aem-cell-sub[b-us9vp5ks6q] {
    font-size: 0.68rem;
    color: #6b7280;
}

.cell-truncate[b-us9vp5ks6q] {
    max-width: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Empresa en una sola línea (el tamaño del badge lo define el tema) ── */
.aem-badge-empresa[b-us9vp5ks6q] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

/* ── Acción de fila ── */
.aem-accion[b-us9vp5ks6q] {
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 2px 6px;
    line-height: 1;
    cursor: pointer;
}

.aem-accion:hover[b-us9vp5ks6q] {
    color: #2563eb;
}

.aem-accion:disabled[b-us9vp5ks6q] {
    color: #cbd5e1;
    cursor: default;
}

.aem-paginador[b-us9vp5ks6q] {
    margin-top: 12px;
}

/* ── Interruptor estándar del proyecto (mismo bloque canónico de los demás formularios).
   Sin este bloque Bootstrap deja el input desplazado a la izquierda del contenedor y no
   queda alineado con los demás campos del modal. ── */
.suros-switch[b-us9vp5ks6q] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-us9vp5ks6q] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-us9vp5ks6q] {
    cursor: pointer;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .aem-body[b-us9vp5ks6q] {
        padding: 8px;
    }

    .editor-title-bar[b-us9vp5ks6q] {
        padding: 10px 12px;
    }
}
/* /Presentation/Components/Pages/Configuracion/ConfiguracionServiciosBOT.razor.rz.scp.css */
/* ============================================================
   Configuración de servicios y componentes del BOT.
   Patrón visual: Gestión de Funcionarios (encabezado, título,
   pestañas y paneles divididos). Ideas: sv4-278, sv4-289, sv4-290.
   ============================================================ */

.editor-container[b-wv8j5dnvyo] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 420px;
}

.editor-header[b-wv8j5dnvyo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-wv8j5dnvyo] {
    font-size: 13px;
}

.editor-header-right[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-wv8j5dnvyo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-wv8j5dnvyo],
.editor-title-bar .fw-semibold[b-wv8j5dnvyo],
.editor-title-bar small[b-wv8j5dnvyo] {
    color: #1a1d23 !important;
}

/* ============================================================
   Pestañas principales — bloque canónico .editor-tabs del proyecto
   (SUROS.Framework/PATTERNS/TABS.md). Se replica en cada componente
   por el aislamiento CSS de Blazor.
   ============================================================ */

.editor-tabs.nav-tabs[b-wv8j5dnvyo] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-wv8j5dnvyo] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-wv8j5dnvyo] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-wv8j5dnvyo] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-wv8j5dnvyo] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-wv8j5dnvyo] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-wv8j5dnvyo]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-wv8j5dnvyo]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-wv8j5dnvyo] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* Anillo de foco visible al navegar con teclado (no altera el diseño). */
.editor-tabs .nav-link:focus-visible[b-wv8j5dnvyo] {
    box-shadow: inset 0 0 0 2px rgba(26, 115, 232, 0.55) !important;
}

/* ============================================================
   Pestaña 1: configuración general del Home
   ============================================================ */

.cb-config-body[b-wv8j5dnvyo] {
    flex: 1;
    overflow: auto;
    background: #f8f9fa;
    padding: 16px;
    min-height: 0;
}

/* Tarjetas en dos columnas: izquierda los interruptores generales,
   derecha el editor de horarios de atención. La columna de horarios
   recibe más ancho para que las franjas AM y PM quepan en una fila. */

.cb-cards[b-wv8j5dnvyo] {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 12px;
    align-items: start;
    max-width: 1320px;
}

.cb-card--demanda[b-wv8j5dnvyo] {
    grid-column: 1;
    grid-row: 1;
}

.cb-card--otp[b-wv8j5dnvyo] {
    grid-column: 1;
    grid-row: 2;
}

.cb-card--bloqueo[b-wv8j5dnvyo] {
    grid-column: 1;
    grid-row: 3;
}

.cb-card--horarios[b-wv8j5dnvyo] {
    grid-column: 2;
    grid-row: 1 / span 3;
}

.cb-card[b-wv8j5dnvyo] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 12px;
}

.cb-card-head[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.cb-card-title[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0b1e3a;
}

.cb-card-title i[b-wv8j5dnvyo] {
    color: #1a73e8;
    font-size: 0.85rem;
}

.cb-card-switch[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cb-card-row[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cb-card-label[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #555;
    font-size: 0.82rem;
}

.cb-card-help[b-wv8j5dnvyo] {
    margin: 6px 0 10px 0;
    line-height: 1.35;
}

.cb-chip[b-wv8j5dnvyo] {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.cb-chip-green[b-wv8j5dnvyo] {
    background: #d1fae5;
    border-left: 6px solid #10b981;
    color: #064e3b;
}

.cb-muted[b-wv8j5dnvyo] {
    color: #6b778c;
    font-size: 0.75rem;
}

/* ============================================================
   Interruptores — bloque canónico .suros-switch del proyecto
   (SUROS.Framework/CONTRACTS/FORM.md).
   No se cambia el tamaño del interruptor: Bootstrap lo dimensiona en
   2em x 1em y posiciona el botón con background-position, por lo que
   alterar width/height lo deforma (el círculo se vuelve elipse).
   ============================================================ */

.suros-switch[b-wv8j5dnvyo] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-wv8j5dnvyo] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-wv8j5dnvyo] {
    cursor: pointer;
    margin-bottom: 0;
}

/* ── Editor de horarios de atención ──
   Las franjas AM y PM comparten una sola fila (el campo "Cerrado" bajó a
   la columna del día) y la tarjeta recibe más ancho. Idea: sv4-278. */

.cb-hours-row[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px dashed #e6eaf0;
}

.cb-hours-row:first-of-type[b-wv8j5dnvyo] {
    border-top: 0;
    padding-top: 0;
}

/* Columna del día: nombre arriba y, cuando aplica, el campo "Cerrado"
   debajo del label del día. El ancho fijo mantiene las franjas AM y PM
   alineadas en las tres filas. */
.cb-hours-day[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 0 0 auto;
    min-width: 110px;
}

.cb-hours-title[b-wv8j5dnvyo] {
    font-weight: 800;
    color: #0b1e3a;
    font-size: 0.78rem;
}

.cb-hours-slot[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cb-hours-label[b-wv8j5dnvyo] {
    min-width: 22px;
    font-weight: 700;
    color: #374151;
    font-size: 0.75rem;
}

.cb-hours-time[b-wv8j5dnvyo] {
    width: 100px;
    font-size: 0.75rem;
    padding: 2px 6px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #111827;
    background: #fff;
}

.cb-hours-time:focus[b-wv8j5dnvyo] {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

/* Las casillas de la franja no heredan los márgenes por defecto del
   navegador, así la fila AM/PM queda compacta y alineada. */
.cb-hours-slot input[type="checkbox"][b-wv8j5dnvyo],
.cb-hours-closed input[type="checkbox"][b-wv8j5dnvyo] {
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a73e8;
}

/* Campo "Cerrado": vive dentro de la columna del día, debajo del label,
   por lo que no compite por espacio en la fila AM/PM. */
.cb-hours-closed[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    cursor: pointer;
    margin: 0;
    line-height: 1;
}

.cb-hours-closed .cb-muted[b-wv8j5dnvyo] {
    font-size: 0.72rem;
}

.cb-hours-actions[b-wv8j5dnvyo] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/* ============================================================
   Pestaña 2: cuerpo dividido en tres columnas
   ============================================================ */

.cb-split-body[b-wv8j5dnvyo] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

.cb-col[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-right: 1px solid #e2e4e9;
}

.cb-col:last-child[b-wv8j5dnvyo] {
    border-right: 0;
}

/* El listado de servicios se ajusta al ancho que necesita la columna NOMBRE: el
   estado dejó de ocupar columna propia (se lee en el color del icono de
   activar/inactivar) y el conteo de especialidades vive en el botón del detalle,
   de modo que el panel se reduce y el nombre completo sigue entrando en una sola
   línea (ideas: sv4-289, sv4-296). */
.cb-col-servicios[b-wv8j5dnvyo] {
    width: 440px;
    min-width: 380px;
    flex-shrink: 0;
}

.cb-col-componentes[b-wv8j5dnvyo] {
    width: 400px;
    min-width: 340px;
    flex-shrink: 0;
}

.cb-col-preview[b-wv8j5dnvyo] {
    flex: 1;
    min-width: 0;
    background: #f8f9fa;
}

.cb-col-header[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
    /* Si en una pantalla angosta el título y los botones no caben en una línea, los
       botones bajan a una segunda línea en lugar de partir el título (idea: sv4-289). */
    flex-wrap: wrap;
}

.cb-col-title[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
    min-width: 0;
}

.cb-col-title i[b-wv8j5dnvyo] {
    color: #1a73e8;
    font-size: 0.8rem;
}

/* Servicio seleccionado dentro del título de la pestaña. El badge se recorta con puntos
   suspensivos cuando el nombre es largo y conserva el nombre completo en el title.
   Idea: sv4-326. */
.cb-servicio-badge[b-wv8j5dnvyo] {
    display: inline-block;
    min-width: 0;
    max-width: 260px;
    padding: 2px 8px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* ── Buscadores ── */

.cb-search-wrapper[b-wv8j5dnvyo] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

.cb-search-icon[b-wv8j5dnvyo] {
    position: absolute;
    left: 20px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.cb-search-input[b-wv8j5dnvyo] {
    width: 100%;
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 4px 22px 4px 24px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
}

.cb-search-input:focus[b-wv8j5dnvyo] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

.cb-search-input:disabled[b-wv8j5dnvyo] {
    background: #f3f4f6;
    color: #9ca3af;
}

.cb-search-input[b-wv8j5dnvyo]::placeholder {
    color: #9ca3af;
    opacity: 0.8;
    font-size: 0.7rem;
}

.cb-search-clear[b-wv8j5dnvyo] {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.7;
    line-height: 1;
}

.cb-search-clear:hover[b-wv8j5dnvyo] {
    opacity: 1;
    color: #dc2626;
}

/* ── Tablas ── */

.cb-table-wrapper[b-wv8j5dnvyo] {
    overflow: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.cb-table-servicios[b-wv8j5dnvyo] {
    flex: 1;
}

.cb-table[b-wv8j5dnvyo] {
    font-size: 0.78rem;
}

.cb-table thead th[b-wv8j5dnvyo] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b7280;
    white-space: nowrap;
    padding: 7px 10px;
}

.cb-table tbody td[b-wv8j5dnvyo] {
    padding: 6px 10px;
    vertical-align: middle;
    color: #374151;
}

.cb-table tbody tr[role="button"][b-wv8j5dnvyo] {
    cursor: pointer;
}

.cb-row-inactive[b-wv8j5dnvyo] {
    background: #f9fafb;
}

.cb-row-inactive td[b-wv8j5dnvyo] {
    color: #9ca3af !important;
}

/* Fila activa del listado de servicios (el servicio seleccionado): mismo estilo del ítem activo
   de la grid «Empresas con contratación activa» de Servicios por Empresa (se-side-item.active en
   ServiciosEmpresaManager.razor.css): fondo azul claro #e8f0fe, texto azul #1a73e8 y el dato
   secundario en #1557b0. La fila activa manda sobre el hover de la tabla: se anula el velo que
   Bootstrap superpone a las celdas (box-shadow con --bs-table-bg-state) para que el fondo no
   cambie al pasar el cursor, igual que el ítem activo de la lista de empresas.
   Ideas: sv4-293, sv4-305. */
.cb-row-selected[b-wv8j5dnvyo],
.cb-table tbody tr.cb-row-selected[b-wv8j5dnvyo] {
    background-color: #e8f0fe !important;
}

.cb-row-selected td[b-wv8j5dnvyo],
.cb-table tbody tr.cb-row-selected td[b-wv8j5dnvyo] {
    background-color: #e8f0fe !important;
    color: #1a73e8 !important;
    box-shadow: none !important;
}

/* El icono guía de la fila activa pasa al azul de la pantalla, como el icono del ítem activo
   de la lista de empresas. */
.cb-table tbody tr.cb-row-selected .cb-cell-icono[b-wv8j5dnvyo] {
    color: #1a73e8;
}

/* El dato secundario de la fila activa se oscurece: el gris de la tabla no alcanza el contraste
   mínimo sobre el fondo azul. */
.cb-table tbody tr.cb-row-selected .cb-cell-secundario[b-wv8j5dnvyo] {
    color: #1557b0;
}

/* La línea de destino del arrastre se mantiene visible aunque la fila de origen esté activa. */
.cb-servicio-row.cb-row-selected.dnd-drop-before td[b-wv8j5dnvyo] {
    box-shadow: inset 0 2px 0 #1a73e8 !important;
}

.cb-servicio-row.cb-row-selected.dnd-drop-after td[b-wv8j5dnvyo] {
    box-shadow: inset 0 -2px 0 #1a73e8 !important;
}

.cb-cell-title[b-wv8j5dnvyo] {
    font-weight: 600;
    color: inherit;
}

/* Icono guía del nombre en la fila: mismo estilo del icono del nombre en la grid de Gestión
   de Empresas (color #6b7280, 0.7rem y sin encogerse cuando el texto no cabe). Idea: sv4-303. */
.cb-cell-icono[b-wv8j5dnvyo] {
    color: #6b7280;
    font-size: 0.7rem;
    flex-shrink: 0;
    /* La línea del nombre alinea sus textos por la base; el icono se centra respecto de esa
       línea para no quedar montado sobre el texto (misma alineación de la grid de Gestión de
       Empresas). Idea: sv4-303. */
    align-self: center;
}

.cb-cell-sub[b-wv8j5dnvyo] {
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.3;
}

.cb-cell-mono[b-wv8j5dnvyo] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.72rem;
}

.cb-actions[b-wv8j5dnvyo] {
    white-space: nowrap;
}

/* Los iconos de acción de la grilla de servicios se atenúan y recuperan su brillo completo al
   pasar el cursor por la fila o al entrar con el teclado, igual que la columna Acciones de la
   grid de Gestión de Empresas (EmpresaManager.razor.css). El botón del estado queda fuera de la
   atenuación: es el único indicador del estado del servicio (sv4-289). La atenuación se limita a
   la grilla de servicios de la página: en las grillas de las ventanas modales (especialidades,
   CUPS) los botones son el propósito de la ventana y se mantienen visibles. Idea: sv4-303. */
.cb-servicio-acciones .btn-action[b-wv8j5dnvyo] {
    opacity: 0.2;
    transition: opacity 0.15s;
}

.cb-servicio-acciones .btn-action.cb-btn-estado[b-wv8j5dnvyo] {
    opacity: 1;
}

.cb-table tbody tr:hover .cb-servicio-acciones .btn-action[b-wv8j5dnvyo],
.cb-servicio-acciones .btn-action:focus[b-wv8j5dnvyo],
.cb-servicio-acciones .btn-action:focus-visible[b-wv8j5dnvyo] {
    opacity: 1;
}

/* Contador de especialidades del botón del detalle: misma paleta del contador de funcionarios
   de la grid de Gestión de Empresas (emp-func-badge): verde cuando hay especialidades y
   neutro cuando no las hay. El radio y el tamaño los sigue aportando el componente Badge
   (suros-theme.css / CONTRACTS/BADGE.md). Ideas: sv4-296, sv4-303. */
.cb-actions .badge.cb-conteo-con[b-wv8j5dnvyo] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.cb-actions .badge.cb-conteo-sin[b-wv8j5dnvyo] {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* ============================================================
   Ventana modal de especialidades del servicio (sv4-285)
   La grilla dejó de compartir la columna con el listado de servicios.
   ============================================================ */

.cb-especialidades-grid[b-wv8j5dnvyo] {
    max-height: 52vh;
}

.cb-especialidades-search[b-wv8j5dnvyo] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.cb-especialidades-search .cb-search-icon-inline[b-wv8j5dnvyo] {
    position: absolute;
    left: 12px;
    font-size: 0.7rem;
    color: #9ca3af;
    pointer-events: none;
}

/* El campo vive dentro del formulario compacto de la ventana modal (.cb-compact-form
   .form-control-sm), cuyas reglas van más abajo en este archivo y tienen la misma
   especificidad: con una sola clase de contenedor el relleno que deja libre la lupa se
   perdía y el icono quedaba pegado al texto escrito (idea: sv4-292). Por eso el selector
   repite la clase del control. */
.cb-especialidades-search .form-control.form-control-sm[b-wv8j5dnvyo],
.cb-especialidades-search .form-control[b-wv8j5dnvyo] {
    padding-left: 34px;
    padding-right: 30px;
}

.cb-especialidades-search-clear[b-wv8j5dnvyo] {
    position: absolute;
    right: 9px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    line-height: 1;
}

.cb-especialidades-search-clear:hover[b-wv8j5dnvyo] {
    color: #dc2626;
}

/* Encabezado de la ventana de especialidades: el título y el servicio comparten una sola línea y
   el texto se recorta con puntos suspensivos cuando no cabe, con el texto completo en el title
   (idea: sv4-304). */
.cb-modal-espe-head[b-wv8j5dnvyo] {
    min-width: 0;
}

.cb-modal-espe-titulo[b-wv8j5dnvyo] {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Buscador de procedimientos CUPS (ventana modal) ──
   Patrón del contrato SEARCH.md: lupa dentro del campo, limpiar con X y resultados en tiempo
   real; sin botón de búsqueda separado (idea: sv4-291). */

.cb-cups-search[b-wv8j5dnvyo] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.cb-cups-search .cb-search-icon-inline[b-wv8j5dnvyo] {
    position: absolute;
    left: 12px;
    font-size: 0.7rem;
    color: #9ca3af;
    pointer-events: none;
}

/* Mismo caso que el buscador de especialidades: el selector repite la clase del control
   para que el relleno de la lupa gane al del formulario compacto de la ventana modal. */
.cb-cups-search .form-control.form-control-sm[b-wv8j5dnvyo],
.cb-cups-search .form-control[b-wv8j5dnvyo] {
    padding-left: 34px;
    padding-right: 30px;
}

.cb-cups-search-clear[b-wv8j5dnvyo] {
    position: absolute;
    right: 9px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    line-height: 1;
}

.cb-cups-search-clear:hover[b-wv8j5dnvyo] {
    color: #dc2626;
}

.cb-cups-contador[b-wv8j5dnvyo] {
    min-height: 18px;
    margin: 6px 0 4px 0;
    font-size: 0.7rem;
    color: #6b7280;
}

/* Nombre de la especialidad y su alias en una sola línea: cada fila de la grilla
   ocupa un solo renglón. La tabla usa layout fijo para que la columna Especialidad
   reciba el ancho restante y, si el texto no cabe, se recorte con puntos suspensivos
   dejando el detalle completo en el title de la celda (idea: sv4-289). */
.cb-especialidades-grid > table[b-wv8j5dnvyo] {
    table-layout: fixed;
}

.cb-especialidades-grid .cb-espe-linea[b-wv8j5dnvyo] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.cb-especialidades-grid .cb-espe-nombre[b-wv8j5dnvyo] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* El alias que ve el paciente, en texto secundario y sobre la misma línea. */
.cb-especialidades-grid .cb-espe-alias[b-wv8j5dnvyo] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.68rem;
    font-weight: 500;
    color: #6b7280;
}

/* ============================================================
   Orden del listado de servicios — arrastrar y soltar (sv4-278)
   ============================================================ */

.cb-dnd-hint[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Alto reservado: el texto cambia al buscar y no debe mover la tabla. */
    min-height: 19px;
    padding: 2px 12px 5px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.68rem;
    color: #9ca3af;
    flex-shrink: 0;
}

/* ── Columnas del listado de servicios ──
   La tabla usa layout fijo: el icono de arrastre y Acciones tienen ancho reservado y
   la columna NOMBRE se lleva todo el espacio restante, de modo que el nombre del
   servicio se ve en una sola línea y la grilla nunca genera scroll horizontal.
   No hay columna Estado: el estado se lee en el color del icono de activar/inactivar
   de la columna Acciones (idea: sv4-289). */

.cb-table-servicios > table[b-wv8j5dnvyo] {
    table-layout: fixed;
}

.cb-drag-cell[b-wv8j5dnvyo] {
    width: 24px;
}

.cb-table thead th.cb-drag-cell[b-wv8j5dnvyo] {
    padding: 7px 2px;
    text-align: center;
}

.cb-table tbody td.cb-drag-cell[b-wv8j5dnvyo] {
    padding: 6px 2px;
}

/* La columna NOMBRE cede poco margen lateral a favor del texto del nombre. */
.cb-table thead th.cb-col-nombre[b-wv8j5dnvyo],
.cb-table tbody td.cb-col-nombre[b-wv8j5dnvyo] {
    padding-left: 8px;
    padding-right: 8px;
}

/* Los botones de acción conservan su tamaño; se quita el espacio en blanco entre
   ellos para que la columna Acciones mida exactamente lo que ocupan (así NOMBRE
   recibe el resto del ancho). */
.cb-table-servicios .cb-actions[b-wv8j5dnvyo] {
    font-size: 0;
}

/* El nombre del servicio y el segundo dato de la fila comparten una sola línea: la fila
   ocupa un solo renglón y, si el texto excede el ancho disponible, se recorta con puntos
   suspensivos (el texto completo queda en el title de la celda). El nombre cede ancho
   primero y el dato secundario conserva su espacio porque es corto
   (ideas: sv4-289, sv4-294). */
.cb-table-servicios .cb-cell-linea[b-wv8j5dnvyo] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.cb-table-servicios .cb-cell-title[b-wv8j5dnvyo] {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.cb-table-servicios .cb-cell-secundario[b-wv8j5dnvyo] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.68rem;
    font-weight: 500;
    color: #6b7280;
}

.cb-row-grip[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: #d1d5db;
    cursor: grab;
    transition: color 0.12s, background 0.12s;
}

.cb-servicio-row:hover .cb-row-grip[b-wv8j5dnvyo] {
    color: #6b7280;
    background: #f3f4f6;
}

/* Sin búsqueda activa el arrastre está habilitado; con una búsqueda aplicada no lo está. */
.cb-servicio-row[draggable="false"] .cb-row-grip[b-wv8j5dnvyo] {
    cursor: default;
    opacity: 0.4;
}

.cb-servicio-row.dnd-dragging[b-wv8j5dnvyo] {
    opacity: 0.4;
}

/* La línea de destino se dibuja con la sombra interna de las celdas: no altera el alto
   de la fila ni pisa el borde de la tabla. */
.cb-servicio-row.dnd-drop-before td[b-wv8j5dnvyo] {
    box-shadow: inset 0 2px 0 #1a73e8;
}

.cb-servicio-row.dnd-drop-after td[b-wv8j5dnvyo] {
    box-shadow: inset 0 -2px 0 #1a73e8;
}

.cb-servicio-row.just-moved[b-wv8j5dnvyo] {
    animation: cb-servicio-movido-b-wv8j5dnvyo 1.1s ease-out;
}

@keyframes cb-servicio-movido-b-wv8j5dnvyo {
    0% { background: #dbeafe; }
    100% { background: transparent; }
}

.cb-empty-row[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    color: #9ca3af;
    font-size: 0.78rem;
    text-align: center;
}

/* ── Botones de acción de fila ──
   Geometría, color y respuesta al cursor idénticos a los de la grid de Gestión de Empresas
   (EmpresaManager.razor.css): 28x28 px con el icono a 0.85rem. Idea: sv4-303. */

.btn-action[b-wv8j5dnvyo] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-wv8j5dnvyo] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

/* La edición solo está disponible para componentes activos: el botón apagado no debe
   reaccionar al puntero ni confundirse con una acción disponible (sv4-326). */
.btn-action:disabled[b-wv8j5dnvyo] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-action.text-danger:hover[b-wv8j5dnvyo] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.btn-action.text-warning:hover[b-wv8j5dnvyo] {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.btn-action.text-success:hover[b-wv8j5dnvyo] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.btn-action.text-primary:hover[b-wv8j5dnvyo] {
    background: #e8f0fe;
    border-color: #d2e3fc;
    color: #1a73e8;
}

/* El botón del detalle de especialidades lleva el conteo delante del icono: el botón crece
   en ancho (los demás botones de acción conservan su caja de 26px) y el badge mantiene el
   tamaño de la excepción "badge dentro de un botón" (suros-theme.css). Idea: sv4-296. */
.cb-actions .btn-action-conteo[b-wv8j5dnvyo] {
    width: auto;
    padding: 0 5px;
    gap: 4px;
}

/* ============================================================
   Acordeón de componentes
   ============================================================ */

.cb-acc-wrapper[b-wv8j5dnvyo] {
    flex: 1;
    overflow: auto;
    min-height: 0;
    padding: 8px 10px;
    scrollbar-width: thin;
}

.cb-acc[b-wv8j5dnvyo] {
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    background: #fff;
}

.cb-acc-head[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: #f9fafb;
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0b1e3a;
    cursor: pointer;
    text-align: left;
}

.cb-acc-head:hover[b-wv8j5dnvyo] {
    background: #f3f4f6;
}

.cb-acc-head:focus-visible[b-wv8j5dnvyo] {
    outline: 2px solid rgba(26, 115, 232, 0.5);
    outline-offset: -2px;
}

.cb-acc-head i[b-wv8j5dnvyo] {
    color: #1a73e8;
    font-size: 0.7rem;
    width: 10px;
}

/* Icono de la sección y su globo de ayuda, como en la configuración legacy (sv4-326). */
.cb-acc-head .cb-acc-section-icon[b-wv8j5dnvyo] {
    width: auto;
    flex-shrink: 0;
}

.cb-acc-head .cb-acc-help[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    color: #1a73e8;
    cursor: help;
    flex-shrink: 0;
}

.cb-acc-head .cb-acc-help i[b-wv8j5dnvyo] {
    width: auto;
}

.cb-acc-name[b-wv8j5dnvyo] {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
    white-space: normal;
}

.cb-acc-count[b-wv8j5dnvyo] {
    font-size: 0.66rem;
    font-weight: 700;
    color: #1a73e8;
    background: #e8f0fe;
    border-radius: 10px;
    padding: 2px 8px;
}

.cb-acc-body[b-wv8j5dnvyo] {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tarjeta del panel de componentes. Es seleccionable: al elegirla, la previsualización
   muestra su sección y realza la tarjeta equivalente (idea: sv4-290). Reproduce la
   tarjeta de la configuración legacy: control del componente arriba y "Asignar al
   servicio" al pie (idea: sv4-326). */
.cb-comp-card[b-wv8j5dnvyo] {
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color 100ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 100ms cubic-bezier(0.4, 0, 0.2, 1),
        background-color 100ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cb-comp-card:hover[b-wv8j5dnvyo] {
    border-color: #c7d2fe;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.cb-comp-card:focus-visible[b-wv8j5dnvyo] {
    outline: 2px solid rgba(26, 115, 232, 0.5);
    outline-offset: -2px;
}

/* El componente sin asignar conserva la tarjeta legible: su control se muestra atenuado
   y deshabilitado, como en la configuración legacy. Idea: sv4-326. */
.cb-comp-card.is-off[b-wv8j5dnvyo] {
    background: #fbfcfd;
}

.cb-comp-card.is-off .cb-comp-preview[b-wv8j5dnvyo] {
    opacity: 0.6;
}

/* Tarjeta cuyo componente está señalado en la previsualización. */
.cb-comp-card.cb-comp-card-sel[b-wv8j5dnvyo] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.18);
}

.cb-comp-head[b-wv8j5dnvyo] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px 4px;
}

.cb-comp-name[b-wv8j5dnvyo] {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0b1e3a;
    min-width: 0;
    line-height: 1.3;
}

.cb-comp-name-icon[b-wv8j5dnvyo] {
    color: #1a73e8;
    font-size: 0.66rem;
    flex-shrink: 0;
}

.cb-comp-required[b-wv8j5dnvyo] {
    color: #dc2626;
    font-weight: 700;
}

/* Globo de información de la tarjeta: mismo recurso que la configuración legacy. */
.cb-comp-help[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    color: #1a73e8;
    font-size: 0.72rem;
    line-height: 1;
    cursor: help;
    flex-shrink: 0;
}

.cb-comp-type[b-wv8j5dnvyo] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 2px 6px;
    white-space: nowrap;
}

/* Cuerpo de la tarjeta: el control real del componente, con el mismo lenguaje visual de
   la configuración legacy. Idea: sv4-326. */
.cb-comp-preview[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 10px 10px;
    font-size: 0.72rem;
}

.cb-comp-default[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cb-comp-control[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background: #fff;
    color: #374151;
    font-size: 0.72rem;
}

.cb-comp-control i[b-wv8j5dnvyo] {
    color: #6b7280;
    font-size: 0.62rem;
    flex-shrink: 0;
}

.cb-comp-control-text[b-wv8j5dnvyo] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-comp-preview .form-control-sm[b-wv8j5dnvyo],
.cb-comp-preview .form-select-sm[b-wv8j5dnvyo] {
    font-size: 0.72rem;
    min-height: 30px;
}

.cb-comp-preview .readonly-input[b-wv8j5dnvyo] {
    background: #fff;
    color: #6b7280;
}

.cb-comp-btn[b-wv8j5dnvyo] {
    height: 30px;
    font-size: 0.7rem;
    line-height: 1;
}

.cb-comp-chip[b-wv8j5dnvyo] {
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 0.69rem;
    line-height: 1.35;
}

.cb-comp-chip--green[b-wv8j5dnvyo] {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #1b5e20;
}

.cb-comp-chip--blue[b-wv8j5dnvyo] {
    background: #e8f0fe;
    border: 1px solid #cfe0fb;
    color: #1a3d7c;
}

.cb-comp-chip-title[b-wv8j5dnvyo] {
    font-weight: 700;
    color: #12325c;
    margin-bottom: 2px;
}

.cb-comp-chip-small[b-wv8j5dnvyo] {
    font-size: 0.66rem;
    line-height: 1.3;
}

.cb-comp-notice[b-wv8j5dnvyo] {
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #f8fafc;
    color: #4b5563;
    font-size: 0.69rem;
    line-height: 1.35;
}

.cb-comp-note[b-wv8j5dnvyo] {
    color: #6b7280;
    font-size: 0.66rem;
    line-height: 1.3;
}

/* Días hábiles: botones de la semana, seleccionables cuando el componente está asignado. */
.cb-comp-days[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.cb-comp-day[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    color: #6b7280;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 100ms, color 100ms, border-color 100ms;
}

.cb-comp-day:hover:not(:disabled)[b-wv8j5dnvyo] {
    border-color: #1a73e8;
    color: #1a73e8;
}

.cb-comp-day.is-on[b-wv8j5dnvyo] {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

.cb-comp-day:disabled[b-wv8j5dnvyo] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Calendario compacto de la tarjeta. */
.cb-comp-cal[b-wv8j5dnvyo] {
    max-width: 320px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
}

.cb-comp-cal-head[b-wv8j5dnvyo] {
    margin-bottom: 4px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #374151;
}

.cb-comp-cal-grid[b-wv8j5dnvyo] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    text-align: center;
}

.cb-comp-cal-dow[b-wv8j5dnvyo] {
    font-size: 0.53rem;
    font-weight: 600;
    color: #9ca3af;
}

.cb-comp-cal-day[b-wv8j5dnvyo] {
    padding: 3px 0;
    border-radius: 4px;
    color: #374151;
    font-size: 0.6rem;
    line-height: 1.1;
}

.cb-comp-cal-day.is-off[b-wv8j5dnvyo] {
    color: #c7cbd1;
}

.cb-comp-cal-day.is-available[b-wv8j5dnvyo] {
    color: #15803d;
    font-weight: 700;
    background: #f0fdf4;
}

.cb-comp-cal-day.is-unavailable[b-wv8j5dnvyo] {
    color: #b91c1c;
    background: #fee2e2;
}

.cb-comp-cal-day.is-selected[b-wv8j5dnvyo] {
    background: #1a73e8;
    color: #fff;
    font-weight: 700;
}

/* Cronómetro, turnos y franjas. */
.cb-comp-timer[b-wv8j5dnvyo] {
    text-align: center;
}

.cb-comp-timer-time[b-wv8j5dnvyo] {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b1e3a;
    line-height: 1.05;
}

.cb-comp-timer-date[b-wv8j5dnvyo] {
    color: #6b7280;
    font-size: 0.66rem;
}

.cb-comp-slots[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-comp-slot[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 4px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #fff;
    font-size: 0.67rem;
    color: #374151;
}

.cb-comp-badge[b-wv8j5dnvyo] {
    padding: 1px 6px;
    border-radius: 8px;
    background: #e8f5e9;
    color: #1b5e20;
    font-size: 0.57rem;
    font-weight: 700;
    white-space: nowrap;
}

.cb-comp-badge--danger[b-wv8j5dnvyo] {
    background: #fee2e2;
    color: #b91c1c;
}

.cb-comp-badge-date[b-wv8j5dnvyo] {
    padding: 1px 5px;
    border-radius: 4px;
    background: #eef2f7;
    color: #374151;
    font-size: 0.64rem;
}

/* Procedimientos, adjuntos y listas de resumen. */
.cb-comp-proc-row[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    background: #fdf6ec;
    font-size: 0.66rem;
}

.cb-comp-proc-name[b-wv8j5dnvyo] {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.cb-comp-proc-qty[b-wv8j5dnvyo] {
    font-weight: 700;
}

.cb-comp-proc-del[b-wv8j5dnvyo] {
    color: #dc2626;
    font-size: 0.65rem;
}

.cb-comp-attach[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #f8fafc;
    font-size: 0.68rem;
    color: #374151;
}

.cb-comp-attach i[b-wv8j5dnvyo] {
    color: #1a73e8;
}

.cb-comp-list[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cb-comp-list-item[b-wv8j5dnvyo] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.67rem;
    line-height: 1.3;
    color: #374151;
}

.cb-comp-list-item i[b-wv8j5dnvyo] {
    width: 12px;
    margin-top: 2px;
    color: #1a73e8;
    font-size: 0.62rem;
    flex-shrink: 0;
}

/* Pie de la tarjeta: asignación al servicio y edición. Mismo orden que la vista legacy. */
.cb-comp-actions[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 0;
    padding: 6px 10px;
    border-top: 1px dashed #eef0f3;
}

.cb-comp-assign[b-wv8j5dnvyo] {
    font-size: 0.7rem;
    color: #6b7280;
}

.cb-comp-switch-label[b-wv8j5dnvyo] {
    font-size: 0.7rem;
    color: #6b7280;
}

/* ============================================================
   Previsualización del agendamiento
   ============================================================ */

/* Ajuste de layout del grupo de pestañas estándar (.editor-tabs, ver PATTERNS/TABS.md):
   la previsualización vive en una columna angosta, así que si las cuatro pestañas no
   caben se desplazan en horizontal en lugar de partirse en dos filas. */
.cb-preview-tabs.nav-tabs[b-wv8j5dnvyo] {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.cb-preview-tabs.nav-tabs[b-wv8j5dnvyo]::-webkit-scrollbar {
    height: 0;
}

.cb-preview-body[b-wv8j5dnvyo] {
    flex: 1;
    overflow: auto;
    min-height: 0;
    padding: 12px;
}

.cb-phone[b-wv8j5dnvyo] {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cb-phone-head[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: #f7f9fc;
    border-bottom: 1px solid #e6eaf0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0b1e3a;
}

.cb-phone-head i[b-wv8j5dnvyo] {
    color: #1a73e8;
}

.cb-phone-service[b-wv8j5dnvyo] {
    margin-left: auto;
    font-size: 0.66rem;
    font-weight: 700;
    color: #1a73e8;
    background: #e8f0fe;
    border-radius: 10px;
    padding: 2px 8px;
}

.cb-phone-body[b-wv8j5dnvyo] {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-pv-item[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Tarjeta de la previsualización que corresponde al componente seleccionado en el panel.
   La animación solo entra (260 ms, sin parpadeo) y el realce se mantiene mientras el componente
   siga señalado; se animan únicamente transform y sombra, sin reflujo, y se respeta la
   preferencia de movimiento reducido (SUROS.Framework/UI/ANIMATIONS.md). Idea: sv4-290. */
.cb-pv-item-realzado[b-wv8j5dnvyo] {
    padding: 6px 8px;
    margin: -6px -8px;
    border-radius: 8px;
    background: #eef4ff;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.85);
    animation: cb-pv-realce-b-wv8j5dnvyo 260ms cubic-bezier(0, 0, 0.2, 1);
}

@keyframes cb-pv-realce-b-wv8j5dnvyo {
    from {
        transform: scale(0.985);
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
    to {
        transform: scale(1);
        box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.85);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-pv-item-realzado[b-wv8j5dnvyo] {
        animation: none;
    }
}

.cb-pv-label[b-wv8j5dnvyo] {
    font-size: 0.74rem;
    font-weight: 600;
    color: #374151;
}

.cb-pv-required[b-wv8j5dnvyo] {
    color: #b91c1c;
    font-weight: 800;
}

.cb-pv-input[b-wv8j5dnvyo],
.cb-pv-select[b-wv8j5dnvyo] {
    width: 100%;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
    color: #111827;
    background: #f8fafc;
}

.cb-pv-input[b-wv8j5dnvyo]::placeholder {
    color: #9ca3af;
}

.cb-pv-select[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9ca3af;
}

.cb-pv-card[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 10px 12px;
}

.cb-pv-card i[b-wv8j5dnvyo] {
    color: #1a73e8;
    font-size: 1.1rem;
}

.cb-pv-card-title[b-wv8j5dnvyo] {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0b1e3a;
}

.cb-pv-card-sub[b-wv8j5dnvyo] {
    font-size: 0.68rem;
    color: #6b7280;
}

.cb-pv-calendar[b-wv8j5dnvyo] {
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    overflow: hidden;
}

.cb-pv-cal-head[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    background: #f7f9fc;
    border-bottom: 1px solid #e6eaf0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0b1e3a;
}

.cb-pv-cal-grid[b-wv8j5dnvyo] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    padding: 8px;
}

.cb-pv-cal-day[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    border-radius: 4px;
    font-size: 0.68rem;
    color: #0b1e3a;
    background: #f3f4f6;
}

.cb-pv-cal-day.is-active[b-wv8j5dnvyo] {
    background: #1577ff;
    color: #fff;
    font-weight: 700;
}

.cb-pv-shifts[b-wv8j5dnvyo] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cb-pv-shift[b-wv8j5dnvyo] {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0b1e3a;
    background: #fff;
}

.cb-pv-note[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #9ec5fe;
    background: #eef4ff;
    color: #0b1e3a;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
}

.cb-pv-switch[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.74rem;
    color: #374151;
}

.cb-pv-switch-track[b-wv8j5dnvyo] {
    position: relative;
    width: 38px;
    height: 20px;
    border-radius: 20px;
    background: #4caf50;
    display: inline-block;
    flex-shrink: 0;
}

.cb-pv-switch-knob[b-wv8j5dnvyo] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}

.cb-pv-table[b-wv8j5dnvyo] {
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    overflow: hidden;
}

.cb-pv-table-row[b-wv8j5dnvyo] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
    padding: 6px 10px;
    font-size: 0.7rem;
    color: #374151;
    border-bottom: 1px solid #eef0f3;
}

.cb-pv-table-row:last-child[b-wv8j5dnvyo] {
    border-bottom: 0;
}

.cb-pv-help[b-wv8j5dnvyo] {
    font-size: 0.66rem;
    color: #6b7280;
    line-height: 1.3;
}

.cb-pv-error[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: #b42318;
    background: #fde8e8;
    border-radius: 6px;
    padding: 5px 8px;
}

/* ============================================================
   Previsualización de la pantalla de Usuario (App BOT / citapp)
   El marcado y los nombres de clase de esta pantalla son los del componente real
   (NewUserDataComponent.razor), así que la apariencia la aportan las hojas del proyecto
   (Site.css). Aquí solo va lo que el componente real tenía como CSS aislado o como estilo
   en línea, para que la previsualización se vea igual que la aplicación. Idea: sv4-298.
   ============================================================ */

/* Cuerpo del paso: bloque normal, sin relleno lateral ni superior, como el cuerpo real del
   App BOT. Con la columna flex anterior, el `margin: auto` de .user-data-container encogía la
   tarjeta blanca a su contenido (192px) mientras la barra inferior estiraba (406px); así la
   tarjeta y la barra del resumen ocupan el mismo ancho, borde a borde, igual que la pantalla
   real. Además: escala reducida del contenido (solo en la previsualización, para que la
   pantalla entre completa en la columna del panel) y color de texto real de la aplicación. */
.cb-phone-body-app[b-wv8j5dnvyo] {
    display: block;
    /* Aire lateral del contenedor: el contenido del paso se lee como en la aplicación (su
       contenedor real mide 400px y la pantalla de la previsualización es más ancha) y la barra
       del resumen queda del mismo ancho que la tarjeta.
       El aire inferior (18px) despega del borde de la pantalla simulada el aviso de los
       componentes sin bloque y el último elemento del paso, que antes quedaban pegados al
       borde redondeado del marco. Idea: sv4-314. */
    padding: 12px 17px 18px;
    background: #f4f4f9;
    zoom: 0.85;
    /* El host del módulo envuelve el contenido en <div class="tab-pane active"> y Site.css
       define .active en blanco (es para los botones del asistente de agenda): los títulos y
       las etiquetas del paso heredan el color y desaparecían sobre el fondo blanco. Se fija el
       color que heredan los componentes de la aplicación. */
    color: #212529;
    border-radius: 0 0 22px 22px;
}

/* El marco simula un teléfono: bisel oscuro, esquinas redondeadas y sombra de dispositivo. La
   pantalla la forman la barra de identificación (arriba) y el cuerpo del paso (abajo).
   Ideas: sv4-298, sv4-306. */
.cb-phone[b-wv8j5dnvyo] {
    width: 100%;
    max-width: 370px;
    background: #111827;
    border: 0;
    border-radius: 30px;
    padding: 9px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

/* La barra de identificación de la sección es la parte superior de la pantalla del móvil. */
.cb-phone-head[b-wv8j5dnvyo] {
    border-radius: 22px 22px 0 0;
}

/* Los dos botones de acción del paso comparten caja y alineación: el de refrescar va
   deshabilitado y sin esto el par se descuadra (idea: sv4-298). */
.cb-phone-body-app .refresh-search-button[b-wv8j5dnvyo],
.cb-phone-body-app .search-button[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    line-height: 1.25;
    white-space: nowrap;
}

/* Respiro entre el campo de documento y el par Refrescar/Validar: en la aplicación esos
   botones van con margen superior negativo y en la previsualización quedaban montados sobre
   el campo. Solo lleva .w-100 el grupo del par de búsqueda, así que el respiro no toca los
   botones de servicio. */
.cb-phone-body-app .service-buttons-group.w-100[b-wv8j5dnvyo] {
    margin-top: 12px;
}

/* Los dos botones de servicio del paso se reparten el ancho y comparten alto, como en la
   pantalla real del App BOT (allí miden 184 y 182 px); sin esto el de continuar quedaba
   angosto y su texto se partía en dos líneas. */
.cb-phone-body-app .user-data-form > .service-buttons-group > .btn[b-wv8j5dnvyo] {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 4px;
    white-space: nowrap;
}

/* Alto de los botones de servicio del pie del paso. El marcado del asistente los declara con
   40px, pero el `.active` global de Site.css (reglas de los botones del wizard de agenda) impone
   max-height:25px !important y min-height:20px !important, y recortaba a la mitad el botón de
   continuar dentro del marco. Se neutraliza acá y el alto se declara una sola vez, para poder
   ajustarlo en un único lugar. Solo el pie: el grupo de búsqueda del paso de usuario (.w-100)
   queda por fuera. Idea: sv4-310. */
.cb-phone-body-app .service-buttons-group:not(.w-100) > .btn[b-wv8j5dnvyo] {
    height: 40px !important;
    max-height: none !important;
    min-height: 0 !important;
}

/* Separador superior que el componente real dibuja sobre cada etiqueta del paso. */
.cb-pv-borde-superior[b-wv8j5dnvyo] {
    border-top: 1px solid #ebe2e2ff;
    width: 100%;
    line-height: unset;
}

.cb-pv-label-borde[b-wv8j5dnvyo] {
    border-top: 1px solid #ebe2e2ff;
    width: 100%;
    line-height: unset;
    padding-top: 6px;
}

/* Asterisco de campo obligatorio, con el tamaño del componente real. */
.cb-pv-asterisco[b-wv8j5dnvyo] {
    font-size: 1.3rem;
    line-height: 1.2rem;
}

/* Icono de teléfono dentro del campo de WhatsApp. */
.cb-pv-campo-icono[b-wv8j5dnvyo] {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
}

/* Espacio que el campo de teléfono reserva para sus iconos. */
.cb-pv-campo-telefono[b-wv8j5dnvyo] {
    padding-left: 30px;
    padding-right: 70px;
}

/* El paso de usuario enfoca el campo de documento al entrar: realce de foco de Bootstrap. */
.cb-pv-campo-enfocado[b-wv8j5dnvyo] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Barra inferior del paso: mismo ajuste que el CSS aislado de Layout/Shared/Footer.razor.css,
   replicado dentro del alcance de la previsualización (mismo criterio que .editor-tabs). */
.cb-pv-footer.footer-card[b-wv8j5dnvyo] {
    padding: 6px 8px;
}

.cb-pv-footer .footer-items[b-wv8j5dnvyo] {
    gap: 8px;
}

/* Componentes de la previsualización con su interruptor "Visible en el formulario".
   Los ocultos se atenúan pero siguen en pantalla para poder volver a mostrarlos.
   Idea: sv4-326. */
.cb-pv-componente[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
}

.cb-pv-oculto[b-wv8j5dnvyo] {
    opacity: 0.45;
}

/* Componentes de configuración del horario en la previsualización. */
.cb-pv-config[b-wv8j5dnvyo] {
    margin: 8px 4px;
}

.cb-pv-config-title[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
}

.cb-pv-config-title i[b-wv8j5dnvyo] {
    color: #1a73e8;
    font-size: 0.68rem;
}

.cb-pv-days[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.cb-pv-config-note[b-wv8j5dnvyo] {
    margin-top: 3px;
    color: #6b7280;
    font-size: 0.7rem;
    line-height: 1.3;
}

.cb-pv-visible-row[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 6px;
}

.cb-pv-visible-label[b-wv8j5dnvyo] {
    flex-shrink: 0;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
    color: #6b7280;
}

/* Se conserva la geometría canónica de .suros-switch; solo se cambia el color
   del interruptor encendido para distinguirlo de "Asignar al servicio". */
.cb-pv-switch-visible .form-check-input[b-wv8j5dnvyo] {
    margin-top: 0;
    cursor: pointer;
}

.cb-pv-switch-visible .form-check-input:checked[b-wv8j5dnvyo] {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Envío a la agenda de recepción. */
.cb-pv-reception[b-wv8j5dnvyo] {
    margin: 8px 4px;
    padding: 10px;
    border: 1px solid #cfe0fb;
    border-radius: 8px;
    background: #e8f0fe;
    color: #1a3d7c;
}

.cb-pv-reception-title[b-wv8j5dnvyo] {
    margin-bottom: 3px;
    font-weight: 700;
}

.cb-pv-reception-text[b-wv8j5dnvyo] {
    font-size: 0.78rem;
    line-height: 1.35;
}

/* Avisos de condiciones (asignación automática y bloqueo de descanso). */
.cb-pv-notice[b-wv8j5dnvyo] {
    margin: 8px 4px;
    padding: 10px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    background: #f1f5fb;
    color: #334155;
    font-size: 0.8rem;
    line-height: 1.35;
}

/* Turnos y franjas de la previsualización. */
.cb-pv-slots[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px;
}

.cb-pv-slot[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 0.82rem;
}

.cb-pv-slot-check[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #16a34a;
    font-size: 0.7rem;
}

.cb-pv-slot-badge[b-wv8j5dnvyo] {
    padding: 2px 8px;
    border-radius: 10px;
    background: #e8f5e9;
    color: #1b5e20;
    font-size: 0.68rem;
    font-weight: 700;
}

.cb-pv-slot-badge--danger[b-wv8j5dnvyo] {
    background: #fee2e2;
    color: #b91c1c;
}

/* Aviso de los componentes del catálogo que todavía no tienen bloque en la pantalla del paso. */
.cb-pv-pendientes[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #7c2d12;
    font-size: 0.68rem;
}

/* Paso de doctor: desplegable de profesional con las insignias de días con agenda. Reglas
   copiadas de NewDoctorComponent.razor.css, acotadas a la previsualización para que no
   alcancen al resto del panel. Idea: sv4-302. */
.cb-phone-body-app .doctor-dropdown-container[b-wv8j5dnvyo] {
    position: relative;
    width: 100%;
}

.cb-phone-body-app .doctor-dropdown-trigger[b-wv8j5dnvyo] {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: 38px;
}

.cb-phone-body-app .day-badge[b-wv8j5dnvyo] {
    font-size: 0.8rem;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5 !important;
    color: #064e3b;
    font-weight: bold;
}

/* ── Paso de resumen: banner de éxito, procedimientos y OTP ──
   Reglas copiadas de AppointmentSuccess.razor.css y SummaryComponent.razor.css, acotadas a la
   previsualización. Idea: sv4-309. */
.cb-phone-body-app .success-hero[b-wv8j5dnvyo] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    color: #fff;
    min-height: 80px;
}

.cb-phone-body-app .hero-content[b-wv8j5dnvyo] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.cb-phone-body-app .hero-bubble[b-wv8j5dnvyo] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.cb-phone-body-app .hero-bubble-1[b-wv8j5dnvyo] { top: -30px; right: -20px; width: 110px; height: 110px; }
.cb-phone-body-app .hero-bubble-2[b-wv8j5dnvyo] { bottom: -40px; left: -25px; width: 130px; height: 130px; }
.cb-phone-body-app .hero-bubble-3[b-wv8j5dnvyo] { top: 20px; right: 60px; width: 50px; height: 50px; }
.cb-phone-body-app .success-hero-icon[b-wv8j5dnvyo] { flex-shrink: 0; font-size: 2.2rem; line-height: 1; opacity: 0.9; }
.cb-phone-body-app .success-hero-body[b-wv8j5dnvyo] { flex: 1; min-width: 0; }

.cb-phone-body-app .success-hero-title[b-wv8j5dnvyo] {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.cb-phone-body-app .success-hero-id[b-wv8j5dnvyo] {
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: #fff;
}

.cb-phone-body-app .success-hero-wa[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.cb-phone-body-app .summary-procedures-list[b-wv8j5dnvyo] { display: flex; flex-direction: column; gap: 0.4rem; }

.cb-phone-body-app .summary-proc-row[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.8rem;
}

.cb-phone-body-app .summary-proc-code[b-wv8j5dnvyo] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d6efd;
    background: #eef2ff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.cb-phone-body-app .summary-proc-desc[b-wv8j5dnvyo] { flex: 1; color: #374151; }

.cb-phone-body-app .summary-proc-qty[b-wv8j5dnvyo] {
    font-weight: 700;
    color: #6b7280;
    font-size: 0.75rem;
    background: #e5e7eb;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    flex-shrink: 0;
}

/* Código OTP: caja azul con el código, su vencimiento y la nota del comprobante, como en la
   pantalla real. */
.cb-phone-body-app .otp-info[b-wv8j5dnvyo] { text-align: center; margin: 0 auto; }
.cb-phone-body-app .otp-code-label[b-wv8j5dnvyo] { display: block; font-size: 0.85rem; font-weight: 700; color: #1f2937; }
.cb-phone-body-app .otp-code-row[b-wv8j5dnvyo] { display: flex; justify-content: center; margin: 0.35rem 0 0.25rem; }

.cb-phone-body-app .otp-code-row strong[b-wv8j5dnvyo] {
    display: inline-block;
    background: #1e40af;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
}

.cb-phone-body-app .otp-expiration[b-wv8j5dnvyo] { font-size: 0.75rem; color: #6b7280; }

.cb-phone-body-app .evidence-hint[b-wv8j5dnvyo] {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #6b7280;
    padding-top: 0.5rem;
    text-align: left;
}

.cb-phone-body-app .evidence-actions[b-wv8j5dnvyo] { display: flex; justify-content: center; margin-top: 0.5rem; }

.cb-phone-body-app .copyright[b-wv8j5dnvyo] {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #9ca3af;
}

/* Paso de resumen: tarjetas de datos. Reglas copiadas de SummaryComponent.razor.css, acotadas
   a la previsualización. Idea: sv4-302. */
.cb-phone-body-app .summary-appointment-sidebar[b-wv8j5dnvyo] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.cb-phone-body-app .summary-appointment-sidebar > .summary-card:first-of-type[b-wv8j5dnvyo] {
    margin-top: 20px;
}

.cb-phone-body-app .summary-card[b-wv8j5dnvyo] {
    background: #fff;
    border: 1px solid #e9eef3;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cb-phone-body-app .summary-card-header[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.01em;
}

.cb-phone-body-app .summary-card-icon[b-wv8j5dnvyo] {
    font-size: 0.95rem;
    color: #0d6efd;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.cb-phone-body-app .summary-card-body[b-wv8j5dnvyo] {
    padding: 0.25rem 1rem 0.875rem;
}

.cb-phone-body-app .summary-row[b-wv8j5dnvyo] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 0.75rem;
}

.cb-phone-body-app .summary-row:last-child[b-wv8j5dnvyo] {
    border-bottom: none;
}

.cb-phone-body-app .summary-row-label[b-wv8j5dnvyo] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
    min-width: 6.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cb-phone-body-app .summary-row-value[b-wv8j5dnvyo] {
    font-size: 0.85rem;
    color: #1f2937;
    text-align: right;
    word-break: break-word;
}

.cb-phone-body-app .summary-row-value-cap[b-wv8j5dnvyo] {
    text-transform: capitalize;
}

/* ============================================================
   Formulario compacto (modales)
   ============================================================ */

.cb-compact-form .form-control-sm[b-wv8j5dnvyo],
.cb-compact-form .form-select-sm[b-wv8j5dnvyo] {
    height: 30px;
    font-size: 0.82rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.cb-compact-form textarea.form-control-sm[b-wv8j5dnvyo] {
    height: auto;
}

.cb-compact-form .form-label[b-wv8j5dnvyo] {
    font-size: 0.75rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.cb-compact-form .form-check-label[b-wv8j5dnvyo] {
    font-size: 0.78rem;
}

.cb-compact-form .input-group-sm .btn[b-wv8j5dnvyo] {
    height: 30px;
    font-size: 0.72rem;
}

/* ============================================================
   Pestaña 3: días fuera de servicio (sv4-279)
   ============================================================ */

/* La tarjeta ocupa todo el ancho del contenedor de la pestaña, para que la
   grilla de días registrados aproveche el espacio disponible. Idea: sv4-279. */

.cb-dfs-card[b-wv8j5dnvyo] {
    width: 100%;
}

.cb-dfs-toolbar[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 4px 0;
}

.cb-dfs-label[b-wv8j5dnvyo] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

.cb-dfs-date[b-wv8j5dnvyo] {
    width: 140px;
    height: 26px;
    font-size: 0.75rem;
    padding: 2px 6px;
}

.cb-dfs-count[b-wv8j5dnvyo],
.cb-dfs-marcados[b-wv8j5dnvyo] {
    font-size: 0.75rem;
    color: #6b778c;
    font-weight: 600;
}

.cb-dfs-marcados[b-wv8j5dnvyo] {
    margin-right: auto;
}

.cb-table-wrapper-dfs[b-wv8j5dnvyo] {
    max-height: 520px;
    overflow: auto;
}

.cb-dfs-fecha[b-wv8j5dnvyo] {
    font-weight: 700;
    color: #0b1e3a;
    font-size: 0.8rem;
}

.cb-dfs-dia[b-wv8j5dnvyo] {
    font-size: 0.72rem;
    color: #6b778c;
    text-transform: capitalize;
}

.cb-dfs-servicios[b-wv8j5dnvyo] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cb-dfs-chip[b-wv8j5dnvyo] {
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    padding: 1px 8px;
    border-radius: 10px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #3730a3;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Lista de servicios del modal: en dos columnas para que todos los servicios del BOT
   (14 en el policlínico) queden a la vista sin scroll interno. El interruptor conserva
   la geometría canónica de .suros-switch (SUROS.Framework/CONTRACTS/FORM.md).
   Idea: sv4-307. */

.cb-dfs-servicios-list[b-wv8j5dnvyo] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    padding: 4px 10px;
}

/* Los avisos de carga y de lista vacía ocupan el ancho completo de las dos columnas. */
.cb-dfs-servicios-list > .cb-empty-row[b-wv8j5dnvyo] {
    grid-column: 1 / -1;
}

.cb-dfs-servicio-row[b-wv8j5dnvyo] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 5px 0;
    border-top: 1px dashed #eef0f4;
}

/* La línea superior solo separa filas: la primera fila de las dos columnas va sin línea. */
.cb-dfs-servicio-row:nth-child(-n+2)[b-wv8j5dnvyo] {
    border-top: 0;
}

.cb-dfs-servicio-nombre[b-wv8j5dnvyo] {
    font-size: 0.78rem;
    color: #1f2937;
    cursor: pointer;
    margin: 0;
    /* El nombre largo se recorta con puntos suspensivos en lugar de desbordar su columna;
       el texto completo queda en el title de la etiqueta. */
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-dfs-servicio-inhabilitado[b-wv8j5dnvyo] {
    color: #9ca3af;
    font-size: 0.72rem;
}

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1500px) {
    /* En pantallas menores el listado de servicios conserva algo más de ancho que
       los componentes: la columna NOMBRE lo necesita para mostrar el nombre en una
       sola línea (ideas: sv4-289, sv4-296). */
    .cb-col-servicios[b-wv8j5dnvyo] {
        width: 380px;
        min-width: 340px;
    }

    .cb-col-componentes[b-wv8j5dnvyo] {
        width: 340px;
        min-width: 300px;
    }
}

/* En una ventana angosta las dos columnas de servicios del modal no dan espacio al nombre
   del servicio: la lista vuelve a una sola columna y la línea superior separa cada fila.
   Idea: sv4-307. */
@media (max-width: 640px) {
    .cb-dfs-servicios-list[b-wv8j5dnvyo] {
        grid-template-columns: 1fr;
    }

    .cb-dfs-servicio-row:nth-child(2)[b-wv8j5dnvyo] {
        border-top: 1px dashed #eef0f4;
    }
}

@media (max-width: 1200px) {
    .cb-cards[b-wv8j5dnvyo] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-card--demanda[b-wv8j5dnvyo],
    .cb-card--otp[b-wv8j5dnvyo],
    .cb-card--bloqueo[b-wv8j5dnvyo],
    .cb-card--horarios[b-wv8j5dnvyo] {
        grid-column: 1;
        grid-row: auto;
    }

    .cb-split-body[b-wv8j5dnvyo] {
        flex-direction: column;
        overflow: auto;
    }

    .cb-col[b-wv8j5dnvyo] {
        width: 100%;
        min-width: 0;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid #e2e4e9;
    }

    .cb-table-servicios[b-wv8j5dnvyo] {
        max-height: 260px;
    }

    .cb-acc-wrapper[b-wv8j5dnvyo] {
        max-height: 420px;
    }
}

/* ============================================================
   MODO EXPANDIDO — Servicios y componentes del BOT a pantalla completa
   Mismo patrón que Citas en vivo (#monitor-agendamiento-vivo.modo-expandido-vivo,
   idea: monitoreo-vivo-expandido) y que Filtros de Recepción
   (#gestion-demanda-inducida.modo-expandido).
   ============================================================ */

#configuracion-servicios-bot.modo-expandido-servicios[b-wv8j5dnvyo] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1045 !important;
    background: #f8f9fa !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden !important;
    animation: cbServiciosExpandIn-b-wv8j5dnvyo .18s ease;
}

@keyframes cbServiciosExpandIn-b-wv8j5dnvyo {
    from { opacity: .85; transform: scale(.98); }
    to { opacity: 1; transform: scale(1); }
}

/* La barra de título y el grupo de pestañas ceden su espacio a la barra flotante.
   El header se conserva porque aloja el toast de respuestas y el botón Recargar. */
#configuracion-servicios-bot.modo-expandido-servicios .editor-title-bar[b-wv8j5dnvyo],
#configuracion-servicios-bot.modo-expandido-servicios .editor-tabs.nav-tabs[b-wv8j5dnvyo] {
    display: none !important;
}

/* El cuerpo dividido ocupa el alto restante: 100vh menos el header y la barra flotante. */
#configuracion-servicios-bot.modo-expandido-servicios .cb-split-body[b-wv8j5dnvyo] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

/* Las columnas y sus listados aprovechan todo el alto disponible, también en pantallas
   angostas donde el media query de 1200px los limita. */
#configuracion-servicios-bot.modo-expandido-servicios .cb-col[b-wv8j5dnvyo] {
    max-height: none !important;
}

#configuracion-servicios-bot.modo-expandido-servicios .cb-table-servicios[b-wv8j5dnvyo],
#configuracion-servicios-bot.modo-expandido-servicios .cb-acc-wrapper[b-wv8j5dnvyo] {
    max-height: none !important;
}

/* La grilla de días fuera de servicio libera su límite de alto cuando la pestaña está a
   pantalla completa (sv4-279). La lista de servicios del modal ya no tiene límite propio:
   se muestra en dos columnas sin scroll (sv4-307). */
#configuracion-servicios-bot.modo-expandido-servicios .cb-table-wrapper-dfs[b-wv8j5dnvyo] {
    max-height: none !important;
}
/* /Presentation/Components/Pages/Configuracion/EmpresaManager.razor.rz.scp.css */
.editor-container[b-6whf9cfeay] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-6whf9cfeay] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-6whf9cfeay] {
    font-size: 13px;
}

.editor-header-right[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-6whf9cfeay] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-6whf9cfeay],
.editor-title-bar .fw-semibold[b-6whf9cfeay],
.editor-title-bar small[b-6whf9cfeay] {
    color: #1a1d23 !important;
}

/* ── Barra de favoritos (mismo patrón que Gestión de Funcionarios) ── */

.mgr-fav-bar[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.mgr-fav-bar-icon[b-6whf9cfeay] {
    font-size: 0.65rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.mgr-fav-pill[b-6whf9cfeay] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    font-size: 0.75rem;
    color: #92400e;
    cursor: default;
    transition: all 0.12s;
    white-space: nowrap;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mgr-fav-pill i[b-6whf9cfeay] {
    font-size: 0.6rem;
}

.mgr-fav-pill-remove[b-6whf9cfeay] {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-size: 0.55rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.mgr-fav-pill-remove:hover[b-6whf9cfeay] {
    opacity: 1;
}

/* ── Buscadores tipo sidebar ── */

.mgr-search-wrapper[b-6whf9cfeay] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

.mgr-search-icon[b-6whf9cfeay] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.mgr-search-input[b-6whf9cfeay] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.mgr-search-input:focus[b-6whf9cfeay] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
    background: #fff;
}

.mgr-search-input[b-6whf9cfeay]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.mgr-search-clear[b-6whf9cfeay] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.mgr-search-clear:hover[b-6whf9cfeay] {
    opacity: 1;
    color: #dc2626;
}

.mgr-search-empty[b-6whf9cfeay] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* ============================================================
   Split horizontal: panel de regímenes (izq) + grid de empresas (der)
   ============================================================ */

.emp-split-body[b-6whf9cfeay] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Panel izquierdo: filtro por régimen ── */

.emp-filtro-panel[b-6whf9cfeay] {
    width: 320px;
    min-width: 320px;
    max-width: 360px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.emp-filtro-header[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.emp-filtro-header i[b-6whf9cfeay] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.emp-filtro-list[b-6whf9cfeay] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.emp-filtro-list[b-6whf9cfeay]::-webkit-scrollbar {
    width: 4px;
}

.emp-filtro-list[b-6whf9cfeay]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.emp-filtro-item[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.emp-filtro-item:hover[b-6whf9cfeay] {
    background: #f3f4f6;
}

.emp-filtro-item.active[b-6whf9cfeay] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
    /* El `.active` global de Site.css (botones del wizard de agenda) impone
       max-height:25px !important y min-height:20px !important y recortaba la fila
       seleccionada. Se neutraliza aquí para que el alto de la fila sea el mismo en
       cualquier estado (normal, hover o seleccionada). */
    max-height: none !important;
    min-height: 0 !important;
}

.emp-filtro-item i[b-6whf9cfeay] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.emp-filtro-item.active i[b-6whf9cfeay] {
    color: #1a73e8;
}

.emp-filtro-name[b-6whf9cfeay] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.emp-filtro-count-badge[b-6whf9cfeay] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.emp-filtro-item.active .emp-filtro-count-badge[b-6whf9cfeay] {
    background: #d2e3fc;
    color: #1557b0;
}

.emp-filtro-star[b-6whf9cfeay] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emp-filtro-item:hover .emp-filtro-star[b-6whf9cfeay] {
    opacity: 0.6;
}

.emp-filtro-star:hover[b-6whf9cfeay] {
    opacity: 1 !important;
    color: #f59e0b;
}

.emp-filtro-star.active[b-6whf9cfeay] {
    opacity: 1;
    color: #f59e0b;
}

.emp-filtro-footer[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
}

.emp-filtro-footer i[b-6whf9cfeay] {
    font-size: 0.7rem;
}

/* ── Panel derecho: grid de empresas ── */

.emp-grid-panel[b-6whf9cfeay] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.emp-grid-toolbar[b-6whf9cfeay] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 7px 14px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.emp-grid-wrapper[b-6whf9cfeay] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
}

.emp-grid-wrapper[b-6whf9cfeay]::-webkit-scrollbar {
    width: 5px;
}

.emp-grid-wrapper[b-6whf9cfeay]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.emp-grid-wrapper[b-6whf9cfeay]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* ── Cabecera de la tabla ── */

.emp-grid-header[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ── Filas de la tabla ── */

.emp-grid-row[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f3f4f6;
    gap: 8px;
    transition: background 0.12s;
    min-height: 40px;
    font-size: 0.8rem;
}

.emp-grid-row:hover[b-6whf9cfeay] {
    background: #f9fafb;
}

.emp-grid-row.inactive[b-6whf9cfeay] {
    opacity: 0.55;
    background: #f9fafb;
}

.emp-grid-row.inactive .emp-col-name[b-6whf9cfeay] {
    font-style: italic;
    color: #9ca3af;
}

/* ── Columnas ── */

.emp-col-nit[b-6whf9cfeay] {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.emp-col-name[b-6whf9cfeay] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.emp-col-regimen[b-6whf9cfeay] {
    width: 150px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.emp-col-ubicacion[b-6whf9cfeay] {
    width: 180px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.emp-col-codigo[b-6whf9cfeay] {
    width: 110px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.78rem;
}

.emp-col-func[b-6whf9cfeay] {
    width: 74px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.emp-col-estado[b-6whf9cfeay] {
    width: 88px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.emp-col-actions[b-6whf9cfeay] {
    width: 118px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.emp-grid-row:hover .emp-col-actions[b-6whf9cfeay] {
    opacity: 1;
}

/* Con el foco en la celda (recorrido guiado por teclado o el tour de la página) las acciones
   se muestran completas, no atenuadas. */
.emp-col-actions:focus[b-6whf9cfeay],
.emp-col-actions:focus-within[b-6whf9cfeay] {
    opacity: 1;
}

.emp-col-name-text[b-6whf9cfeay] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* ── Chips de contacto y clasificación en el grid ── */

.emp-contact-badge[b-6whf9cfeay] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 0.55rem;
    flex-shrink: 0;
    cursor: default;
    transition: all 0.12s;
}

.emp-contact-badge:hover[b-6whf9cfeay] {
    background: #e8f0fe;
    color: #1a73e8;
}

.emp-chip[b-6whf9cfeay] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    cursor: default;
}

.emp-chip-eps[b-6whf9cfeay] {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.emp-chip-soat[b-6whf9cfeay] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* ── Contador de funcionarios ── */

.emp-func-badge[b-6whf9cfeay] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.68rem;
    font-weight: 600;
}

.emp-func-badge i[b-6whf9cfeay] {
    font-size: 0.6rem;
}

.emp-func-badge.con-funcionarios[b-6whf9cfeay] {
    background: #ecfdf5;
    color: #047857;
}

/* ── Footer del grid ── */

.emp-grid-footer[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
}

.emp-grid-footer-count[b-6whf9cfeay] {
    font-size: 0.72rem;
    color: #6b7280;
}

.emp-grid-footer-count i[b-6whf9cfeay] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ── Botones de acción ── */

.btn-action[b-6whf9cfeay] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-6whf9cfeay] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

/* ============================================================
   Formulario compacto de empresa
   ============================================================ */

.emp-compact-form .form-control-sm[b-6whf9cfeay],
.emp-compact-form .form-select-sm[b-6whf9cfeay] {
    height: 28px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.emp-compact-form .form-label[b-6whf9cfeay] {
    font-size: 0.74rem;
    margin-bottom: 1px;
    color: #4b5563;
    font-weight: 500;
}

.emp-compact-form .section-title[b-6whf9cfeay] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 3px;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.emp-compact-form .section-title i[b-6whf9cfeay] {
    font-size: 0.76rem;
    margin-right: 4px;
}

.emp-compact-form .section-body[b-6whf9cfeay] {
    margin-bottom: 6px;
}

.emp-compact-form .compact-panel[b-6whf9cfeay] {
    padding: 4px 6px;
    border-radius: 4px;
}

.emp-compact-form .form-check-label[b-6whf9cfeay] {
    font-size: 0.81rem;
}

/* Solo casillas y radios: los interruptores (role="switch") conservan el
   tamaño de Bootstrap (2em x 1em) definido en el patrón .suros-switch. */
.emp-compact-form .form-check-input:not([role="switch"])[b-6whf9cfeay] {
    margin-top: 2px;
    width: 0.9rem;
    height: 0.9rem;
}

/* ============================================================
   Interruptores — bloque canónico .suros-switch del proyecto
   (SUROS.Framework/CONTRACTS/FORM.md). El tamaño del interruptor lo
   define Bootstrap (2em x 1em): no se sobrescribe.
   ============================================================ */

.suros-switch[b-6whf9cfeay] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-6whf9cfeay] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-6whf9cfeay] {
    cursor: pointer;
    margin-bottom: 0;
}

/* ── Tarjeta de interruptor (EPS / SOAT) ── */

.emp-switch-card[b-6whf9cfeay] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    height: 100%;
}

/* Tipografía propia de la tarjeta. La geometría y el cursor del interruptor
   los define el bloque canónico .suros-switch, no esta tarjeta. */
.emp-switch-card .form-check-label[b-6whf9cfeay] {
    font-weight: 600;
    font-size: 0.78rem;
}

/* ============================================================
   Pestañas del formulario — bloque canónico .editor-tabs del proyecto
   (SUROS.Framework/PATTERNS/TABS.md), en su variante compacta para
   modales. Se replica aquí porque el aislamiento CSS de Blazor no
   hereda las reglas del componente que hospeda el modal.
   ============================================================ */

.emp-compact-form .editor-tabs.nav-tabs[b-6whf9cfeay] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 0 1px 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 38px;
    flex-shrink: 0;
    min-height: 38px;
}

.emp-compact-form .editor-tabs .nav-item[b-6whf9cfeay] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.emp-compact-form .editor-tabs .nav-link[b-6whf9cfeay] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 38px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.emp-compact-form .editor-tabs .nav-link:hover[b-6whf9cfeay] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.emp-compact-form .editor-tabs .nav-link.active[b-6whf9cfeay] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 38px !important;
    padding: 0 16px !important;
    margin: 0 !important;
}

.emp-compact-form .editor-tabs .nav-link.active[b-6whf9cfeay]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.emp-compact-form .editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-6whf9cfeay]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #dadce0;
}

.emp-compact-form .editor-tabs .nav-link i[b-6whf9cfeay] {
    font-size: 14px;
    width: 15px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO DE PESTAÑA ===== */

/* Rellena el alto disponible del modal y desplaza su propio contenido:
   min-height:0 permite que el hijo flex se encoja y aparezca el scroll
   interno en lugar de desbordar el modal. */
.emp-compact-form .emp-tab-content[b-6whf9cfeay] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px 16px;
}
/* /Presentation/Components/Pages/Configuracion/FuncionarioManager.razor.rz.scp.css */
.editor-container[b-ckxnrjea5u] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-ckxnrjea5u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-ckxnrjea5u] {
    font-size: 13px;
}

.editor-header-right[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-ckxnrjea5u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-ckxnrjea5u],
.editor-title-bar .fw-semibold[b-ckxnrjea5u],
.editor-title-bar small[b-ckxnrjea5u] {
    color: #1a1d23 !important;
}

/* ── Barra de favoritos (mismo patrón que MenuManager) ── */

.mgr-fav-bar[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.mgr-fav-bar-icon[b-ckxnrjea5u] {
    font-size: 0.65rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.mgr-fav-pill[b-ckxnrjea5u] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    font-size: 0.75rem;
    color: #92400e;
    cursor: pointer;
    transition: all 0.12s;
    white-space: nowrap;
}

.mgr-fav-pill:hover[b-ckxnrjea5u] {
    background: #fef3c7;
    border-color: #f59e0b;
}

.mgr-fav-pill.active[b-ckxnrjea5u] {
    background: #f59e0b;
    border-color: #d97706;
    color: #fff;
}

.mgr-fav-pill i[b-ckxnrjea5u] {
    font-size: 0.6rem;
}

.mgr-fav-pill-remove[b-ckxnrjea5u] {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-size: 0.55rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.mgr-fav-pill-remove:hover[b-ckxnrjea5u] {
    opacity: 1;
}

/* ── Buscadores tipo sidebar (mismo patrón que MenuManager) ── */

.mgr-search-wrapper[b-ckxnrjea5u] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

.mgr-search-icon[b-ckxnrjea5u] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.mgr-search-input[b-ckxnrjea5u] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.mgr-search-input:focus[b-ckxnrjea5u] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
    background: #fff;
}

.mgr-search-input[b-ckxnrjea5u]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.mgr-search-clear[b-ckxnrjea5u] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.mgr-search-clear:hover[b-ckxnrjea5u] {
    opacity: 1;
    color: #dc2626;
}

.mgr-search-empty[b-ckxnrjea5u] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* ============================================================
   Split horizontal: roles panel (izq) + grid de funcionarios (der)
   ============================================================ */

.func-split-body[b-ckxnrjea5u] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Panel izquierdo: Grid de Funcionarios ── */

.func-grid-panel[b-ckxnrjea5u] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.func-grid-toolbar[b-ckxnrjea5u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 7px 14px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.func-grid-wrapper[b-ckxnrjea5u] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
}

.func-grid-wrapper[b-ckxnrjea5u]::-webkit-scrollbar {
    width: 5px;
}

.func-grid-wrapper[b-ckxnrjea5u]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.func-grid-wrapper[b-ckxnrjea5u]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* ── Cabecera de la tabla ── */

.func-grid-header[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ── Filas de la tabla ── */

.func-grid-row[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f3f4f6;
    gap: 6px;
    transition: background 0.12s;
    min-height: 40px;
    font-size: 0.8rem;
}

.func-grid-row:hover[b-ckxnrjea5u] {
    background: #f9fafb;
}

.func-grid-row.inactive[b-ckxnrjea5u] {
    opacity: 0.55;
    background: #f9fafb;
}

.func-grid-row.inactive .func-col-name[b-ckxnrjea5u] {
    font-style: italic;
    color: #9ca3af;
}

/* ── Columnas ── */

.func-col-doc[b-ckxnrjea5u] {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.func-col-name[b-ckxnrjea5u] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
}

.func-col-cargo[b-ckxnrjea5u] {
    width: 170px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.func-col-empresa[b-ckxnrjea5u] {
    width: 150px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.func-col-estado[b-ckxnrjea5u] {
    width: 78px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.func-col-v4[b-ckxnrjea5u] {
    width: 118px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.func-col-actions[b-ckxnrjea5u] {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.func-grid-row:hover .func-col-actions[b-ckxnrjea5u] {
    opacity: 1;
}

/* ── Badge de contacto en grid ── */

.func-contact-badge[b-ckxnrjea5u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 0.55rem;
    flex-shrink: 0;
    cursor: default;
    transition: all 0.12s;
}

.func-contact-badge:hover[b-ckxnrjea5u] {
    background: #e8f0fe;
    color: #1a73e8;
}

/* ── Footer del grid ── */

.func-grid-footer[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
}

.func-grid-footer-count[b-ckxnrjea5u] {
    font-size: 0.72rem;
    color: #6b7280;
}

.func-grid-footer-count i[b-ckxnrjea5u] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ── Panel derecho: Roles ── */

.func-role-panel[b-ckxnrjea5u] {
    width: 340px;
    min-width: 340px;
    max-width: 380px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.func-role-header[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.func-role-header i[b-ckxnrjea5u] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.func-role-list[b-ckxnrjea5u] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.func-role-list[b-ckxnrjea5u]::-webkit-scrollbar {
    width: 4px;
}

.func-role-list[b-ckxnrjea5u]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.func-role-item[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.func-role-item:hover[b-ckxnrjea5u] {
    background: #f3f4f6;
}

.func-role-item.active[b-ckxnrjea5u] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.func-role-item i[b-ckxnrjea5u] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.func-role-item.active i[b-ckxnrjea5u] {
    color: #1a73e8;
}

.func-role-name[b-ckxnrjea5u] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.func-role-count-badge[b-ckxnrjea5u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.func-role-item.active .func-role-count-badge[b-ckxnrjea5u] {
    background: #d2e3fc;
    color: #1557b0;
}

/* ── Estrella de favorito ── */

.func-role-star[b-ckxnrjea5u] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.func-role-item:hover .func-role-star[b-ckxnrjea5u] {
    opacity: 0.6;
}

.func-role-star:hover[b-ckxnrjea5u] {
    opacity: 1 !important;
    color: #f59e0b;
}

.func-role-star.active[b-ckxnrjea5u] {
    opacity: 1;
    color: #f59e0b;
}

.func-role-footer[b-ckxnrjea5u] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
}

.func-role-footer i[b-ckxnrjea5u] {
    font-size: 0.7rem;
}

/* ── Botones de acción (heredan .btn-action de MenuManager) ── */

.btn-action[b-ckxnrjea5u] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-ckxnrjea5u] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-action.text-danger:hover[b-ckxnrjea5u] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ============================================================
   Compact form: controles del formulario de funcionarios
   con el mismo sizing de los botones del footer (30px, 0.78rem)
   ============================================================ */

.func-compact-form .form-control-sm[b-ckxnrjea5u],
.func-compact-form .form-select-sm[b-ckxnrjea5u] {
    height: 28px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.func-compact-form .form-label[b-ckxnrjea5u] {
    font-size: 0.74rem;
    margin-bottom: 1px;
    color: #4b5563;
    font-weight: 500;
}

.func-compact-form .section-title[b-ckxnrjea5u] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 3px;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.func-compact-form .section-title i[b-ckxnrjea5u] {
    font-size: 0.76rem;
    margin-right: 4px;
}

.func-compact-form .section-body[b-ckxnrjea5u] {
    margin-bottom: 6px;
}

.func-compact-form .compact-badge[b-ckxnrjea5u] {
    font-size: 0.66rem;
    font-weight: 500;
    padding: 2px 8px;
    line-height: 1.4;
}

.func-compact-form .compact-tag[b-ckxnrjea5u] {
    font-size: 0.68rem;
    padding: 5px 10px;
    border-radius: 4px;
}

.func-compact-form .compact-btn-add[b-ckxnrjea5u] {
    font-size: 0.68rem;
    padding: 1px 6px;
    height: 22px;
    line-height: 1;
}

.func-compact-form .compact-badge-remove[b-ckxnrjea5u] {
    font-size: 0.51rem;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}
.func-compact-form .compact-badge-remove:hover[b-ckxnrjea5u] {
    opacity: 1;
}

.func-compact-form .compact-search[b-ckxnrjea5u] {
    height: 24px;
    font-size: 0.71rem;
    padding: 1px 6px;
    border-radius: 3px;
}

.func-compact-form .compact-panel[b-ckxnrjea5u] {
    padding: 4px 6px;
    border-radius: 4px;
}

.func-compact-form .form-check-label[b-ckxnrjea5u] {
    font-size: 0.81rem;
}

/* Solo casillas y radios: los interruptores (role="switch") conservan el
   tamaño de Bootstrap (2em x 1em) definido en el patrón .suros-switch. */
.func-compact-form .form-check-input:not([role="switch"])[b-ckxnrjea5u] {
    margin-top: 2px;
    width: 0.9rem;
    height: 0.9rem;
}

/* ============================================================
   TABS (mismo estilo que Institucion)
   ============================================================ */

.func-compact-form .editor-tabs.nav-tabs[b-ckxnrjea5u] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 0 1px 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 38px;
    flex-shrink: 0;
    min-height: 38px;
}

.func-compact-form .editor-tabs .nav-item[b-ckxnrjea5u] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.func-compact-form .editor-tabs .nav-link[b-ckxnrjea5u] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 38px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.func-compact-form .editor-tabs .nav-link:hover[b-ckxnrjea5u] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.func-compact-form .editor-tabs .nav-link.active[b-ckxnrjea5u] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 38px !important;
    padding: 0 16px !important;
    margin: 0 !important;
}

.func-compact-form .editor-tabs .nav-link.active[b-ckxnrjea5u]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.func-compact-form .editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-ckxnrjea5u]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #dadce0;
}

.func-compact-form .editor-tabs .nav-link i[b-ckxnrjea5u] {
    font-size: 14px;
    width: 15px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO DE PESTAÑA ===== */

.func-compact-form .func-tab-content[b-ckxnrjea5u] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 420px;
    overflow-y: auto;
    padding: 14px 16px 16px;
}

/* ── Zona de carga de archivos (elegante) ── */

.file-upload-zone[b-ckxnrjea5u] {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.file-upload-btn[b-ckxnrjea5u] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px dashed #c4c4c4;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 1;
    pointer-events: none;
}

.file-upload-zone:hover .file-upload-btn[b-ckxnrjea5u] {
    border-color: #1a73e8;
    color: #1a73e8;
    background: #f0f7ff;
}

.file-upload-btn i[b-ckxnrjea5u] {
    font-size: 0.8rem;
    color: #9ca3af;
    transition: color 0.15s;
}

.file-upload-zone:hover .file-upload-btn i[b-ckxnrjea5u] {
    color: #1a73e8;
}

.func-page-tabs.nav-tabs[b-ckxnrjea5u] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.func-page-tabs .nav-item[b-ckxnrjea5u] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.func-page-tabs .nav-link[b-ckxnrjea5u] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.func-page-tabs .nav-link:hover[b-ckxnrjea5u] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.func-page-tabs .nav-link.active[b-ckxnrjea5u] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.func-page-tabs .nav-link.active[b-ckxnrjea5u]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.func-page-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-ckxnrjea5u]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.func-page-tabs .nav-link i[b-ckxnrjea5u] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ── Contenido del tab Auditoría ── */

.func-audit-body[b-ckxnrjea5u] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
    background: #f8f9fa;
}

.func-audit-body[b-ckxnrjea5u]  .profile-card {
    width: 100%;
    max-width: 100%;
}

.func-audit-body[b-ckxnrjea5u]  .profile-section-header {
    display: flex;
    align-items: center;
}
/* /Presentation/Components/Pages/Configuracion/Medico/MedicoManager.razor.rz.scp.css */
.editor-container[b-11i9m50ws1] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-11i9m50ws1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-11i9m50ws1] {
    font-size: 13px;
}

.editor-header-right[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-11i9m50ws1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-11i9m50ws1],
.editor-title-bar .fw-semibold[b-11i9m50ws1],
.editor-title-bar small[b-11i9m50ws1] {
    color: #1a1d23 !important;
}

/* ── Barra de favoritos (mismo patrón que MenuManager) ── */

.mgr-fav-bar[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.mgr-fav-bar-icon[b-11i9m50ws1] {
    font-size: 0.65rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.mgr-fav-pill[b-11i9m50ws1] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    font-size: 0.75rem;
    color: #92400e;
    cursor: pointer;
    transition: all 0.12s;
    white-space: nowrap;
}

.mgr-fav-pill:hover[b-11i9m50ws1] {
    background: #fef3c7;
    border-color: #f59e0b;
}

.mgr-fav-pill.active[b-11i9m50ws1] {
    background: #f59e0b;
    border-color: #d97706;
    color: #fff;
}

.mgr-fav-pill i[b-11i9m50ws1] {
    font-size: 0.6rem;
}

.mgr-fav-pill-remove[b-11i9m50ws1] {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-size: 0.55rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.mgr-fav-pill-remove:hover[b-11i9m50ws1] {
    opacity: 1;
}

/* ── Buscadores tipo sidebar (mismo patrón que MenuManager) ── */

.mgr-search-wrapper[b-11i9m50ws1] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

.mgr-search-icon[b-11i9m50ws1] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.mgr-search-input[b-11i9m50ws1] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.mgr-search-input:focus[b-11i9m50ws1] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
    background: #fff;
}

.mgr-search-input[b-11i9m50ws1]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.mgr-search-clear[b-11i9m50ws1] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.mgr-search-clear:hover[b-11i9m50ws1] {
    opacity: 1;
    color: #dc2626;
}

.mgr-search-empty[b-11i9m50ws1] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* ============================================================
   Split horizontal: roles panel (izq) + grid de funcionarios (der)
   ============================================================ */

.func-split-body[b-11i9m50ws1] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Panel izquierdo: Grid de Funcionarios ── */

.func-grid-panel[b-11i9m50ws1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.func-grid-toolbar[b-11i9m50ws1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 7px 14px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.func-grid-wrapper[b-11i9m50ws1] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
}

.func-grid-wrapper[b-11i9m50ws1]::-webkit-scrollbar {
    width: 5px;
}

.func-grid-wrapper[b-11i9m50ws1]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.func-grid-wrapper[b-11i9m50ws1]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* ── Cabecera de la tabla ── */

.func-grid-header[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ── Filas de la tabla ── */

.func-grid-row[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f3f4f6;
    gap: 6px;
    transition: background 0.12s;
    min-height: 40px;
    font-size: 0.8rem;
}

.func-grid-row:hover[b-11i9m50ws1] {
    background: #f9fafb;
}

.func-grid-row.inactive[b-11i9m50ws1] {
    opacity: 0.55;
    background: #f9fafb;
}

.func-grid-row.inactive .func-col-name[b-11i9m50ws1],
.func-grid-row.inactive .pac-col-name[b-11i9m50ws1] {
    font-style: italic;
    color: #9ca3af;
}

.func-grid-row.inactive .pac-col-doc[b-11i9m50ws1],
.func-grid-row.inactive .med-col-registro[b-11i9m50ws1],
.func-grid-row.inactive .pac-col-genero[b-11i9m50ws1] {
    color: #9ca3af;
}

/* ── Columnas ── */

.func-col-doc[b-11i9m50ws1] {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.func-col-name[b-11i9m50ws1] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
}

.func-col-cargo[b-11i9m50ws1] {
    width: 170px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.func-col-empresa[b-11i9m50ws1] {
    width: 150px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.func-col-estado[b-11i9m50ws1] {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

.func-col-actions[b-11i9m50ws1] {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.func-grid-row:hover .func-col-actions[b-11i9m50ws1] {
    opacity: 1;
}

/* ── Badge de contacto en grid ── */

.func-contact-badge[b-11i9m50ws1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 0.55rem;
    flex-shrink: 0;
    cursor: default;
    transition: all 0.12s;
}

.func-contact-badge:hover[b-11i9m50ws1] {
    background: #e8f0fe;
    color: #1a73e8;
}

/* ── Footer del grid ── */

.func-grid-footer[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
}

.func-grid-footer-count[b-11i9m50ws1] {
    font-size: 0.72rem;
    color: #6b7280;
}

.func-grid-footer-count i[b-11i9m50ws1] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ── Panel derecho: Roles ── */

.func-role-panel[b-11i9m50ws1] {
    width: 340px;
    min-width: 340px;
    max-width: 380px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.func-role-header[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.func-role-header i[b-11i9m50ws1] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.func-role-list[b-11i9m50ws1] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.func-role-list[b-11i9m50ws1]::-webkit-scrollbar {
    width: 4px;
}

.func-role-list[b-11i9m50ws1]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.func-role-item[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.func-role-item:hover[b-11i9m50ws1] {
    background: #f3f4f6;
}

.func-role-item.active[b-11i9m50ws1] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.func-role-item i[b-11i9m50ws1] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.func-role-item.active i[b-11i9m50ws1] {
    color: #1a73e8;
}

.func-role-name[b-11i9m50ws1] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.func-role-count-badge[b-11i9m50ws1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.func-role-item.active .func-role-count-badge[b-11i9m50ws1] {
    background: #d2e3fc;
    color: #1557b0;
}

/* ── Estrella de favorito ── */

.func-role-star[b-11i9m50ws1] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.func-role-item:hover .func-role-star[b-11i9m50ws1] {
    opacity: 0.6;
}

.func-role-star:hover[b-11i9m50ws1] {
    opacity: 1 !important;
    color: #f59e0b;
}

.func-role-star.active[b-11i9m50ws1] {
    opacity: 1;
    color: #f59e0b;
}

.func-role-footer[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
}

.func-role-footer i[b-11i9m50ws1] {
    font-size: 0.7rem;
}

/* ── Botones de acción (heredan .btn-action de MenuManager) ── */

.btn-action[b-11i9m50ws1] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-11i9m50ws1] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-action.text-danger:hover[b-11i9m50ws1] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ============================================================
   Compact form: controles del formulario de funcionarios
   con el mismo sizing de los botones del footer (30px, 0.78rem)
   ============================================================ */

.func-compact-form .form-control-sm[b-11i9m50ws1],
.func-compact-form .form-select-sm[b-11i9m50ws1] {
    height: 28px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.func-compact-form .form-label[b-11i9m50ws1] {
    font-size: 0.74rem;
    margin-bottom: 1px;
    color: #4b5563;
    font-weight: 500;
}

.func-compact-form .section-title[b-11i9m50ws1] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 3px;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.func-compact-form .section-title i[b-11i9m50ws1] {
    font-size: 0.76rem;
    margin-right: 4px;
}

.func-compact-form .section-body[b-11i9m50ws1] {
    margin-bottom: 6px;
}

.func-compact-form .compact-badge[b-11i9m50ws1] {
    font-size: 0.66rem;
    font-weight: 500;
    padding: 2px 8px;
    line-height: 1.4;
}

.func-compact-form .compact-tag[b-11i9m50ws1] {
    font-size: 0.68rem;
    padding: 5px 10px;
    border-radius: 4px;
}

.func-compact-form .compact-btn-add[b-11i9m50ws1] {
    font-size: 0.68rem;
    padding: 1px 6px;
    height: 22px;
    line-height: 1;
}

.func-compact-form .compact-badge-remove[b-11i9m50ws1] {
    font-size: 0.51rem;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}
.func-compact-form .compact-badge-remove:hover[b-11i9m50ws1] {
    opacity: 1;
}

.func-compact-form .compact-search[b-11i9m50ws1] {
    height: 24px;
    font-size: 0.71rem;
    padding: 1px 6px;
    border-radius: 3px;
}

.func-compact-form .compact-panel[b-11i9m50ws1] {
    padding: 4px 6px;
    border-radius: 4px;
}

.func-compact-form .form-check-label[b-11i9m50ws1] {
    font-size: 0.81rem;
}

/* Solo casillas y radios: los interruptores (role="switch") conservan el
   tamaño de Bootstrap (2em x 1em) definido en el patrón .suros-switch. */
.func-compact-form .form-check-input:not([role="switch"])[b-11i9m50ws1] {
    margin-top: 2px;
    width: 0.9rem;
    height: 0.9rem;
}

/* ============================================================
   TABS (mismo estilo que Institucion)
   ============================================================ */

.func-compact-form .editor-tabs.nav-tabs[b-11i9m50ws1] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 0 1px 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 38px;
    flex-shrink: 0;
    min-height: 38px;
}

.func-compact-form .editor-tabs .nav-item[b-11i9m50ws1] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.func-compact-form .editor-tabs .nav-link[b-11i9m50ws1] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 38px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.func-compact-form .editor-tabs .nav-link:hover[b-11i9m50ws1] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.func-compact-form .editor-tabs .nav-link.active[b-11i9m50ws1] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 38px !important;
    padding: 0 16px !important;
    margin: 0 !important;
}

.func-compact-form .editor-tabs .nav-link.active[b-11i9m50ws1]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.func-compact-form .editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-11i9m50ws1]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #dadce0;
}

.func-compact-form .editor-tabs .nav-link i[b-11i9m50ws1] {
    font-size: 14px;
    width: 15px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO DE PESTAÑA ===== */

.func-compact-form .func-tab-content[b-11i9m50ws1] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px 16px;
}

/* ── Zona de carga de archivos (elegante) ── */

.file-upload-zone[b-11i9m50ws1] {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.file-upload-btn[b-11i9m50ws1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px dashed #c4c4c4;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 1;
    pointer-events: none;
}

.file-upload-zone:hover .file-upload-btn[b-11i9m50ws1] {
    border-color: #1a73e8;
    color: #1a73e8;
    background: #f0f7ff;
}

.file-upload-btn i[b-11i9m50ws1] {
    font-size: 0.8rem;
    color: #9ca3af;
    transition: color 0.15s;
}

.file-upload-zone:hover .file-upload-btn i[b-11i9m50ws1] {
    color: #1a73e8;
}


/* ============================================================
   Estilos específicos de Médicos
   ============================================================ */

/* ── Columnas del grid de médicos ── */

.pac-col-doc[b-11i9m50ws1] {
    width: 130px;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pac-col-name[b-11i9m50ws1] {
    flex: 1.5;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
}

.pac-col-genero[b-11i9m50ws1] {
    width: 90px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
    font-size: 0.8rem;
}

.pac-col-estado[b-11i9m50ws1] {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

.pac-col-actions[b-11i9m50ws1] {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.func-grid-row:hover .pac-col-actions[b-11i9m50ws1] {
    opacity: 1;
}

.med-col-registro[b-11i9m50ws1] {
    width: 130px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
    font-size: 0.8rem;
}

.med-col-especialidades[b-11i9m50ws1] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.med-espe-badge[b-11i9m50ws1] {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.76rem;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 1px 8px;
    border-radius: 3px;
    font-weight: 400;
}

.btn-action.toggle-on[b-11i9m50ws1] {
    color: #059669;
}

.btn-action.toggle-on:hover[b-11i9m50ws1] {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.btn-action.toggle-off[b-11i9m50ws1] {
    color: #9ca3af;
}

.btn-action.toggle-off:hover[b-11i9m50ws1] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.med-especialidad-section[b-11i9m50ws1] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    background: #f9fafb;
}

.med-especialidad-header[b-11i9m50ws1] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.med-especialidad-tags[b-11i9m50ws1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 120px;
    overflow-y: auto;
}

.med-especialidad-available[b-11i9m50ws1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 100px;
    overflow-y: auto;
}
/* /Presentation/Components/Pages/Configuracion/MenuManager.razor.rz.scp.css */
.editor-container[b-9dlpuxf1ud] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-9dlpuxf1ud] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-9dlpuxf1ud] {
    font-size: 13px;
}

.editor-header-right[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-9dlpuxf1ud] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-9dlpuxf1ud],
.editor-title-bar .fw-semibold[b-9dlpuxf1ud],
.editor-title-bar small[b-9dlpuxf1ud] {
    color: #1a1d23 !important;
}

/* ============================================================
   Split horizontal: roles (izq) + árbol (der)
   ============================================================ */

.menu-split-body[b-9dlpuxf1ud] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Panel izquierdo: roles ── */

.menu-role-panel[b-9dlpuxf1ud] {
    width: 410px;
    min-width: 410px;
    max-width: 460px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.menu-role-header[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.menu-role-header i[b-9dlpuxf1ud] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.menu-role-list[b-9dlpuxf1ud] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.menu-role-list[b-9dlpuxf1ud]::-webkit-scrollbar {
    width: 4px;
}

.menu-role-list[b-9dlpuxf1ud]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* Buscadores tipo sidebar (mismo patrón que Menu.razor) */
.mgr-search-wrapper[b-9dlpuxf1ud] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

.mgr-search-icon[b-9dlpuxf1ud] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.mgr-search-input[b-9dlpuxf1ud] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.mgr-search-input:focus[b-9dlpuxf1ud] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
    background: #fff;
}

.mgr-search-input[b-9dlpuxf1ud]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.mgr-search-clear[b-9dlpuxf1ud] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.mgr-search-clear:hover[b-9dlpuxf1ud] {
    opacity: 1;
    color: #dc2626;
}

.mgr-search-empty[b-9dlpuxf1ud] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.menu-role-item[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.menu-role-item:hover[b-9dlpuxf1ud] {
    background: #f3f4f6;
}

.menu-role-item.active[b-9dlpuxf1ud] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.menu-role-item i[b-9dlpuxf1ud] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.menu-role-item.active i[b-9dlpuxf1ud] {
    color: #1a73e8;
}

.menu-role-name[b-9dlpuxf1ud] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mgr-role-count-badge[b-9dlpuxf1ud] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.menu-role-item.active .mgr-role-count-badge[b-9dlpuxf1ud] {
    background: #d2e3fc;
    color: #1557b0;
}

.mgr-role-star[b-9dlpuxf1ud] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mgr-role-clone[b-9dlpuxf1ud] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.6rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 16px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1px;
}

.menu-role-item:hover .mgr-role-clone[b-9dlpuxf1ud],
.menu-role-item:hover .mgr-role-star[b-9dlpuxf1ud] {
    opacity: 0.6;
}

.mgr-role-clone:hover[b-9dlpuxf1ud] {
    opacity: 1 !important;
    color: #2563EB;
}

.mgr-role-toggle[b-9dlpuxf1ud] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 16px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-role-item:hover .mgr-role-toggle[b-9dlpuxf1ud] {
    opacity: 0.6;
}

.mgr-role-toggle:hover[b-9dlpuxf1ud] {
    opacity: 1 !important;
    color: #dc2626;
}

.mgr-role-edit[b-9dlpuxf1ud] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.6rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 16px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-role-item:hover .mgr-role-edit[b-9dlpuxf1ud] {
    opacity: 0.6;
}

.mgr-role-edit:hover[b-9dlpuxf1ud] {
    opacity: 1 !important;
    color: #2563EB;
}

.mgr-role-star:hover[b-9dlpuxf1ud] {
    opacity: 1 !important;
    color: #f59e0b;
}

.mgr-role-star.active[b-9dlpuxf1ud] {
    opacity: 1;
    color: #f59e0b;
}

/* ============================================================
   Searchable Select (para modal de clonar)
   ============================================================ */

.searchable-select[b-9dlpuxf1ud] {
    position: relative;
}

.searchable-select-input[b-9dlpuxf1ud] {
    font-size: 0.82rem;
    padding: 4px 28px 4px 10px;
    height: 34px;
    border-color: #d1d5db;
}

.searchable-select-input:focus[b-9dlpuxf1ud] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}

.searchable-select-clear[b-9dlpuxf1ud] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    line-height: 1;
}

.searchable-select-clear:hover[b-9dlpuxf1ud] {
    color: #dc2626;
}

.searchable-select-dropdown[b-9dlpuxf1ud] {
    position: absolute;
    z-index: 1060;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-height: 180px;
    overflow-y: auto;
    margin-top: 2px;
}

.searchable-select-option[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #f3f4f6;
}

.searchable-select-option:last-child[b-9dlpuxf1ud] {
    border-bottom: none;
}

.searchable-select-option:hover[b-9dlpuxf1ud] {
    background: #f3f4f6;
}

.searchable-select-option.active[b-9dlpuxf1ud] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.searchable-select-empty[b-9dlpuxf1ud] {
    text-align: center;
    padding: 12px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.searchable-select-dropdown[b-9dlpuxf1ud]::-webkit-scrollbar {
    width: 4px;
}
.searchable-select-dropdown[b-9dlpuxf1ud]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* ── Barra de favoritos ── */

.mgr-fav-bar[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.mgr-fav-bar-icon[b-9dlpuxf1ud] {
    font-size: 0.65rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.mgr-fav-pill[b-9dlpuxf1ud] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    font-size: 0.75rem;
    color: #92400e;
    cursor: pointer;
    transition: all 0.12s;
    white-space: nowrap;
}

.mgr-fav-pill:hover[b-9dlpuxf1ud] {
    background: #fef3c7;
    border-color: #f59e0b;
}

.mgr-fav-pill.active[b-9dlpuxf1ud] {
    background: #f59e0b;
    border-color: #d97706;
    color: #fff;
}

.mgr-fav-pill i[b-9dlpuxf1ud] {
    font-size: 0.6rem;
}

.mgr-fav-pill-remove[b-9dlpuxf1ud] {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-size: 0.55rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.mgr-fav-pill-remove:hover[b-9dlpuxf1ud] {
    opacity: 1;
}

.menu-role-footer[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
}

.menu-role-footer i[b-9dlpuxf1ud] {
    font-size: 0.7rem;
}

/* ── Panel derecho: árbol ── */

.menu-tree-panel[b-9dlpuxf1ud] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.menu-tree-toolbar[b-9dlpuxf1ud] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.menu-tree-wrapper[b-9dlpuxf1ud] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    padding-bottom: 16px;
    scrollbar-width: thin;
}

.menu-tree-wrapper[b-9dlpuxf1ud]::-webkit-scrollbar {
    width: 5px;
}

.menu-tree-wrapper[b-9dlpuxf1ud]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.menu-tree-wrapper[b-9dlpuxf1ud]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* ── Barra inferior del árbol ── */

.menu-tree-footer[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
}

.menu-tree-footer-count[b-9dlpuxf1ud] {
    font-size: 0.72rem;
    color: #6b7280;
}

.menu-tree-footer-count i[b-9dlpuxf1ud] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ── Filas del árbol ── */

.menu-tree-row[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid #f3f4f6;
    gap: 6px;
    transition: background 0.12s;
    min-height: 38px;
    font-size: 0.8rem;
}

.menu-tree-row:hover[b-9dlpuxf1ud] {
    background: #f9fafb;
}

.menu-tree-wrapper .menu-tree-row:last-child[b-9dlpuxf1ud] {
    border-bottom: none;
}

.menu-tree-row.inactive[b-9dlpuxf1ud] {
    opacity: 0.55;
    background: #f9fafb;
}

.menu-tree-row.inactive .menu-tree-name[b-9dlpuxf1ud] {
    font-style: italic;
    color: #9ca3af;
}

.menu-tree-row.inactive .menu-tree-icon[b-9dlpuxf1ud] {
    color: #d1d5db;
}

.menu-tree-row.inactive .menu-tree-page-info[b-9dlpuxf1ud] {
    opacity: 0.5;
}

.menu-tree-toggle[b-9dlpuxf1ud] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    cursor: pointer;
    color: #9ca3af;
    transition: transform 0.15s;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.menu-tree-toggle.expanded[b-9dlpuxf1ud] {
    transform: rotate(90deg);
}

.menu-tree-icon[b-9dlpuxf1ud] {
    width: 28px;
    text-align: center;
    color: #9ca3af;
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.menu-tree-col-name[b-9dlpuxf1ud] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.menu-tree-name[b-9dlpuxf1ud] {
    cursor: default;
    font-size: 0.85rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
}

.menu-tree-name:hover[b-9dlpuxf1ud] {
    color: #1a73e8;
}

.menu-tree-col-badges[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 130px;
    flex-shrink: 0;
    justify-content: center;
}

.menu-tree-col-actions[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    width: 180px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.menu-tree-row:hover .menu-tree-col-actions[b-9dlpuxf1ud] {
    opacity: 1;
}

.menu-tree-page-info[b-9dlpuxf1ud] {
    font-size: 0.7rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    line-height: 1.4;
    margin-left: auto;
}

.menu-tree-page-info:hover[b-9dlpuxf1ud] {
    background: #e5e7eb;
    color: #374151;
}

/* Indicador de módulo oculto por una bandera de Configuración de Aplicación (sv4-341). */

.menu-tree-hidden-flag[b-9dlpuxf1ud] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.menu-tree-hidden-flag i[b-9dlpuxf1ud] {
    font-size: 0.6rem;
}

/* ── Edición inline ── */

.edit-inline-group[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 4px;
}

.edit-name-input[b-9dlpuxf1ud] {
    flex: 1;
    min-width: 100px;
    font-size: 0.78rem;
    height: 28px;
}

/* ── Acciones ── */

.btn-action[b-9dlpuxf1ud] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-9dlpuxf1ud] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-action.text-danger:hover[b-9dlpuxf1ud] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ============================================================
   Selector de páginas en modal
   ============================================================ */

.page-search-results[b-9dlpuxf1ud] {
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
}

.page-results-list[b-9dlpuxf1ud] {
    display: flex;
    flex-direction: column;
}

.page-result-item[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.1s;
    font-size: 0.78rem;
}

.page-result-item:last-child[b-9dlpuxf1ud] {
    border-bottom: none;
}

.page-result-item:hover[b-9dlpuxf1ud] {
    background: #f3f4f6;
}

.page-result-item.active[b-9dlpuxf1ud] {
    background: #e8f0fe;
}

.page-result-info[b-9dlpuxf1ud] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.page-result-name[b-9dlpuxf1ud] {
    font-weight: 500;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-result-path[b-9dlpuxf1ud] {
    font-size: 0.65rem;
    color: #9ca3af;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-result-id[b-9dlpuxf1ud] {
    font-size: 0.6rem;
    flex-shrink: 0;
}

.page-selected-badge[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #166534;
}

.page-new-fields[b-9dlpuxf1ud] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
}

/* ============================================================
   Selector visual de iconos
   ============================================================ */

.icon-picker-trigger[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.12s;
    min-height: 30px;
    font-size: 0.78rem;
}

.icon-picker-trigger:hover[b-9dlpuxf1ud] {
    border-color: #1a73e8;
}

.icon-picker-preview[b-9dlpuxf1ud] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f3f4f6;
    border-radius: 3px;
    font-size: 0.75rem;
    color: #374151;
    flex-shrink: 0;
}

.icon-picker-label[b-9dlpuxf1ud] {
    flex: 1;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
}

.icon-picker-arrow[b-9dlpuxf1ud] {
    font-size: 0.55rem;
    color: #9ca3af;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.icon-picker-grid[b-9dlpuxf1ud] {
    position: absolute;
    z-index: 1060;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 8px;
    max-height: 200px;
    overflow-y: auto;
    width: 232px;
    margin-top: 4px;
}

.icon-picker-item[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #6b7280;
    transition: all 0.1s;
    border: 1px solid transparent;
}

.icon-picker-item:hover[b-9dlpuxf1ud] {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
}

.icon-picker-item.active[b-9dlpuxf1ud] {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

/* Scrollbar del picker */
.icon-picker-grid[b-9dlpuxf1ud]::-webkit-scrollbar {
    width: 4px;
}
.icon-picker-grid[b-9dlpuxf1ud]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* ============================================================
   Arrastre y soltado del árbol (Idea: sv4-251)
   ============================================================ */

.menu-tree-row[b-9dlpuxf1ud] {
    position: relative;
}

.menu-tree-row[draggable="true"][b-9dlpuxf1ud] {
    cursor: grab;
}

.menu-tree-row[draggable="true"]:active[b-9dlpuxf1ud] {
    cursor: grabbing;
}

.menu-tree-row:focus-visible[b-9dlpuxf1ud] {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
    background: #f0f6ff;
}

.mgr-dnd-hint[b-9dlpuxf1ud] {
    font-size: 0.68rem;
    color: #9ca3af;
}

.menu-tree-grip[b-9dlpuxf1ud] {
    width: 12px;
    flex-shrink: 0;
    color: #e5e7eb;
    font-size: 0.7rem;
    cursor: grab;
    transition: color 0.12s;
}

.menu-tree-row:hover .menu-tree-grip[b-9dlpuxf1ud] {
    color: #9ca3af;
}

.menu-tree-row.dnd-dragging[b-9dlpuxf1ud] {
    opacity: 0.4;
    background: #eef2ff;
}

.menu-tree-row.dnd-drop-before[b-9dlpuxf1ud]::before,
.menu-tree-row.dnd-drop-after[b-9dlpuxf1ud]::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    height: 2px;
    background: #1a73e8;
    border-radius: 2px;
    z-index: 2;
}

.menu-tree-row.dnd-drop-before[b-9dlpuxf1ud]::before {
    top: -1px;
}

.menu-tree-row.dnd-drop-after[b-9dlpuxf1ud]::after {
    bottom: -1px;
}

.menu-tree-row.dnd-drop-inside[b-9dlpuxf1ud] {
    background: #e8f0fe;
    box-shadow: inset 0 0 0 2px #1a73e8;
}

.menu-tree-row.just-moved[b-9dlpuxf1ud] {
    animation: menu-tree-moved-b-9dlpuxf1ud 1.1s ease-out;
}

@keyframes menu-tree-moved-b-9dlpuxf1ud {
    0% { background: #dbeafe; }
    100% { background: transparent; }
}

.menu-tree-dropzone-root[b-9dlpuxf1ud] {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 10px 14px;
    padding: 10px;
    border: 2px dashed #c7d2fe;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.72rem;
    transition: all 0.12s;
}

body.dnd-active .menu-tree-dropzone-root[b-9dlpuxf1ud] {
    display: flex;
}

.menu-tree-dropzone-root.dnd-over[b-9dlpuxf1ud] {
    border-color: #1a73e8;
    background: #e8f0fe;
    color: #1a73e8;
}

/* ── Aviso de visibilidad condicionada por Configuración de Aplicación ── */

.mgr-config-note[b-9dlpuxf1ud] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 14px 0;
    padding: 7px 10px;
    border: 1px solid #fde68a;
    border-radius: 6px;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.72rem;
    line-height: 1.35;
    flex-shrink: 0;
}

.mgr-config-note-icon[b-9dlpuxf1ud] {
    color: #d97706;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mgr-config-note-text[b-9dlpuxf1ud] {
    flex: 1;
    min-width: 0;
}

.mgr-config-note-action[b-9dlpuxf1ud] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid #f59e0b;
    border-radius: 3px;
    background: #fff;
    color: #92400e;
    font-size: 0.7rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.mgr-config-note-action:hover[b-9dlpuxf1ud] {
    background: #f59e0b;
    color: #fff;
}

.mgr-config-note-action:focus-visible[b-9dlpuxf1ud] {
    outline: 2px solid #1a73e8;
    outline-offset: 1px;
}

/* /Presentation/Components/Pages/Configuracion/PoliticasManager.razor.rz.scp.css */
.editor-container[b-h8spt96uss] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
    background: #fff;
}

.editor-header[b-h8spt96uss] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-h8spt96uss] {
    font-size: 13px;
    margin-bottom: 0;
}

.editor-header-right[b-h8spt96uss] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-h8spt96uss] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-h8spt96uss],
.editor-title-bar .fw-semibold[b-h8spt96uss],
.editor-title-bar small[b-h8spt96uss] {
    color: #1a1d23 !important;
}

/* ── Barra de filtros (toolbar) ── */

.mgr-toolbar[b-h8spt96uss] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.mgr-search-wrapper[b-h8spt96uss] {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 30px 4px 32px;
    background: #fff;
    transition: border-color 0.15s;
}

.mgr-search-wrapper:focus-within[b-h8spt96uss] {
    border-color: #1a73e8;
}

.mgr-search-icon[b-h8spt96uss] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.7rem;
}

.mgr-search-input[b-h8spt96uss] {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.84rem;
    color: #374151;
    background: transparent;
    height: 26px;
}

.mgr-search-clear[b-h8spt96uss] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #9ca3af;
    font-size: 0.7rem;
    padding: 2px 4px;
    cursor: pointer;
}

.mgr-search-clear:hover[b-h8spt96uss] {
    color: #dc2626;
}

/* Selects de filtro — altura estándar 26px (patrón Campañas sv4-194) */
.mgr-filter-select[b-h8spt96uss] {
    height: 26px;
    font-size: 0.75rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
    width: 180px;
}

.mgr-filter-select-narrow[b-h8spt96uss] {
    height: 26px;
    font-size: 0.75rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
    width: 140px;
}

/* ── Botones de acción toolbar — estandarizados 26px (sv4-194) ── */

.mgr-btn-toolbar[b-h8spt96uss] {
    height: 26px;
    font-size: 0.75rem;
    padding: 0 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    line-height: 1.4;
}

.mgr-btn-toolbar i[b-h8spt96uss] {
    font-size: 0.6rem;
}

/* ── Botón Recargar del header — estandarizado 26px (sv4-194) ── */

.mgr-btn-reload[b-h8spt96uss] {
    height: 26px;
    font-size: 0.75rem;
    padding: 0 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    line-height: 1.4;
}

.mgr-btn-reload i[b-h8spt96uss] {
    font-size: 0.6rem;
}

/* ── Tabla premium (sv4-194): filas delgadas con hover suave, patrón Mensajes ── */

.politicas-table-card .table > :not(caption) > * > *[b-h8spt96uss] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.politicas-table-card .table-hover tbody tr:hover > *[b-h8spt96uss] {
    background: #f8fafc !important;
}

/* ── Tabla ── */

.mgr-table-wrap[b-h8spt96uss] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.table thead th[b-h8spt96uss] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.table tbody tr:hover[b-h8spt96uss] {
    background: #f8fafc;
}

.table td[b-h8spt96uss] {
    font-size: 0.8rem;
    color: #374151;
    vertical-align: middle;
}

/* ── Botones de acción (fila) — estandarizados 22px (sv4-194) ── */

.btn-action[b-h8spt96uss] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #4b5563;
    border-radius: 6px;
    font-size: 0.72rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.btn-action:hover[b-h8spt96uss] {
    background: #f3f4f6;
    color: #1a73e8;
}

.btn-action.text-danger:hover[b-h8spt96uss] {
    background: #fef2f2;
    color: #dc2626;
}

/* ── Formulario modal (patrón Institucional: labels 0.74rem, inputs 30px) ── */

.pol-section-title[b-h8spt96uss] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.pol-section-title i[b-h8spt96uss] {
    font-size: 0.76rem;
    margin-right: 5px;
    color: #1a73e8;
}

.pol-form-label[b-h8spt96uss] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.pol-form-label i[b-h8spt96uss] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.pol-form-label.required[b-h8spt96uss]::after {
    content: " *";
    color: #dc2626;
}

.pol-form-control-sm[b-h8spt96uss] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

textarea.pol-form-control-sm[b-h8spt96uss] {
    height: auto;
    font-family: Consolas, monospace;
    font-size: 0.78rem;
    resize: vertical;
}

.pol-form-actions[b-h8spt96uss] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

/* ── Modal: vista previa de contenido ── */

/* Texto base: hereda negro; los textos sin estilos aplicados se ven
   en negro (#111827) y los secundarios en gris (#6b7280). */
.politica-contenido[b-h8spt96uss] {
    color: #111827;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Párrafos: negro, con separación */
.politica-contenido p[b-h8spt96uss] {
    margin-bottom: 0.75rem;
    color: #111827;
}

/* Listas: negro y viñetas visibles */
.politica-contenido ul[b-h8spt96uss],
.politica-contenido ol[b-h8spt96uss] {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    color: #111827;
}

.politica-contenido li[b-h8spt96uss] {
    margin-bottom: 0.25rem;
    color: #111827;
}

/* Encabezados: negro, jerarquía visible */
.politica-contenido h1[b-h8spt96uss],
.politica-contenido h2[b-h8spt96uss],
.politica-contenido h3[b-h8spt96uss],
.politica-contenido h4[b-h8spt96uss] {
    margin-bottom: 0.5rem;
    color: #111827;
    font-weight: 600;
}

/* Texto en negrita: negro */
.politica-contenido strong[b-h8spt96uss],
.politica-contenido b[b-h8spt96uss] {
    color: #111827;
    font-weight: 700;
}

/* Énfasis: itálica, conserva color */
.politica-contenido em[b-h8spt96uss],
.politica-contenido i[b-h8spt96uss] {
    font-style: italic;
}

/* Enlaces: azul institucional, subrayado sutil */
.politica-contenido a[b-h8spt96uss] {
    color: #1a73e8;
    text-decoration: underline;
}

/* Citas y bloques: gris para diferenciarlos */
.politica-contenido blockquote[b-h8spt96uss] {
    margin: 0 0 0.75rem;
    padding: 0.5rem 1rem;
    border-left: 3px solid #e5e7eb;
    color: #6b7280;
    font-style: italic;
}

/* Código inline: gris oscuro sobre fondo claro */
.politica-contenido code[b-h8spt96uss] {
    color: #374151;
    background: #f3f4f6;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.8em;
}

/* Preformateado: bloque con fondo claro y texto oscuro */
.politica-contenido pre[b-h8spt96uss] {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #111827;
    overflow-x: auto;
    font-size: 0.8rem;
}

/* Tablas dentro del contenido: bordes grises, texto oscuro */
.politica-contenido table[b-h8spt96uss] {
    width: 100%;
    margin-bottom: 0.75rem;
    border-collapse: collapse;
    color: #111827;
    font-size: 0.8rem;
}

.politica-contenido th[b-h8spt96uss],
.politica-contenido td[b-h8spt96uss] {
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.6rem;
    text-align: left;
}

.politica-contenido th[b-h8spt96uss] {
    background: #f8f9fa;
    font-weight: 600;
    color: #374151;
}

/* Texto secundario genérico: gris */
.politica-contenido small[b-h8spt96uss],
.politica-contenido .text-muted[b-h8spt96uss],
.politica-contenido .text-secondary[b-h8spt96uss] {
    color: #6b7280;
}

/* ════ PESTAÑAS DEL MODAL — PATRÓN EditorPlantillaBase (Mensajería) ════ */

.pol-modal-tabs.nav-tabs[b-h8spt96uss] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.pol-modal-tabs .nav-item[b-h8spt96uss] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.pol-modal-tabs .nav-item:first-child[b-h8spt96uss] {
    margin: 0 !important;
    padding: 0 !important;
}

.pol-modal-tabs .nav-link[b-h8spt96uss] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.pol-modal-tabs .nav-link:hover[b-h8spt96uss] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.pol-modal-tabs .nav-link.active[b-h8spt96uss] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.pol-modal-tabs .nav-item:first-child .nav-link.active[b-h8spt96uss] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.pol-modal-tabs .nav-link.active[b-h8spt96uss]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.pol-modal-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-h8spt96uss]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.pol-modal-tabs .nav-link i[b-h8spt96uss] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* Contenido de la pestaña activa del modal */
.pol-modal-tab-content[b-h8spt96uss] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* Layout 2 columnas: formulario (izquierda) + vista previa (derecha) */
.pol-editor-two-columns[b-h8spt96uss] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 0;
    height: 100%;
    overflow: hidden;
}

.pol-editor-col-left[b-h8spt96uss] {
    background: #fff;
    border-right: 1px solid #e2e4e9;
    overflow-y: auto;
    padding: 16px;
}

.pol-editor-col-right[b-h8spt96uss] {
    background: #fafafa;
    overflow-y: auto;
    padding: 16px;
}

.pol-editor-col-right[b-h8spt96uss]::-webkit-scrollbar,
.pol-editor-col-left[b-h8spt96uss]::-webkit-scrollbar {
    width: 6px;
}

.pol-editor-col-right[b-h8spt96uss]::-webkit-scrollbar-thumb,
.pol-editor-col-left[b-h8spt96uss]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* Vista previa del contenido (columna derecha) */
.pol-preview-panel[b-h8spt96uss] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    min-height: 300px;
}

.pol-preview-header[b-h8spt96uss] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.pol-preview-header i[b-h8spt96uss] {
    color: #1a73e8;
    font-size: 0.75rem;
}

/* Vista previa a pantalla completa (pestaña Vista previa) */
.pol-preview-full[b-h8spt96uss] {
    background: #fff;
    min-height: 100%;
    padding: 20px 24px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive: en pantallas angostas la vista previa lateral se oculta */
@media (max-width: 1024px) {
    .pol-editor-two-columns[b-h8spt96uss] {
        grid-template-columns: 1fr;
    }
    .pol-editor-col-right[b-h8spt96uss] {
        display: none;
    }
}

/* ════ TOOLBAR HTML DEL CONTENIDO — PATRÓN ToolbarFormato (Mensajería) ════ */

.pol-html-toolbar[b-h8spt96uss] {
    position: relative;
    gap: 2px !important;
}

/* Botones ghost: reset completo del <button> nativo (patrón .toolbar-icn-btn) */
.pol-html-btn[b-h8spt96uss] {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 6px;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.12s ease;
    font-family: inherit;
    line-height: 1;
    user-select: none;
}

.pol-html-btn:hover[b-h8spt96uss] {
    background: #eef2ff;
    color: #4f46e5;
}

.pol-html-btn:active[b-h8spt96uss] {
    background: #e0e7ff;
    color: #4338ca;
}
/* /Presentation/Components/Pages/Configuracion/ServiciosEmpresaManager.razor.rz.scp.css */
/* ============================================================
   Servicios por Empresa — asignación de servicios (grupos de
   especialidad del BOT) a empresas.
   Patrón visual: Gestión de Funcionarios (split panel).
   Idea: sv4-277.
   ============================================================ */

.editor-container[b-k14brxyzbz] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-k14brxyzbz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-k14brxyzbz] {
    font-size: 13px;
}

.editor-header-right[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-k14brxyzbz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-k14brxyzbz],
.editor-title-bar .fw-semibold[b-k14brxyzbz],
.editor-title-bar small[b-k14brxyzbz] {
    color: #1a1d23 !important;
}

/* ============================================================
   Cuerpo dividido en dos filas (idea: sv4-330):
   - Fila superior: panel de empresas (izq) + servicios del sistema (der)
   - Fila inferior: servicios relacionados a la empresa, a todo el ancho
   El marco de empresas se recorta al alto de la fila superior.
   ============================================================ */

.se-split-body[b-k14brxyzbz] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Fila superior ── */

.se-body-top[b-k14brxyzbz] {
    display: flex;
    flex: 1 1 46%;
    min-height: 0;
    min-width: 0;
}

/* ── Panel izquierdo ── */

.se-side-panel[b-k14brxyzbz] {
    width: 380px;
    min-width: 320px;
    max-width: 440px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-height: 0;
}

.se-side-header[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.se-side-header i[b-k14brxyzbz] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.se-side-list[b-k14brxyzbz] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.se-side-list[b-k14brxyzbz]::-webkit-scrollbar {
    width: 5px;
}

.se-side-list[b-k14brxyzbz]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.se-side-item[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    /* Alto constante de la fila: no depende del contenido ni del estado
       (hover, foco o seleccionada). */
    min-height: 52px;
    box-sizing: border-box;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
    outline: none;
}

.se-side-item:hover[b-k14brxyzbz] {
    background: #f3f4f6;
}

.se-side-item:focus-visible[b-k14brxyzbz] {
    box-shadow: inset 0 0 0 2px rgba(26, 115, 232, 0.55);
}

.se-side-item.active[b-k14brxyzbz] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
    /* El `.active` global de Site.css (botones del wizard de agenda) impone
       max-height:25px !important y min-height:20px !important y aplastaba la fila
       seleccionada a 25px. Se neutraliza aquí para que el alto de la fila sea el
       mismo en cualquier estado (normal, hover, foco o seleccionada). Idea: sv4-277. */
    max-height: none !important;
    min-height: 52px !important;
}

.se-side-item > i[b-k14brxyzbz] {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.se-side-item.active > i[b-k14brxyzbz] {
    color: #1a73e8;
}

.se-side-item-body[b-k14brxyzbz] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.se-side-item-title[b-k14brxyzbz] {
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.se-side-item-sub[b-k14brxyzbz] {
    font-size: 0.68rem;
    line-height: 1.25;
    /* Reserva la línea del detalle aunque la empresa no tenga régimen ni NIT,
       para que todas las filas conserven el mismo alto. */
    min-height: 0.85rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.se-side-item.active .se-side-item-sub[b-k14brxyzbz] {
    color: #1557b0;
}

.se-dot[b-k14brxyzbz] {
    margin: 0 4px;
}

.se-side-count[b-k14brxyzbz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.63rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.se-side-item.active .se-side-count[b-k14brxyzbz] {
    background: #d2e3fc;
    color: #1557b0;
}

.se-side-footer[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
}

/* ── Buscadores ── */

.se-search-wrapper[b-k14brxyzbz] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
}

.se-search-inline[b-k14brxyzbz] {
    border-bottom: none;
    padding: 0;
    flex: 1;
    max-width: 320px;
}

.se-search-icon[b-k14brxyzbz] {
    position: absolute;
    left: 18px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.se-search-inline .se-search-icon[b-k14brxyzbz] {
    left: 8px;
}

.se-search-input[b-k14brxyzbz] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 26px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.se-search-inline .se-search-input[b-k14brxyzbz] {
    padding-left: 22px;
    background: #fff;
    border-color: #d1d5db;
}

.se-search-input:focus[b-k14brxyzbz] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
    background: #fff;
}

.se-search-input[b-k14brxyzbz]::placeholder {
    color: #9ca3af;
    opacity: 0.75;
    font-size: 0.7rem;
}

.se-search-clear[b-k14brxyzbz] {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.6;
    transition: opacity 0.15s;
    line-height: 1;
}

.se-search-inline .se-search-clear[b-k14brxyzbz] {
    right: 6px;
}

.se-search-clear:hover[b-k14brxyzbz] {
    opacity: 1;
    color: #dc2626;
}

.se-empty[b-k14brxyzbz] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* ── Panel derecho ── */

.se-main-panel[b-k14brxyzbz] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.se-section[b-k14brxyzbz] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex: 1;
}

/* La sección de relaciones ocupa la fila inferior de la página, a todo el ancho
   (idea: sv4-330). */
.se-section-relaciones[b-k14brxyzbz] {
    flex: 1 1 54%;
    border-top: 1px solid #e2e4e9;
    border-bottom: none;
}

.se-section-header[b-k14brxyzbz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.se-section-title[b-k14brxyzbz] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.01em;
}

.se-section-title i[b-k14brxyzbz] {
    color: #1a73e8;
    font-size: 0.8rem;
}

.se-section-toolbar[b-k14brxyzbz] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.se-section-toolbar-bar[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.se-toolbar-single[b-k14brxyzbz] {
    justify-content: flex-start;
}

.se-empresa-tag[b-k14brxyzbz] {
    font-size: 0.72rem;
    color: #1f2937;
    background: #eef4ff;
    border: 1px solid #d6e4ff;
    border-radius: 12px;
    padding: 3px 10px;
    white-space: nowrap;
}

.se-empresa-tag.empty[b-k14brxyzbz] {
    color: #6b7280;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

/* El distintivo de la empresa se lee dentro del título de la sección: su icono conserva el
   color y el tamaño del distintivo, no los del icono del título (idea: sv4-300). */
.se-section-title .se-empresa-tag i[b-k14brxyzbz] {
    color: inherit;
    font-size: 0.72rem;
}

/* ── Tablas ── */

.se-table-wrapper[b-k14brxyzbz] {
    flex: 1;
    overflow: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.se-table-wrapper-relaciones[b-k14brxyzbz] {
    overflow: auto;
}

.se-table-wrapper[b-k14brxyzbz]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.se-table-wrapper[b-k14brxyzbz]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.se-table[b-k14brxyzbz] {
    font-size: 0.78rem;
}

.se-table thead th[b-k14brxyzbz] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b7280;
    white-space: nowrap;
    padding: 7px 10px;
}

.se-table tbody td[b-k14brxyzbz] {
    padding: 6px 10px;
    vertical-align: middle;
    color: #374151;
}

.se-row-inactive[b-k14brxyzbz] {
    background: #f9fafb;
}

.se-row-inactive td[b-k14brxyzbz] {
    color: #9ca3af !important;
}

.se-row-related[b-k14brxyzbz] {
    background: #eef1f5;
}

.se-row-related td[b-k14brxyzbz] {
    color: #6b7280 !important;
}

.se-cell-title[b-k14brxyzbz] {
    font-weight: 600;
    color: inherit;
}

.se-cell-sub[b-k14brxyzbz] {
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.3;
}

.se-cell-ellipsis[b-k14brxyzbz] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.se-empty-row[b-k14brxyzbz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    color: #9ca3af;
    font-size: 0.78rem;
    text-align: center;
}

/* ── Controles ── */.se-select[b-k14brxyzbz] {
    font-size: 0.72rem;
    /* El relleno derecho reserva el espacio de la flecha que dibuja Bootstrap como fondo
       (12px desde el borde + 16px de ancho): sin él la flecha queda montada sobre el texto del
       ítem seleccionado. El texto que no cabe termina en puntos suspensivos. Idea: sv4-301. */
    padding: 2px 30px 2px 6px;
    border-radius: 3px;
    text-overflow: ellipsis;
}

/* La columna Activo solo lleva el interruptor: se recorta su relleno lateral para que la
   columna sea más angosta y el interruptor quede bajo el título. Idea: sv4-301. */
.se-table .se-col-activo[b-k14brxyzbz] {
    padding-left: 4px;
    padding-right: 4px;
}

.se-select-multi[b-k14brxyzbz] {
    font-size: 0.68rem;
    height: auto;
    min-height: 54px;
}

/* ============================================================
   Interruptores — bloque canónico .suros-switch del proyecto
   (SUROS.Framework/CONTRACTS/FORM.md).
   No se cambia el tamaño del interruptor: Bootstrap lo dimensiona en
   2em x 1em y su geometría asume una etiqueta dentro del contenedor.
   ============================================================ */

.suros-switch[b-k14brxyzbz] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-k14brxyzbz] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-k14brxyzbz] {
    cursor: pointer;
    margin-bottom: 0;
}

/* Columnas de acciones: los iconos de fila se atenúan y recuperan su brillo al pasar el
   cursor por la fila o al entrar con el teclado, igual que la columna Acciones de la grid
   de Gestión de Empresas (EmpresaManager.razor.css). Idea: sv4-303. */

.se-actions[b-k14brxyzbz] {
    white-space: nowrap;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.se-table tbody tr:hover .se-actions[b-k14brxyzbz],
.se-actions:focus[b-k14brxyzbz],
.se-actions:focus-within[b-k14brxyzbz] {
    opacity: 1;
}

/* ── Nombre de la fila con icono guía ──
   Mismo tratamiento del nombre en la grid de Gestión de Empresas: icono fijo en gris, sin
   encogerse, y texto recortado con puntos suspensivos cuando no cabe en la columna.
   Idea: sv4-303. */

.se-cell-nombre[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.se-cell-nombre-icono[b-k14brxyzbz] {
    color: #6b7280;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.se-cell-nombre-texto[b-k14brxyzbz] {
    min-width: 0;
    overflow: hidden;
}

.se-cell-nombre-texto > span[b-k14brxyzbz],
.se-cell-nombre-texto > div[b-k14brxyzbz] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Distintivo redondeado de la fila ──
   Misma geometría de los distintivos de la grid de Gestión de Empresas (.emp-chip) y la
   paleta verde de su contador de funcionarios (.emp-func-badge.con-funcionarios).
   Idea: sv4-303. */

.se-chip[b-k14brxyzbz] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    cursor: default;
    white-space: nowrap;
}

.se-chip-relacionado[b-k14brxyzbz] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* ── Ayuda de selección múltiple ── */

.se-hint[b-k14brxyzbz] {
    font-size: 0.7rem;
    color: #6b7280;
    white-space: nowrap;
}

/* ── Fila marcada para asignar ── */

.se-row-selected[b-k14brxyzbz],
.se-table tbody tr.se-row-selected[b-k14brxyzbz] {
    background: #eef4ff !important;
}

.se-row-selected td[b-k14brxyzbz] {
    color: #1f2937 !important;
}

/* ── Botones de acción de fila ──
   Geometría, color y respuesta al cursor idénticos a los de la grid de Gestión de Empresas
   (EmpresaManager.razor.css): 28x28 px con el icono a 0.85rem. Idea: sv4-303. */

.btn-action[b-k14brxyzbz] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-k14brxyzbz] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-action.text-danger:hover[b-k14brxyzbz] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.btn-action.text-success:hover[b-k14brxyzbz] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.btn-action.text-warning:hover[b-k14brxyzbz] {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.btn-action.text-primary:hover[b-k14brxyzbz] {
    background: #e8f0fe;
    border-color: #d2e3fc;
    color: #1a73e8;
}

/* ============================================================
   Formulario compacto (modales)
   ============================================================ */

.se-compact-form .form-control-sm[b-k14brxyzbz],
.se-compact-form .form-select-sm[b-k14brxyzbz] {
    height: 30px;
    font-size: 0.82rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.se-compact-form .form-label[b-k14brxyzbz] {
    font-size: 0.75rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.se-compact-form .form-check-label[b-k14brxyzbz] {
    font-size: 0.8rem;
}

/* ── Aviso dentro de los modales ── */

.se-modal-msg[b-k14brxyzbz] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.se-modal-msg.ok[b-k14brxyzbz] {
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.se-modal-msg.error[b-k14brxyzbz] {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

/* ============================================================
   Responsivo: en pantallas angostas la fila superior se apila
   (empresas arriba, servicios abajo) y el panel de empresas
   conserva un alto acotado. La fila de relaciones sigue a todo
   el ancho. Idea: sv4-330.
   ============================================================ */

@media (max-width: 1100px) {
    .se-body-top[b-k14brxyzbz] {
        flex-direction: column;
    }

    .se-side-panel[b-k14brxyzbz] {
        width: 100%;
        max-width: none;
        min-width: 0;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid #e2e4e9;
    }
}
/* /Presentation/Components/Pages/Dashboard/Components/NotificationsPanel.razor.rz.scp.css */
@media (max-width: 1399.98px) {
    .notif-kpi-grid[b-c627tdkkz0] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 575.98px) {
    .notif-kpi-grid[b-c627tdkkz0] { grid-template-columns: 1fr !important; }
}

.notif-card-list[b-c627tdkkz0] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 0.25rem;
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar sutil para la lista de notificaciones */
.notif-card-list[b-c627tdkkz0]::-webkit-scrollbar {
    width: 4px;
}
.notif-card-list[b-c627tdkkz0]::-webkit-scrollbar-track {
    background: transparent;
}
.notif-card-list[b-c627tdkkz0]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.notif-card-list[b-c627tdkkz0]::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.notif-kpi-item[b-c627tdkkz0] {
    cursor: pointer;
    transition: background 0.12s ease;
    border-radius: 4px;
}

.notif-kpi-item:hover[b-c627tdkkz0] {
    background: #f5f7fa;
}

.notif-kpi-item.notif-read[b-c627tdkkz0] {
    opacity: 0.55;
}

.notif-kpi-item.notif-read:hover[b-c627tdkkz0] {
    opacity: 0.75;
}
/* /Presentation/Components/Pages/Dashboard/Components/NotificationTooltip.razor.rz.scp.css */
.notif-tooltip-overlay[b-l1ryc9uklt] {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: nt-fade-in-b-l1ryc9uklt 0.2s ease;
}

.notif-tooltip-dialog[b-l1ryc9uklt] {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    animation: nt-scale-in-b-l1ryc9uklt 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Header ── */
.nt-header[b-l1ryc9uklt] {
    padding: 1.5rem 1.5rem 1rem;
}

.nt-icon[b-l1ryc9uklt] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.nt-title[b-l1ryc9uklt] {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
}

.nt-close[b-l1ryc9uklt] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.05);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.nt-close:hover[b-l1ryc9uklt] {
    background: rgba(0,0,0,0.1);
    color: #374151;
}

/* ── Badges ── */
.nt-badge-severity[b-l1ryc9uklt] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nt-badge-category[b-l1ryc9uklt] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 500;
    background: #f3f4f6;
    color: #6b7280;
}

.nt-badge-category i[b-l1ryc9uklt] {
    font-size: 0.5rem;
}

/* ── Body ── */
.nt-body[b-l1ryc9uklt] {
    padding: 0.75rem 1.5rem 1rem;
}

.nt-message[b-l1ryc9uklt] {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1f2937;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 0.75rem;
}

.nt-divider[b-l1ryc9uklt] {
    height: 1px;
    background: #f3f4f6;
    margin: 0.75rem 0;
}

.nt-meta[b-l1ryc9uklt] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #9ca3af;
}

.nt-meta i[b-l1ryc9uklt] {
    font-size: 0.65rem;
    width: 14px;
    text-align: center;
}

.nt-btn-markread[b-l1ryc9uklt] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nt-btn-markread:hover[b-l1ryc9uklt] {
    background: rgba(0,0,0,0.04);
}

.nt-read-status[b-l1ryc9uklt] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* ── Footer ── */
.nt-footer[b-l1ryc9uklt] {
    padding: 0.5rem 1.5rem 1.25rem;
    display: flex;
    justify-content: flex-end;
}

.nt-btn-cerrar[b-l1ryc9uklt] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nt-btn-cerrar:hover[b-l1ryc9uklt] {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.nt-btn-cerrar:active[b-l1ryc9uklt] {
    transform: translateY(0);
}

/* ── Detalle de cita (AdditionalData) ── */
.nt-detail-section[b-l1ryc9uklt] {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e2e8f0;
}

.nt-detail-title[b-l1ryc9uklt] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nt-detail-title i[b-l1ryc9uklt] {
    font-size: 0.65rem;
    color: #0D8ABC;
}

.nt-detail-grid[b-l1ryc9uklt] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.75rem;
    align-items: baseline;
}

.nt-detail-row[b-l1ryc9uklt] {
    display: contents;
}

.nt-detail-label[b-l1ryc9uklt] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    min-width: 80px;
}

.nt-detail-value[b-l1ryc9uklt] {
    font-size: 0.78rem;
    font-weight: 500;
    color: #1e293b;
    word-break: break-word;
}

.nt-detail-highlight .nt-detail-label[b-l1ryc9uklt] {
    color: #0D8ABC;
    font-weight: 600;
}

.nt-detail-highlight .nt-detail-value[b-l1ryc9uklt] {
    color: #0f172a;
    font-weight: 600;
}

/* ── Animaciones ── */
@keyframes nt-fade-in-b-l1ryc9uklt {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nt-scale-in-b-l1ryc9uklt {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
/* /Presentation/Components/Pages/Dashboard/DashboardHospital.razor.rz.scp.css */

.dashboard-layout[b-hfo9eoqs6y] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── KPI Grid (columnas dinámicas: se divide el ancho según la cantidad de indicadores activos) ── */
.kpi-grid[b-hfo9eoqs6y] {
    display: grid;
    grid-template-columns: repeat(var(--kpi-cols, 8), minmax(0, 1fr));
    gap: 0.85rem;
}

/* En pantallas < 1400px: máximo 4 columnas; < 992px: máximo 2 columnas; < 576px: 1 columna.
   min() mantiene la división por cantidad sin exceder el límite del breakpoint. */
@media (max-width: 1399.98px) { .kpi-grid[b-hfo9eoqs6y] { grid-template-columns: repeat(min(var(--kpi-cols, 8), 4), minmax(0, 1fr)); } }
@media (max-width: 991.98px)  { .kpi-grid[b-hfo9eoqs6y] { grid-template-columns: repeat(min(var(--kpi-cols, 8), 2), minmax(0, 1fr)); } }
@media (max-width: 575.98px)  { .kpi-grid[b-hfo9eoqs6y] { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

/* ── Skeleton loading ── */
.kpi-card-skeleton[b-hfo9eoqs6y] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kpi-card-skeleton > div[b-hfo9eoqs6y] {
    background: #f1f3f5;
    border-radius: 4px;
    animation: dash-skel-b-hfo9eoqs6y 1.5s ease-in-out infinite;
}

.skeleton-icon[b-hfo9eoqs6y] { width: 28px; height: 28px; border-radius: 8px; }
.skeleton-text[b-hfo9eoqs6y] { width: 55%; height: 10px; }
.skeleton-value[b-hfo9eoqs6y] { width: 35%; height: 26px; }
.skeleton-bar[b-hfo9eoqs6y] { width: 100%; height: 6px; margin-top: auto; border-radius: 4px; }

@keyframes dash-skel-b-hfo9eoqs6y {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ── Pulse Bar (100% custom) ── */
.pulse-bar[b-hfo9eoqs6y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pulse-bar.pulse-warning[b-hfo9eoqs6y] {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fde68a;
}

.pulse-bar.pulse-critical[b-hfo9eoqs6y] {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border-color: #fca5a5;
}

.pulse-dot[b-hfo9eoqs6y] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pulse-dot.pulse-normal[b-hfo9eoqs6y] { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.pulse-dot.pulse-warning[b-hfo9eoqs6y] { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.pulse-dot.pulse-critical[b-hfo9eoqs6y] { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }

/* ── KPI Card hover ── */
.kpi-card[b-hfo9eoqs6y] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover[b-hfo9eoqs6y] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ── Live Feed max-height ── */
.feed-list[b-hfo9eoqs6y] {
    max-height: 340px;
    overflow-y: auto;
}

.notifications-list[b-hfo9eoqs6y] {
    max-height: 300px;
    overflow-y: auto;
}

.live-feed-item:hover[b-hfo9eoqs6y] {
    background: #f8f9fa;
    border-radius: 6px;
}

/* ── Priority list spacing ── */
.priority-list[b-hfo9eoqs6y] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ── Logo del header del Dashboard ── */
.dashboard-header-logo[b-hfo9eoqs6y] {
    height: 55px !important;
    max-width: 100px !important;
    border: 2px solid #EAEAEA;
}

/* ── Status dot para badges de integraciones ── */
.status-dot[b-hfo9eoqs6y] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 0.3rem;
    vertical-align: middle;
    animation: dot-pulse-b-hfo9eoqs6y 2s ease-in-out infinite;
}

@keyframes dot-pulse-b-hfo9eoqs6y {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes dash-pulse-dot-b-hfo9eoqs6y {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.min-h-chart[b-hfo9eoqs6y] { min-height: 220px; }
/* /Presentation/Components/Pages/Electoral/DashboardElectoral.razor.rz.scp.css */
.dashboard-layout[b-vvho30ds1c] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── KPI Grid (columnas dinámicas según orientación y ancho disponible) ── */
.kpi-grid[b-vvho30ds1c] {
    display: grid;
    grid-template-columns: repeat(var(--kpi-cols, 4), minmax(0, 1fr));
    gap: 0.85rem;
}

/* En pantallas < 1400px: máximo 4 columnas; < 992px: máximo 2 columnas; < 576px: 1 columna.
   min() mantiene la división por cantidad sin exceder el límite del breakpoint. */
@media (max-width: 1399.98px) { .kpi-grid[b-vvho30ds1c] { grid-template-columns: repeat(min(var(--kpi-cols, 4), 4), minmax(0, 1fr)); } }
@media (max-width: 991.98px)  { .kpi-grid[b-vvho30ds1c] { grid-template-columns: repeat(min(var(--kpi-cols, 4), 2), minmax(0, 1fr)); } }
@media (max-width: 575.98px)  { .kpi-grid[b-vvho30ds1c] { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

/* ── Fila de dos columnas: Centro de Prioridades + Actividad en Tiempo Real ──
   Cada panel ocupa una columna; en tablet/móvil (<992px) se apilan */
.dashboard-row-2col[b-vvho30ds1c] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .dashboard-row-2col[b-vvho30ds1c] {
        grid-template-columns: 1fr;
    }
}

/* ── Hover de la card KPI ── */
[b-vvho30ds1c] .kpi-card {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

[b-vvho30ds1c] .kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ── Skeleton loading ── */
.kpi-card-skeleton[b-vvho30ds1c] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* En orientación horizontal el skeleton también se muestra horizontal */
.kpi-card-skeleton.skeleton-horizontal[b-vvho30ds1c] {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.kpi-card-skeleton > div[b-vvho30ds1c] {
    background: #f1f3f5;
    border-radius: 4px;
    animation: electoral-skel-b-vvho30ds1c 1.5s ease-in-out infinite;
}

.skeleton-icon[b-vvho30ds1c] { width: 28px; height: 28px; border-radius: 8px; }
.skeleton-horizontal .skeleton-icon[b-vvho30ds1c] { width: 38px; height: 38px; flex-shrink: 0; }
.skeleton-text[b-vvho30ds1c] { width: 55%; height: 10px; }
.skeleton-value[b-vvho30ds1c] { width: 35%; height: 26px; }
.skeleton-bar[b-vvho30ds1c] { width: 100%; height: 6px; margin-top: auto; border-radius: 4px; }

@keyframes electoral-skel-b-vvho30ds1c {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ── Live Feed max-height ── */
[b-vvho30ds1c] .feed-list {
    max-height: 340px;
    overflow-y: auto;
}

[b-vvho30ds1c] .live-feed-item:hover {
    background: #f8f9fa;
    border-radius: 6px;
}

/* ── Priority list spacing ── */
[b-vvho30ds1c] .priority-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* En orientación horizontal las alertas se acomodan en grid de 2 columnas
   (1 columna en móvil) para aprovechar el ancho del panel */
[b-vvho30ds1c] .priority-list.priority-list-horizontal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
    [b-vvho30ds1c] .priority-list.priority-list-horizontal {
        grid-template-columns: 1fr;
    }
}
/* /Presentation/Components/Pages/Electoral/PersonasPanel.razor.rz.scp.css */
.pers-grid-wrapper[b-f9y9wklv2h] {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    min-height: 260px;
}

.pers-grid-header[b-f9y9wklv2h],
.pers-grid-row[b-f9y9wklv2h] {
    display: grid;
    grid-template-columns: 180px 1fr 120px 220px 70px;
    align-items: center;
    padding: 0 12px;
}

.pers-grid-header[b-f9y9wklv2h] {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 36px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pers-grid-row[b-f9y9wklv2h] {
    min-height: 40px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #1f2937;
    transition: background-color 0.15s ease;
}

.pers-grid-row:hover[b-f9y9wklv2h] {
    background: #f8fafc;
}

.pers-col-doc[b-f9y9wklv2h] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pers-col-name[b-f9y9wklv2h] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.pers-col-gen[b-f9y9wklv2h] {
    color: #6b7280;
    font-size: 0.76rem;
}

.pers-col-contact[b-f9y9wklv2h] {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
}

.pers-col-actions[b-f9y9wklv2h] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.pers-contact-badge[b-f9y9wklv2h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.62rem;
    flex-shrink: 0;
}

/* Footer del grid */
.pers-grid-footer[b-f9y9wklv2h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.72rem;
    color: #6b7280;
    background: #f8fafc;
    border-radius: 4px;
}

/* Buscador compacto */
.pers-search-wrapper[b-f9y9wklv2h] {
    position: relative;
    display: flex;
    align-items: center;
}

.pers-search-icon[b-f9y9wklv2h] {
    position: absolute;
    left: 8px;
    color: #9ca3af;
    font-size: 0.68rem;
    pointer-events: none;
}

.pers-search-input[b-f9y9wklv2h] {
    height: 30px;
    width: 240px;
    font-size: 0.75rem;
    padding: 0 24px 0 22px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    outline: none;
}

.pers-search-input:focus[b-f9y9wklv2h] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pers-search-clear[b-f9y9wklv2h] {
    position: absolute;
    right: 4px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 0.66rem;
    cursor: pointer;
    padding: 2px;
}

.pers-search-clear:hover[b-f9y9wklv2h] {
    color: #374151;
}

/* ── Responsive: columnas colapsan en móvil ── */
@media (max-width: 767.98px) {
    .pers-grid-header[b-f9y9wklv2h],
    .pers-grid-row[b-f9y9wklv2h] {
        grid-template-columns: 130px 1fr 90px 70px;
    }

    .pers-col-contact[b-f9y9wklv2h] {
        display: none;
    }

    .pers-search-input[b-f9y9wklv2h] {
        width: 160px;
    }
}
/* /Presentation/Components/Pages/Herramientas/Afiliacion/AfiliacionPanel.razor.rz.scp.css */
/* =========================================================================
   Panel de Afiliación — Idea: sv4-329
   Estructura visual: patrón Plantillas de WhatsApp (Mensajería).
   ========================================================================= */

/* ===== ESTRUCTURA — patrón visual Plantillas de WhatsApp ===== */
.editor-container[b-nfk7xvvtsv] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-nfk7xvvtsv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-nfk7xvvtsv] {
    font-size: 13px;
}

.editor-header-right[b-nfk7xvvtsv] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-nfk7xvvtsv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-nfk7xvvtsv],
.editor-title-bar .fw-semibold[b-nfk7xvvtsv],
.editor-title-bar small[b-nfk7xvvtsv] {
    color: #1a1d23 !important;
}

/* ── Separador vertical en toolbar — estandarizado 26px (sv4-191) ── */
.toolbar-separator[b-nfk7xvvtsv] {
    width: 1px;
    height: 26px;
    background: #dee2e6;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto ===== */
.editor-tabs.nav-tabs[b-nfk7xvvtsv] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}
.editor-tabs .nav-item[b-nfk7xvvtsv] { margin: 0 !important; padding: 0 !important; position: relative; display: flex; align-items: stretch; }
.editor-tabs .nav-item:first-child[b-nfk7xvvtsv] { margin: 0 !important; padding: 0 !important; }
.editor-tabs .nav-link[b-nfk7xvvtsv] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.editor-tabs .nav-link:hover[b-nfk7xvvtsv] { color: #202124 !important; background: rgba(0,0,0,0.04) !important; }
.editor-tabs .nav-link.active[b-nfk7xvvtsv] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}
.editor-tabs .nav-link.active[b-nfk7xvvtsv]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}
.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-nfk7xvvtsv]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}
.editor-tabs .nav-link i[b-nfk7xvvtsv] { font-size: 14px; width: 16px; text-align: center; color: inherit; }

/* Indicador de foco visible para navegación por teclado (WCAG 2.4.7). */
.editor-tabs .nav-link:focus-visible[b-nfk7xvvtsv] {
    outline: 2px solid #1a73e8 !important;
    outline-offset: -2px;
}

/* ===== CONTENIDO — patrón .editor-tab-content (Plantillas de WhatsApp) ===== */
.afiliacion-content[b-nfk7xvvtsv] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
    background: #f8f9fa;
}

.afiliacion-card[b-nfk7xvvtsv] {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 16px;
}

.afiliacion-card-title[b-nfk7xvvtsv] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
}

.afiliacion-hint[b-nfk7xvvtsv] {
    margin-top: 12px;
    font-size: 0.72rem;
    color: #5f6368;
}

.afiliacion-subtitulo[b-nfk7xvvtsv] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.afiliacion-doc[b-nfk7xvvtsv] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.82rem;
    color: #202124;
    background: #f1f3f4;
    border-radius: 6px;
    padding: 3px 8px;
}

.afiliacion-datos dt[b-nfk7xvvtsv] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5f6368;
    padding-bottom: 6px;
}

.afiliacion-datos dd[b-nfk7xvvtsv] {
    font-size: 0.8rem;
    color: #202124;
    padding-bottom: 6px;
    margin-bottom: 0;
}

.afiliacion-chip[b-nfk7xvvtsv] {
    display: inline-block;
    font-size: 0.68rem;
    color: #5f6368;
    background: #f1f3f4;
    border: 1px solid #dadce0;
    border-radius: 999px;
    padding: 1px 8px;
}

.afiliacion-tecnico[b-nfk7xvvtsv] {
    font-size: 0.74rem;
    color: #b3261e;
}

.afiliacion-aviso[b-nfk7xvvtsv] {
    display: flex;
    align-items: flex-start;
    font-size: 0.73rem;
    line-height: 1.45;
    color: #5f4b00;
    background: #fff8e1;
    border-left: 4px solid #f9ab00;
    border-radius: 6px;
    padding: 10px 12px;
}

.afiliacion-tabla[b-nfk7xvvtsv] {
    font-size: 0.78rem;
}

.afiliacion-tabla thead th[b-nfk7xvvtsv] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #5f6368;
    white-space: nowrap;
}

.afiliacion-salud-msg[b-nfk7xvvtsv] {
    font-size: 0.68rem;
    color: #5f6368;
    margin-top: 2px;
    max-width: 220px;
}

.afiliacion-empty[b-nfk7xvvtsv] {
    text-align: center;
    color: #5f6368;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 40px 20px;
}

.afiliacion-empty i[b-nfk7xvvtsv] {
    font-size: 2rem;
    color: #cbd5e1;
}

.afiliacion-empty h6[b-nfk7xvvtsv] {
    font-size: 0.9rem;
    color: #202124;
}

.afiliacion-empty p[b-nfk7xvvtsv] {
    font-size: 0.79rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.afiliacion-empty-compact[b-nfk7xvvtsv] {
    padding: 24px 16px;
    border-style: solid;
}

.afiliacion-empty-compact i[b-nfk7xvvtsv] {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 6px;
}

/* ===== Barra de filtros compacta (misma lectura que Parametros/Backlog) ===== */
.afil-toolbar[b-nfk7xvvtsv] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    padding: 5px 10px;
    min-height: 38px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 10px;
}

.afil-toolbar-left[b-nfk7xvvtsv] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.afil-toolbar-title[b-nfk7xvvtsv] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #202124;
    white-space: nowrap;
}

.afil-search[b-nfk7xvvtsv] {
    position: relative;
    width: 300px;
    flex: 0 0 auto;
}

.afil-search-icon[b-nfk7xvvtsv] {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.afil-search input[b-nfk7xvvtsv] {
    width: 100%;
    height: 26px;
    padding: 0 24px;
    font-size: 0.72rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #ffffff;
    color: #1f2937;
    outline: none;
}

.afil-search input:focus[b-nfk7xvvtsv] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.12);
}

.afil-search input[b-nfk7xvvtsv]::placeholder {
    color: #9ca3af;
    font-size: 0.7rem;
}

.afil-clear-search[b-nfk7xvvtsv] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    font-size: 0.7rem;
}

.afil-toolbar-right[b-nfk7xvvtsv] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.afil-results[b-nfk7xvvtsv] {
    font-size: 0.72rem;
    color: #6b7280;
    white-space: nowrap;
}

.afil-results strong[b-nfk7xvvtsv] {
    color: #202124;
}

.afil-clear[b-nfk7xvvtsv] {
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 4px;
    height: 26px;
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
}

.afil-clear:disabled[b-nfk7xvvtsv] {
    opacity: 0.45;
    cursor: default;
}

.afiliacion-table-card[b-nfk7xvvtsv] {
    padding: 0;
    overflow: hidden;
}

.afiliacion-empty-list[b-nfk7xvvtsv] {
    text-align: center;
    color: #6b7280;
    padding: 36px 16px;
}

.afiliacion-empty-list i[b-nfk7xvvtsv] {
    font-size: 2rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 8px;
}

.afiliacion-empty-list p[b-nfk7xvvtsv] {
    margin: 0;
    font-size: 0.85rem;
}

/* ===== Modal de configuración ===== */
.afiliacion-modal-backdrop[b-nfk7xvvtsv] {
    background: rgba(32, 33, 36, 0.45);
    z-index: 2055;
}

/* ===== Gestión de portales (sv4-329) ===== */
.afil-form-label[b-nfk7xvvtsv] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 3px;
}

.afil-config-json[b-nfk7xvvtsv] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.72rem;
    line-height: 1.45;
    background: #f8f9fa;
    color: #202124;
}

/* Interruptores — bloque canónico .suros-switch del proyecto
   (SUROS.Framework/CONTRACTS/FORM.md). No se cambia su geometría. */
.suros-switch[b-nfk7xvvtsv] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-nfk7xvvtsv] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-nfk7xvvtsv] {
    cursor: pointer;
    margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    .afiliacion-content[b-nfk7xvvtsv] { padding: 12px 16px 16px; }
    .editor-tabs.nav-tabs[b-nfk7xvvtsv] { overflow-x: auto; flex-wrap: nowrap; }
    .afiliacion-card[b-nfk7xvvtsv] { padding: 12px; }
    .afiliacion-datos dt[b-nfk7xvvtsv] { padding-bottom: 0; }
    .afiliacion-datos dd[b-nfk7xvvtsv] { padding-bottom: 8px; }
    .afil-toolbar[b-nfk7xvvtsv] { flex-wrap: wrap; }
    .afil-search[b-nfk7xvvtsv] { width: 100%; }
}

/* /Presentation/Components/Pages/Herramientas/Afiliacion/OrganizacionAfiliacionTab.razor.rz.scp.css */
/* =========================================================================
   Organización de Afiliación — Idea: sv4-329
   ========================================================================= */

.org-panel[b-a8chnqp9s7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.org-toolbar[b-a8chnqp9s7] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    padding: 5px 10px;
    min-height: 38px;
    flex-wrap: wrap;
}

.org-toolbar-left[b-a8chnqp9s7] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.org-title[b-a8chnqp9s7] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #202124;
    white-space: nowrap;
}

.org-toolbar-right[b-a8chnqp9s7] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.org-count[b-a8chnqp9s7] {
    font-size: 0.72rem;
    color: #6b7280;
    white-space: nowrap;
}

.org-count strong[b-a8chnqp9s7] {
    color: #202124;
}

.org-card[b-a8chnqp9s7] {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 14px 16px;
}

.org-table-card[b-a8chnqp9s7] {
    padding: 0;
    overflow: hidden;
}

.org-card-head[b-a8chnqp9s7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.org-card-head h6[b-a8chnqp9s7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #202124;
}

.org-table[b-a8chnqp9s7] {
    font-size: 0.78rem;
}

.org-table thead th[b-a8chnqp9s7] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #5f6368;
    white-space: nowrap;
}

.org-empty[b-a8chnqp9s7] {
    text-align: center;
    color: #6b7280;
    padding: 36px 16px;
}

.org-empty i[b-a8chnqp9s7] {
    font-size: 2rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 8px;
}

.org-empty p[b-a8chnqp9s7] {
    margin: 0;
    font-size: 0.85rem;
}

.org-empty-compact[b-a8chnqp9s7] {
    padding: 24px 16px;
}

.org-form-label[b-a8chnqp9s7] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 3px;
}

.org-search[b-a8chnqp9s7] {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.org-search input[b-a8chnqp9s7] {
    flex: 1;
    height: 26px;
    padding: 0 8px 0 24px;
    font-size: 0.72rem;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #ffffff;
    color: #1f2937;
    outline: none;
}

.org-search input:focus[b-a8chnqp9s7] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.12);
}

.org-search-icon[b-a8chnqp9s7] {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #9ca3af;
    pointer-events: none;
}

.org-results[b-a8chnqp9s7] {
    margin-top: 6px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    max-height: 190px;
    overflow-y: auto;
    background: #ffffff;
}

.org-result[b-a8chnqp9s7] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 10px;
    border: none;
    border-bottom: 1px solid #f1f3f4;
    background: transparent;
    text-align: left;
    font-size: 0.74rem;
    color: #202124;
    cursor: pointer;
}

.org-result:last-child[b-a8chnqp9s7] {
    border-bottom: none;
}

.org-result:hover[b-a8chnqp9s7],
.org-result:focus-visible[b-a8chnqp9s7] {
    background: #f1f6fe;
    outline: none;
}

.org-result-doc[b-a8chnqp9s7] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.7rem;
    color: #5f6368;
    min-width: 80px;
}

.org-result-name[b-a8chnqp9s7] {
    flex: 1;
}

.org-selected[b-a8chnqp9s7] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 10px;
    background: #e8f0fe;
    border: 1px solid #c6dafc;
    border-radius: 6px;
    font-size: 0.76rem;
    color: #174ea6;
}

.org-selected i[b-a8chnqp9s7] {
    font-size: 1rem;
}

.org-hint[b-a8chnqp9s7] {
    margin-top: 10px;
    font-size: 0.74rem;
    color: #5f6368;
}

.org-modal-backdrop[b-a8chnqp9s7] {
    background: rgba(32, 33, 36, 0.45);
    z-index: 2055;
}

.afiliacion-aviso[b-a8chnqp9s7] {
    display: flex;
    align-items: flex-start;
    font-size: 0.73rem;
    line-height: 1.45;
    color: #5f4b00;
    background: #fff8e1;
    border-left: 4px solid #f9ab00;
    border-radius: 6px;
    padding: 10px 12px;
}

/* Interruptores — bloque canónico .suros-switch del proyecto
   (SUROS.Framework/CONTRACTS/FORM.md). No se cambia su geometría. */
.suros-switch[b-a8chnqp9s7] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-a8chnqp9s7] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-a8chnqp9s7] {
    cursor: pointer;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .org-toolbar[b-a8chnqp9s7] {
        flex-wrap: wrap;
    }

    .org-toolbar-right[b-a8chnqp9s7] {
        margin-left: 0;
        flex-wrap: wrap;
    }

    .org-card[b-a8chnqp9s7] {
        padding: 12px;
    }

    .org-result[b-a8chnqp9s7] {
        flex-wrap: wrap;
    }
}
/* /Presentation/Components/Pages/Herramientas/BacklogIdeas.razor.rz.scp.css */
/* ============================================================
   LAYOUT — EXACTO InstitucionPanel / Configuracion Mensajeria
   ============================================================ */

.editor-container[b-tt107x1kwu] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-tt107x1kwu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-tt107x1kwu] {
    font-size: 13px;
}

.editor-header-right[b-tt107x1kwu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-tt107x1kwu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-tt107x1kwu],
.editor-title-bar .fw-semibold[b-tt107x1kwu],
.editor-title-bar small[b-tt107x1kwu] {
    color: #1a1d23 !important;
}

/* ===== PESTANAS — EXACTO InstitucionPanel / Configuracion ===== */

.editor-tabs.nav-tabs[b-tt107x1kwu] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-tt107x1kwu] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-tt107x1kwu] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-tt107x1kwu] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-tt107x1kwu] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-tt107x1kwu] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-tt107x1kwu] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-tt107x1kwu]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-tt107x1kwu]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-tt107x1kwu] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO — FILTRO FIJO ARRIBA + LISTA SCROLL ===== */

.editor-tab-content[b-tt107x1kwu] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Filtro: barra toolbar compacta, fija arriba */
.editor-tab-content > .backlog-filters[b-tt107x1kwu] {
    flex-shrink: 0;
    padding: 8px 24px 0;
}

/* ===== TOOLBAR COMPACTA — una sola fila ===== */

.backlog-toolbar[b-tt107x1kwu] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    padding: 5px 10px;
    min-height: 38px;
    flex-wrap: nowrap;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Grupo base: icono + input/select */
.bt-group[b-tt107x1kwu] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    position: relative;
}

.bt-icon[b-tt107x1kwu] {
    font-size: 0.7rem;
    color: #6b7280;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.bt-group input[type="text"][b-tt107x1kwu],
.bt-group select[b-tt107x1kwu] {
    height: 26px;
    padding: 0 6px;
    font-size: 0.72rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #1f2937;
    outline: none;
    min-width: 0;
    transition: border-color 0.15s ease;
}

.bt-group input[type="text"]:focus[b-tt107x1kwu],
.bt-group select:focus[b-tt107x1kwu] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.12);
}

.bt-group input[type="text"][b-tt107x1kwu] {
    width: 100px;
}

.bt-group select[b-tt107x1kwu] {
    width: 72px;
    cursor: pointer;
    padding-right: 18px;
}

/* Busqueda — mas ancha */
.bt-search[b-tt107x1kwu] {
    flex: 0 0 auto;
    min-width: 80px;
}

.bt-search-inner[b-tt107x1kwu] {
    display: flex;
    align-items: center;
    width: 260px;
    position: relative;
}

.bt-search-inner .bt-icon[b-tt107x1kwu] {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.bt-search-inner input[b-tt107x1kwu] {
    width: 100%;
    height: 26px;
    padding: 0 22px 0 22px;
    font-size: 0.72rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #1f2937;
    outline: none;
    transition: border-color 0.15s ease;
}

.bt-search-inner input:focus[b-tt107x1kwu] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.12);
}

.bt-search-inner input[b-tt107x1kwu]::placeholder {
    color: #9ca3af;
    font-size: 0.7rem;
}

.bt-clear[b-tt107x1kwu] {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.6rem;
    line-height: 1;
}

.bt-clear:hover[b-tt107x1kwu] {
    color: #6b7280;
}

/* Separador vertical */
.bt-sep[b-tt107x1kwu] {
    width: 1px;
    height: 20px;
    background: #e2e4e9;
    flex-shrink: 0;
    margin: 0 2px;
}

/* Rango de fechas */
.bt-date-range[b-tt107x1kwu] {
    gap: 2px;
}

.bt-date-range input[type="date"][b-tt107x1kwu] {
    height: 26px;
    padding: 0 4px;
    font-size: 0.68rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #1f2937;
    outline: none;
    width: 86px;
    min-width: 0;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.bt-date-range input[type="date"]:focus[b-tt107x1kwu] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.12);
}

.bt-date-sep[b-tt107x1kwu] {
    color: #9ca3af;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Periodo rapido — icon buttons */
.bt-period[b-tt107x1kwu] {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.bt-period button[b-tt107x1kwu] {
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.15s ease;
}

.bt-period button:hover[b-tt107x1kwu] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.bt-period button.active[b-tt107x1kwu],
.bt-period button.btn-primary[b-tt107x1kwu] {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

/* Resultados */
.bt-results[b-tt107x1kwu] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
}

.bt-results strong[b-tt107x1kwu] {
    font-size: 0.8rem;
    color: #1f2937;
}

.bt-results-label[b-tt107x1kwu] {
    color: #6b7280;
    font-size: 0.68rem;
}

.bt-sort-indicator[b-tt107x1kwu] {
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
    margin-left: 4px;
}

.bt-badge-filtrado[b-tt107x1kwu] {
    background: #fef3c7;
    color: #d97706;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 2px;
}

/* Boton limpiar todo */
.bt-clear-all[b-tt107x1kwu] {
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.bt-clear-all:hover[b-tt107x1kwu] {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
}

.bt-clear-all.has-filters[b-tt107x1kwu] {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.bt-clear-all.has-filters:hover[b-tt107x1kwu] {
    background: #fee2e2;
    color: #b91c1c;
}

/* Responsive: toolbar se hace scroll horizontal */
@media (max-width: 1199.98px) {
    .backlog-toolbar[b-tt107x1kwu] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .bt-search[b-tt107x1kwu] {
        flex: 0 0 120px;
    }
    .bt-group input[type="text"][b-tt107x1kwu] {
        width: 80px;
    }
    .bt-date-range input[type="date"][b-tt107x1kwu] {
        width: 72px;
    }
}

@media (max-width: 767.98px) {
    .editor-tab-content > .backlog-filters[b-tt107x1kwu] {
        padding: 6px 12px 0;
    }
    .backlog-toolbar[b-tt107x1kwu] {
        padding: 4px 8px;
        gap: 4px;
    }
    .bt-group select[b-tt107x1kwu] {
        width: 60px;
    }
    .bt-date-range input[type="date"][b-tt107x1kwu] {
        width: 64px;
    }
    .bt-search[b-tt107x1kwu] {
        flex: 0 0 100px;
        min-width: 60px;
    }
}

/* Lista de ideas: scroll independiente */
.editor-tab-content > .backlog-list[b-tt107x1kwu] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 24px 24px;
}

/* Mensajes de alerta: fuera del scroll pero visibles */
.editor-tab-content > .backlog-alerts[b-tt107x1kwu] {
    flex-shrink: 0;
    padding: 12px 24px 0;
}

/* ============================================================
   TARJETAS DE IDEAS — estilo propio del modulo
   ============================================================ */

/* Los badges de la tabla usan la regla estándar del componente Badge
   (css/suros-theme.css + SUROS.Framework/CONTRACTS/BADGE.md): sin padding local. */

.idea-card[b-tt107x1kwu] {
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    border-radius: 8px;
    overflow: hidden;
}

.idea-card:hover[b-tt107x1kwu] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

.idea-card .card-header[b-tt107x1kwu] {
    border-bottom: 1px solid #f3f4f6;
}

.idea-card .card-footer[b-tt107x1kwu] {
    border-top: 1px solid #f3f4f6;
}

/* ============================================================
   TIMELINE (historial en modal de detalle)
   ============================================================ */

.timeline[b-tt107x1kwu] {
    position: relative;
    padding-left: 28px;
}

.timeline[b-tt107x1kwu]::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item[b-tt107x1kwu] {
    position: relative;
    padding-bottom: 16px;
}

.timeline-item:last-child[b-tt107x1kwu] {
    padding-bottom: 0;
}

.timeline-marker[b-tt107x1kwu] {
    position: absolute;
    left: -22px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    z-index: 1;
}

.timeline-marker.marker-primary[b-tt107x1kwu] { border-color: #2563eb; background: #dbeafe; }
.timeline-marker.marker-secondary[b-tt107x1kwu] { border-color: #6b7280; background: #f3f4f6; }
.timeline-marker.marker-warning[b-tt107x1kwu] { border-color: #d97706; background: #fef3c7; }
.timeline-marker.marker-info[b-tt107x1kwu] { border-color: #2563eb; background: #dbeafe; }
.timeline-marker.marker-success[b-tt107x1kwu] { border-color: #16a34a; background: #dcfce7; }
.timeline-marker.marker-danger[b-tt107x1kwu] { border-color: #dc2626; background: #fee2e2; }

.timeline-content[b-tt107x1kwu] {
    padding-top: 0;
}

.timeline-content p[b-tt107x1kwu] {
    margin-top: 2px;
}

/* ============================================================
   UTILIDADES
   ============================================================ */

label.required[b-tt107x1kwu]::after {
    content: ' *';
    color: #dc2626;
    font-weight: 600;
}

.dropdown-item i[b-tt107x1kwu] {
    width: 16px;
    text-align: center;
}

/* ============================================================
   RESPONSIVE — EXACTO Configuracion
   ============================================================ */

@media (max-width: 767.98px) {
    .editor-tab-content > *[b-tt107x1kwu] {
        padding: 12px 16px 16px;
    }

    .editor-tabs[b-tt107x1kwu] {
        overflow-x: auto;
    }
}
/* /Presentation/Components/Pages/Herramientas/Changelog.razor.rz.scp.css */
/* ============================================================
   CHANGELOG — Panel de cambios del sistema
   Layout exacto InstitucionPanel / BacklogIdeas
   ============================================================ */

/* ===== LAYOUT BASE (mismo patron BacklogIdeas/InstitucionPanel) ===== */

.editor-container[b-jfau5yunsq] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-jfau5yunsq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-jfau5yunsq] {
    font-size: 13px;
}

.editor-header-right[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-jfau5yunsq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-jfau5yunsq],
.editor-title-bar .fw-semibold[b-jfau5yunsq],
.editor-title-bar small[b-jfau5yunsq] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-jfau5yunsq] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto ===== */
.editor-tabs.nav-tabs[b-jfau5yunsq] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}
.editor-tabs .nav-item[b-jfau5yunsq] { margin: 0 !important; padding: 0 !important; position: relative; display: flex; align-items: stretch; }
.editor-tabs .nav-item:first-child[b-jfau5yunsq] { margin: 0 !important; padding: 0 !important; }
.editor-tabs .nav-link[b-jfau5yunsq] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.editor-tabs .nav-link:hover[b-jfau5yunsq] { color: #202124 !important; background: rgba(0,0,0,0.04) !important; }
.editor-tabs .nav-link.active[b-jfau5yunsq] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}
.editor-tabs .nav-link.active[b-jfau5yunsq]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}
.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-jfau5yunsq]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}
.editor-tabs .nav-link i[b-jfau5yunsq] { font-size: 14px; width: 16px; text-align: center; color: inherit; }

/* ===== TOOLBAR ===== */

.changelog-toolbar[b-jfau5yunsq] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 12px;
    flex-wrap: wrap;
}

.changelog-toolbar-left[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.changelog-toolbar-right[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.changelog-filter-btn[b-jfau5yunsq] {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 450;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.2;
    height: 32px;
    box-sizing: border-box;
}

.changelog-filter-btn:hover[b-jfau5yunsq] {
    border-color: #9ca3af;
    background: #f9fafb;
}

.changelog-filter-btn.active[b-jfau5yunsq] {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
    padding: 5px 12px;
    height: 32px;
    max-height: none !important;
    min-height: 32px !important;
}

.changelog-filter-btn i[b-jfau5yunsq] {
    font-size: 0.7rem;
    line-height: 1;
}

/* ===== TOOLBAR: rango fechas, periodo, resultados ===== */

.cg-date-range[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.cg-dr-icon[b-jfau5yunsq] {
    font-size: 0.7rem;
    color: #6b7280;
    margin-right: 2px;
}

.cg-dr-input[b-jfau5yunsq] {
    height: 26px;
    padding: 0 6px;
    font-size: 0.72rem;
    line-height: 1;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #1f2937;
    outline: none;
    width: 120px;
    min-width: 0;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.cg-dr-input:focus[b-jfau5yunsq] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.12);
}

.cg-dr-sep[b-jfau5yunsq] {
    color: #9ca3af;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.cg-period[b-jfau5yunsq] {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.cg-period button[b-jfau5yunsq] {
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.15s ease;
}

.cg-period button:hover[b-jfau5yunsq] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.cg-period button.active[b-jfau5yunsq] {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

.cg-sep[b-jfau5yunsq] {
    width: 1px;
    height: 20px;
    background: #e2e4e9;
    flex-shrink: 0;
    margin: 0 4px;
}

.cg-results[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    font-size: 0.72rem;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 28px;
    justify-content: center;
}

.cg-results strong[b-jfau5yunsq] {
    font-size: 0.8rem;
    color: #1f2937;
}

.cg-clear[b-jfau5yunsq] {
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.cg-clear:hover[b-jfau5yunsq] {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
}

.cg-clear.has-filters[b-jfau5yunsq] {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.cg-clear.has-filters:hover[b-jfau5yunsq] {
    background: #fee2e2;
    color: #b91c1c;
}

.changelog-search-box[b-jfau5yunsq] {
    position: relative;
    display: flex;
    align-items: center;
}

.changelog-search-box input[b-jfau5yunsq] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 5px 12px 5px 30px;
    font-size: 0.75rem;
    width: 220px;
    outline: none;
    transition: border-color 0.15s ease;
    background: #fff;
    color: #1f2937;
}

.changelog-search-box input[b-jfau5yunsq]::placeholder {
    color: #9ca3af;
}

.changelog-search-box input:focus[b-jfau5yunsq] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}

.changelog-search-box i[b-jfau5yunsq] {
    position: absolute;
    left: 10px;
    color: #9ca3af;
    font-size: 0.7rem;
    pointer-events: none;
}

/* ===== CONTENIDO PRINCIPAL (scroll independiente) ===== */

.changelog-content[b-jfau5yunsq] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 24px 32px;
}

/* ===== LAYOUT: sidebar + timeline ===== */

.changelog-layout[b-jfau5yunsq] {
    display: flex;
    gap: 28px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: flex-start;
}

.changelog-sidebar[b-jfau5yunsq] {
    flex: 0 0 320px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.changelog-main[b-jfau5yunsq] {
    flex: 1;
    min-width: 0;
}

/* ===== SIDEBAR CARD ===== */

.changelog-sidebar-card[b-jfau5yunsq] {
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 10px;
    padding: 20px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.changelog-sidebar-icon[b-jfau5yunsq] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(99,102,241,0.25);
}

.changelog-sidebar-title[b-jfau5yunsq] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.changelog-sidebar-desc[b-jfau5yunsq] {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 0;
}

.changelog-sidebar-desc strong[b-jfau5yunsq] {
    color: #374151;
}

.changelog-sidebar-divider[b-jfau5yunsq] {
    height: 1px;
    background: #e5e7eb;
    margin: 14px 0;
}

/* ===== SIDEBAR STATS ===== */

.changelog-sidebar-stats[b-jfau5yunsq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.changelog-sidebar-stats .css-stat[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.changelog-sidebar-stats .css-stat-icon[b-jfau5yunsq] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.changelog-sidebar-stats .css-stat div[b-jfau5yunsq] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.changelog-sidebar-stats .css-stat strong[b-jfau5yunsq] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

.changelog-sidebar-stats .css-stat small[b-jfau5yunsq] {
    font-size: 0.65rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ===== SIDEBAR FOOTER ===== */

.changelog-sidebar-footer[b-jfau5yunsq] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.68rem;
    color: #9ca3af;
    line-height: 1.5;
}

.changelog-sidebar-footer i[b-jfau5yunsq] {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== RESPONSIVE SIDEBAR ===== */

@media (max-width: 991.98px) {
    .changelog-layout[b-jfau5yunsq] {
        flex-direction: column;
        gap: 20px;
    }

    .changelog-sidebar[b-jfau5yunsq] {
        flex: none;
        width: 100%;
        position: static;
    }

    .changelog-sidebar-card[b-jfau5yunsq] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
    }

    .changelog-sidebar-icon[b-jfau5yunsq] {
        margin-bottom: 0;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .changelog-sidebar-title[b-jfau5yunsq] {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    .changelog-sidebar-desc[b-jfau5yunsq] {
        width: 100%;
        font-size: 0.75rem;
    }

    .changelog-sidebar-stats[b-jfau5yunsq] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .changelog-sidebar-divider[b-jfau5yunsq] {
        display: none;
    }

    .changelog-sidebar-footer[b-jfau5yunsq] {
        width: 100%;
    }
}

/* ===== TIMELINE — linea vertical ===== */

.changelog-timeline[b-jfau5yunsq] {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 40px;
}

.changelog-timeline[b-jfau5yunsq]::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #1a73e8, #6366f1, #1a73e8);
    border-radius: 1px;
}

/* ===== GRUPO POR MES/AÑO ===== */

.changelog-month-group[b-jfau5yunsq] {
    position: relative;
    margin-bottom: 32px;
}

.changelog-month-header[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    margin-left: -40px;
    padding-top: 4px;
}

.changelog-month-dot[b-jfau5yunsq] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
    position: relative;
    z-index: 1;
}

.changelog-month-title[b-jfau5yunsq] {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.01em;
    margin: 0;
}

.changelog-month-count[b-jfau5yunsq] {
    background: #e5e7eb;
    color: #4b5563;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 10px;
}

/* ===== TARJETA DE CAMBIO ===== */

.changelog-card[b-jfau5yunsq] {
    position: relative;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    border: 1px solid #e5e7eb;
    cursor: default;
}

.changelog-card:hover[b-jfau5yunsq] {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    transform: translateY(-1px);
    border-color: #d1d5db;
}

.changelog-card[b-jfau5yunsq]::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 47px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #1a73e8;
    z-index: 1;
    transition: all 0.2s ease;
}

.changelog-card:hover[b-jfau5yunsq]::before {
    background: #1a73e8;
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(26,115,232,0.15);
}

.changelog-card-header[b-jfau5yunsq] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.changelog-card-left[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.changelog-id-badge[b-jfau5yunsq] {
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.changelog-id-badge.type-sv4[b-jfau5yunsq] { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.changelog-id-badge.type-sv2[b-jfau5yunsq] { background: #fef3c7; color: #d97706; border-color: #fde68a; }
.changelog-id-badge.type-wsp[b-jfau5yunsq] { background: #d1fae5; color: #059669; border-color: #a7f3d0; }
.changelog-id-badge.type-msg[b-jfau5yunsq] { background: #dbeafe; color: #2563eb; border-color: #bfdbfe; }
.changelog-id-badge.type-edt[b-jfau5yunsq] { background: #f3e8ff; color: #7c3aed; border-color: #e9d5ff; }
.changelog-id-badge.type-rda[b-jfau5yunsq] { background: #fce7f3; color: #db2777; border-color: #fbcfe8; }
.changelog-id-badge.type-ante[b-jfau5yunsq] { background: #d1fae5; color: #059669; border-color: #a7f3d0; }
.changelog-id-badge.type-infra[b-jfau5yunsq] { background: #e5e7eb; color: #4b5563; border-color: #d1d5db; }
.changelog-id-badge.type-home[b-jfau5yunsq] { background: #ffedd5; color: #ea580c; border-color: #fed7aa; }
.changelog-id-badge.type-act[b-jfau5yunsq] { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }

/* ===== TIPO / VERSIÓN DE LA ACTUALIZACIÓN ===== */

.changelog-tipo-badge[b-jfau5yunsq] {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 3px;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.changelog-version-badge[b-jfau5yunsq] {
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.62rem;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 3px;
    background: #f9fafb;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}

/* ===== ACCIONES DE LA TARJETA ===== */

.changelog-card-actions[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.changelog-card-actions .btn-link[b-jfau5yunsq] {
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1;
    padding: 0;
}

.changelog-card-actions .btn-link:hover[b-jfau5yunsq] {
    opacity: 0.75;
}

/* ===== TITULO, DETALLE Y METADATOS DE LA TARJETA ===== */

.changelog-card-title[b-jfau5yunsq] {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.changelog-card-detail[b-jfau5yunsq] {
    font-size: 0.76rem;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.changelog-card-meta[b-jfau5yunsq] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.68rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

.changelog-detail-more[b-jfau5yunsq] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #1a73e8;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.changelog-detail-more:hover[b-jfau5yunsq] {
    text-decoration: underline;
    color: #1558b0;
}

.changelog-date[b-jfau5yunsq] {
    font-size: 0.7rem;
    color: #6b7280;
    white-space: nowrap;
}

.changelog-proyecto-badge[b-jfau5yunsq] {
    font-size: 0.6rem;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 3px;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.changelog-card-body[b-jfau5yunsq] {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.55;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.changelog-card-footer[b-jfau5yunsq] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.changelog-tag[b-jfau5yunsq] {
    font-size: 0.6rem;
    font-weight: 450;
    padding: 1px 8px;
    border-radius: 3px;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.changelog-tag.tag-feature[b-jfau5yunsq] { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.changelog-tag.tag-bugfix[b-jfau5yunsq] { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.changelog-tag.tag-ui[b-jfau5yunsq] { background: #fdf4ff; color: #a21caf; border-color: #f5d0fe; }
.changelog-tag.tag-ux[b-jfau5yunsq] { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.changelog-tag.tag-mongodb[b-jfau5yunsq] { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.changelog-tag.tag-bd[b-jfau5yunsq] { background: #f8fafc; color: #475569; border-color: #cbd5e1; }
.changelog-tag.tag-mejora[b-jfau5yunsq] { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.changelog-tag.tag-seguridad[b-jfau5yunsq] { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.changelog-tag.tag-infra[b-jfau5yunsq] { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }

/* ===== DESARROLLADOR RESPONSABLE (avatar + nombre) ===== */

.changelog-card-developer[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding-top: 9px;
    border-top: 1px solid #f3f4f6;
    min-width: 0;
}

.changelog-avatar[b-jfau5yunsq] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    text-transform: uppercase;
}

.changelog-avatar-img[b-jfau5yunsq] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    border: 1px solid #e5e7eb;
}

.changelog-developer-label[b-jfau5yunsq] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.changelog-developer-name[b-jfau5yunsq] {
    font-size: 0.7rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.changelog-developer-doc[b-jfau5yunsq] {
    font-size: 0.62rem;
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    color: #9ca3af;
    white-space: nowrap;
    margin-left: auto;
    padding: 0 6px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    background: #f9fafb;
}

/* ===== MODAL DE DETALLE DE LA NOVEDAD ===== */

.changelog-detail-label[b-jfau5yunsq] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin: 0 0 8px;
}

.changelog-detail-text[b-jfau5yunsq] {
    font-size: 0.87rem;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.changelog-detail-meta[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: #4b5563;
}

.changelog-detail-meta i[b-jfau5yunsq] {
    font-size: 0.68rem;
    width: 14px;
    text-align: center;
    color: #9ca3af;
    flex-shrink: 0;
}

.changelog-detail-paginas[b-jfau5yunsq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.changelog-detail-paginas code[b-jfau5yunsq] {
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.7rem;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 3px 8px;
    word-break: break-all;
}

/* ===== TIMELINE (historial en el modal de detalle) ===== */

.timeline[b-jfau5yunsq] {
    position: relative;
    padding-left: 28px;
}

.timeline[b-jfau5yunsq]::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item[b-jfau5yunsq] {
    position: relative;
    padding-bottom: 16px;
}

.timeline-item:last-child[b-jfau5yunsq] {
    padding-bottom: 0;
}

.timeline-marker[b-jfau5yunsq] {
    position: absolute;
    left: -22px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    z-index: 1;
}

.timeline-marker.marker-primary[b-jfau5yunsq] { border-color: #2563eb; background: #dbeafe; }
.timeline-marker.marker-secondary[b-jfau5yunsq] { border-color: #6b7280; background: #f3f4f6; }
.timeline-marker.marker-warning[b-jfau5yunsq] { border-color: #d97706; background: #fef3c7; }
.timeline-marker.marker-info[b-jfau5yunsq] { border-color: #2563eb; background: #dbeafe; }
.timeline-marker.marker-success[b-jfau5yunsq] { border-color: #16a34a; background: #dcfce7; }
.timeline-marker.marker-danger[b-jfau5yunsq] { border-color: #dc2626; background: #fee2e2; }

.timeline-content[b-jfau5yunsq] {
    padding-top: 0;
}

.timeline-content p[b-jfau5yunsq] {
    margin-top: 2px;
}

/* ===== RESPONSIVE ===== */

/* ── Centinela de scroll infinito (patrón PacienteManager) ── */
.scroll-sentinel[b-jfau5yunsq] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    gap: 4px;
    color: #6b7280;
    font-size: 0.75rem;
}

@media (max-width: 767.98px) {
    .changelog-toolbar[b-jfau5yunsq] {
        padding: 6px 12px;
    }

    .changelog-search-box input[b-jfau5yunsq] {
        width: 140px;
    }

    .changelog-content[b-jfau5yunsq] {
        padding: 16px;
    }

    .changelog-timeline[b-jfau5yunsq] {
        padding-left: 32px;
    }

    .changelog-card[b-jfau5yunsq]::before {
        left: -22px;
        top: 45px;
        width: 10px;
        height: 10px;
    }

    .changelog-month-header[b-jfau5yunsq] {
        margin-left: -32px;
    }

    .changelog-month-dot[b-jfau5yunsq] {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }

    .changelog-card[b-jfau5yunsq] {
        padding: 12px 16px;
    }

    .changelog-card-header[b-jfau5yunsq] {
        flex-direction: column;
        gap: 6px;
    }
}
/* /Presentation/Components/Pages/Herramientas/Consentimientos/ConsentimientoEditorTab.razor.rz.scp.css */
.consent-editor[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.consent-editor-header[b-3mtkr149iw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.consent-editor-title[b-3mtkr149iw] {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.consent-editor-subtitle[b-3mtkr149iw] {
    font-size: 0.72rem;
    color: #6b7280;
}

.consent-editor-autosave[b-3mtkr149iw] {
    margin-left: 8px;
    font-size: 0.62rem;
    color: #4b5563;
    white-space: nowrap;
}
.consent-editor-autosave.pendiente[b-3mtkr149iw] {
    color: #b45309;
}
.consent-editor-autosave i[b-3mtkr149iw] {
    margin-right: 3px;
}

/* ── Pestañas (patrón .editor-tabs, igual que EditorPlantillaBase / FuncionarioManager) ── */
.editor-tabs.nav-tabs[b-3mtkr149iw] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-3mtkr149iw] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-3mtkr149iw] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-3mtkr149iw] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-3mtkr149iw] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-3mtkr149iw] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-3mtkr149iw] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.consent-editor-content[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.consent-info-body[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

.consent-card[b-3mtkr149iw] {
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
}

.consent-card-title[b-3mtkr149iw] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f3;
}

/* ── Diseñador: workspace 3 columnas ── */
.fmt-diseno-workspace[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    position: relative;
}

.fmt-comodin-panel[b-3mtkr149iw] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    /* Borde suave de tarjeta en la lista lateral scrolable de comodines. */
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    overflow: hidden;
    margin: 6px 8px 6px 0;
}

.fmt-comodin-header[b-3mtkr149iw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e4e9;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.fmt-search-wrapper[b-3mtkr149iw] {
    position: relative;
    padding: 8px 10px;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

.fmt-search-input[b-3mtkr149iw] {
    width: 100%;
    height: 30px;
    padding: 0 28px 0 28px;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    font-size: 0.78rem;
    outline: none;
}

.fmt-search-input:focus[b-3mtkr149iw] {
    border-color: #0878b8;
    box-shadow: 0 0 0 2px rgba(8, 120, 184, 0.12);
}

.fmt-search-icon[b-3mtkr149iw] {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #9aa2b0;
}

.fmt-search-clear[b-3mtkr149iw] {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 2px 4px;
    font-size: 0.7rem;
}

.fmt-comodin-list[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 0;
}

.fmt-search-empty[b-3mtkr149iw] {
    padding: 18px 12px;
    text-align: center;
    color: #9aa2b0;
    font-size: 0.78rem;
}

.fmt-comodin-group[b-3mtkr149iw] {
    margin-bottom: 2px;
}

.fmt-comodin-group-header[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    cursor: pointer;
    user-select: none;
    font-size: 0.76rem;
    font-weight: 600;
    color: #374151;
    background: #f6f8fa;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.fmt-comodin-group-header:hover[b-3mtkr149iw] {
    background: #eef1f5;
}

.fmt-comodin-chevron i[b-3mtkr149iw] {
    font-size: 0.6rem;
    color: #6b7280;
    transition: transform 0.12s ease;
}

.fmt-comodin-group-header.open .fmt-comodin-chevron i[b-3mtkr149iw] {
    transform: rotate(90deg);
}

.fmt-comodin-cat[b-3mtkr149iw] {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fmt-comodin-count[b-3mtkr149iw] {
    background: #e4e7ec;
    color: #4b5563;
    font-size: 0.62rem;
    padding: 2px 6px;
}

.fmt-comodin-group-body[b-3mtkr149iw] {
    padding: 4px 6px;
}

.fmt-comodin-item[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #eef1f4;   /* borde muy sutil de card */
    border-radius: 4px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: background 0.1s ease, border-color 0.1s ease;
}

.fmt-comodin-item:hover[b-3mtkr149iw] {
    background: #eef6fc;
}

.fmt-comodin-item > i[b-3mtkr149iw] {
    width: 14px;
    text-align: center;
    font-size: 0.75rem;
    color: #0878b8;
    flex-shrink: 0;
}

.fmt-comodin-nombre[b-3mtkr149iw] {
    font-size: 0.74rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.fmt-comodin-key[b-3mtkr149iw] {
    font-size: 0.62rem;
    color: #0878b8;
    background: #eef6fc;
    border-radius: 3px;
    padding: 1px 5px;
}

.fmt-editor-panel[b-3mtkr149iw] {
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px;
    background: #fff;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
}

.fmt-editor-panel .mb-3[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.fmt-editor-panel :deep(.comwys)[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    height: auto;
}

/* El contenido del editor scrollea internamente; la toolbar queda fija arriba. */
.fmt-editor-panel :deep(.comwys-body)[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
}

.fmt-editor-panel :deep(.comwys-editor)[b-3mtkr149iw] {
    flex: 1;
    min-height: 120px;
    overflow-y: auto;
}

.fmt-preview-panel[b-3mtkr149iw] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.fmt-preview-header[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.fmt-preview-stats[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
    flex-shrink: 0;
}

.fmt-preview-body[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 14px 16px;
    background: #fff;
    color: #1f2937;
    font-size: 0.82rem;
    line-height: 1.5;
}

.fmt-preview-body p[b-3mtkr149iw] {
    margin-bottom: 0.5rem;
}

/* ── Documento completo en la vista previa (cabecera + contenido + pie) ── */
.fmt-doc-cabecera[b-3mtkr149iw] {
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid #e2e4e9;
    font-weight: 600;
    color: #1f2937;
}
.fmt-doc-cabecera p[b-3mtkr149iw] { margin-bottom: 0.25rem; }
.fmt-doc-contenido[b-3mtkr149iw] {
    color: #1f2937;
}
.fmt-doc-pie[b-3mtkr149iw] {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 2px solid #e2e4e9;
    font-size: 0.76rem;
    color: #4b5563;
}
.fmt-doc-pie p[b-3mtkr149iw] { margin-bottom: 0.25rem; }

/* ── Subtítulos de las cards (pestaña Información) ── */
.consent-card-sub[b-3mtkr149iw] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #0878b8;
}

/* Inputs y selects compactos de la card "Información del consentimiento". */
.consent-input-compact[b-3mtkr149iw],
.consent-input-compact.form-control-sm[b-3mtkr149iw],
.consent-input-compact.form-select-sm[b-3mtkr149iw] {
    height: 30px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.8rem;
    border-radius: 3px;
    line-height: 1.2;
}
.consent-input-compact.form-select[b-3mtkr149iw] {
    padding-left: 10px;
    padding-right: 28px;
}

/* Diseñadores de cabecera/pie compactos dentro de la card Información:
   evita que con height:100% se estiren y que el aviso quede flotando encima. */
.consent-info-body :deep(.comwys)[b-3mtkr149iw] {
    height: auto;
    min-height: 0;
}
.consent-info-body :deep(.comwys-editor)[b-3mtkr149iw],
.consent-info-body :deep(.comwys-source)[b-3mtkr149iw] {
    height: 150px;
    min-height: 150px;
}

/* Barra informativa como pie de card, en flujo normal (no flota ni tapa). */
.consent-card-tip[b-3mtkr149iw] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 8px 12px;
    border: 1px solid #e2e4e9;
    border-radius: 4px;
    background: #f8fafc;
    font-size: 0.75rem;
    color: #4b5563;
    clear: both;
}
.consent-card-tip i[b-3mtkr149iw] {
    color: #1a73e8;
    flex-shrink: 0;
}
.consent-card-tip span[b-3mtkr149iw] {
    line-height: 1.5;
}

/* ── Explorador de comodines lateral (diseñadores de cabecera y pie) ── */
.consent-hp-row[b-3mtkr149iw] {
    display: flex;
    gap: 8px;
    align-items: stretch;
    min-width: 0;
    width: 100%;
}

.consent-hp-explorer[b-3mtkr149iw] {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e4e9;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.consent-hp-explorer-head[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    font-size: 0.66rem;
    font-weight: 600;
    color: #1f2937;
    background: #f8fafc;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

.consent-hp-search[b-3mtkr149iw] {
    position: relative;
    padding: 5px 6px;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

.consent-hp-search i[b-3mtkr149iw] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #9aa2b0;
}

.consent-hp-search input[b-3mtkr149iw] {
    width: 100%;
    height: 24px;
    padding: 0 6px 0 18px;
    font-size: 0.66rem;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    outline: none;
}

.consent-hp-list[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px;
}

.consent-hp-group[b-3mtkr149iw] {
    margin-bottom: 4px;
}

.consent-hp-group-titulo[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    padding: 4px 4px 2px;
    cursor: pointer;
    user-select: none;
    border-radius: 3px;
}

.consent-hp-group-titulo:hover[b-3mtkr149iw] {
    background: #f1f5f9;
}

.consent-hp-chevron[b-3mtkr149iw] {
    transition: transform 0.15s ease;
    font-size: 0.5rem;
    width: 10px;
    flex-shrink: 0;
    color: #9aa2b0;
}

.consent-hp-group-titulo.open .consent-hp-chevron[b-3mtkr149iw] {
    transform: rotate(90deg);
}

.consent-hp-cat[b-3mtkr149iw] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.consent-hp-count[b-3mtkr149iw] {
    font-size: 0.56rem;
    background: #eef1f5;
    color: #4b5563;
}

.consent-hp-item[b-3mtkr149iw] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    text-align: left;
    border: 1px solid #eef1f4;   /* borde muy sutil de card */
    background: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}

.consent-hp-item:hover[b-3mtkr149iw] {
    background: #eef6fc;
}

.consent-hp-item i[b-3mtkr149iw] {
    color: #0878b8;
    font-size: 0.68rem;
    margin-top: 2px;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
}

.consent-hp-nombre[b-3mtkr149iw] {
    font-size: 0.66rem;
    color: #1f2937;
    line-height: 1.2;
}

.consent-hp-key[b-3mtkr149iw] {
    font-size: 0.58rem;
    color: #0878b8;
    background: #eef6fc;
    border-radius: 3px;
    padding: 0 3px;
}

.consent-hp-empty[b-3mtkr149iw] {
    font-size: 0.64rem;
    color: #9aa2b0;
    padding: 10px 6px;
    text-align: center;
}

.consent-hp-editor[b-3mtkr149iw] {
    flex: 1;
    min-width: 0;
    display: flex;
}
.consent-hp-editor :deep(.comwys)[b-3mtkr149iw] {
    width: 100%;
    min-width: 0;
}
/* El contenteditable ocupa SIEMPRE todo el ancho de su columna: así el diseñador
   del pie se expande igual que el de la cabecera (no se encoge según el contenido). */
.consent-hp-editor :deep(.comwys-editor)[b-3mtkr149iw] {
    width: 100%;
}

/* ── Historial de versiones ── */
.consent-historia-body[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

.consent-historia-timeline[b-3mtkr149iw] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consent-historia-item[b-3mtkr149iw] {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    background: #fff;
}
.consent-historia-item.actual[b-3mtkr149iw] {
    border-color: #a7c7fa;
    background: #f4f8ff;
}

.consent-historia-dot[b-3mtkr149iw] {
    width: 12px;
    height: 12px;
    margin-top: 5px;
    border-radius: 50%;
    background: #d5d9e0;
    flex-shrink: 0;
}
.consent-historia-dot.ultima[b-3mtkr149iw] {
    background: #1a73e8;
}

.consent-historia-contenido[b-3mtkr149iw] {
    flex: 1;
    min-width: 0;
}

.consent-historia-version[b-3mtkr149iw] {
    font-size: 0.85rem;
    color: #1f2937;
}

.consent-historia-meta[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 0.7rem;
    flex-wrap: wrap;
}

.consent-historia-codigo[b-3mtkr149iw] {
    font-size: 0.64rem;
    color: #0878b8;
    background: #eef6fc;
    border-radius: 3px;
    padding: 0 4px;
}

.consent-historia-acciones[b-3mtkr149iw] {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}
/* Botones del Historial: icono + texto bien alineados y centrados (no usan el
   consent-row-btn cuadrado de 28×28 que es solo-ícono y desajusta el texto). */
.consent-historia-btn[b-3mtkr149iw] {
    height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    line-height: 1;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}
.consent-historia-btn i[b-3mtkr149iw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.consent-historia-btn:hover[b-3mtkr149iw] {
    background: #eef6fc;
    border-color: #0878b8;
    color: #0878b8;
}

/* ── Pestaña Comodines ── */
.consent-comodines-body[b-3mtkr149iw] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

.consent-search-row[b-3mtkr149iw] {
    display: flex;
}

.consent-comodines-grid[b-3mtkr149iw] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.consent-comodin-grupo-titulo[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 8px;
    padding: 6px 8px;
    border-bottom: 1px solid #eef0f3;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    transition: background 0.12s;
}
.consent-comodin-grupo-titulo:hover[b-3mtkr149iw] {
    background: #f1f5f9;
}

.consent-comodin-chevron[b-3mtkr149iw] {
    transition: transform 0.15s ease;
    font-size: 0.55rem;
    width: 12px;
    flex-shrink: 0;
    color: #9aa2b0;
}
.consent-comodin-grupo-titulo.open .consent-comodin-chevron[b-3mtkr149iw] {
    transform: rotate(90deg);
}

.consent-comodin-grupo-titulo code[b-3mtkr149iw],
.consent-comodin-grupo-count[b-3mtkr149iw] {
    text-transform: none;
    letter-spacing: 0;
}

.consent-comodin-grupo-count[b-3mtkr149iw] {
    margin-left: auto;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #4b5563;
    background: #eef1f5;
    border-radius: 10px;
}

.consent-comodin-resumen[b-3mtkr149iw] {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

/* Encabezado de la pestaña Comodines: título + buscador + Nuevo en la misma fila. */
.consent-comodines-header[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.consent-comodin-search-icon[b-3mtkr149iw] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.68rem;
    color: #9aa2b0;
}

.consent-comodin-search-input[b-3mtkr149iw] {
    height: 32px;
    width: 240px;
    font-size: 0.82rem;
    padding: 0 26px 0 28px;
    border-radius: 3px;
}

.consent-comodin-search-clear[b-3mtkr149iw] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9aa2b0;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 2px 4px;
}
.consent-comodin-search-clear:hover[b-3mtkr149iw] {
    color: #dc2626;
}

.consent-comodin-grupo-lista[b-3mtkr149iw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 6px;
}

.consent-comodin-fila[b-3mtkr149iw] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #eef0f3;
    border-radius: 4px;
    background: #fff;
}

.consent-comodin-fila:hover[b-3mtkr149iw] {
    border-color: #d5d9e0;
    background: #fafcfe;
}

.consent-comodin-fila-nombre[b-3mtkr149iw] {
    font-size: 0.78rem;
    color: #1f2937;
}

.consent-comodin-fila-key[b-3mtkr149iw] {
    font-size: 0.66rem;
    color: #0878b8;
    background: #eef6fc;
    border-radius: 3px;
    padding: 0 4px;
    align-self: flex-start;
}

.consent-comodin-fila-valor[b-3mtkr149iw] {
    font-size: 0.66rem;
    color: #9aa2b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.consent-row-btn[b-3mtkr149iw],
.consent-row-btn-danger[b-3mtkr149iw] {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    background: #fff;
    color: #374151;
    line-height: 1;
}

.consent-row-btn:hover[b-3mtkr149iw] {
    background: #eef6fc;
    border-color: #0878b8;
    color: #0878b8;
}

.consent-row-btn-danger:hover[b-3mtkr149iw] {
    background: #fdeaea;
    border-color: #f3a6a0;
    color: #b42318;
}

/* ── Toast (patrón inst-toast) ── */
.inst-toast[b-3mtkr149iw] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-left: 4px solid #16A34A;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #1f2937;
    z-index: 2060;
    max-width: 320px;
    animation: consentToastIn-b-3mtkr149iw 0.25s ease;
}

.inst-toast-error[b-3mtkr149iw] {
    border-left-color: #DC2626;
}

.inst-toast-warning[b-3mtkr149iw] {
    border-left-color: #B45309;
}

.inst-toast-hide[b-3mtkr149iw] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes consentToastIn-b-3mtkr149iw {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ── Panel de revisión de importación desde Word (FASE 1 MVP) ── */
.fmt-import-review[b-3mtkr149iw] {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 480px;
    max-width: calc(100% - 28px);
    max-height: calc(100% - 28px);
    background: #fff;
    border: 1px solid #d5d9e0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    z-index: 2060;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.fmt-import-review-header[b-3mtkr149iw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e4e9;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    background: #f6f8fa;
    flex-shrink: 0;
}
.fmt-import-review-body[b-3mtkr149iw] {
    padding: 10px 12px;
    overflow-y: auto;
    min-height: 60px;
}
.fmt-import-review-footer[b-3mtkr149iw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e2e4e9;
    background: #fafbfc;
    flex-shrink: 0;
}
.fmt-import-empty[b-3mtkr149iw] {
    color: #9aa2b0;
    font-size: 0.78rem;
    padding: 14px 0;
    text-align: center;
}
.fmt-import-summary[b-3mtkr149iw] {
    font-size: 0.72rem;
}
.fmt-import-review .table th[b-3mtkr149iw],
.fmt-import-review .table td[b-3mtkr149iw] {
    padding: 4px 6px;
}

/* ░░ Badges unificados: Historial + todo el diseñador (mismo alto/comportamiento, fuente, padding) ░░ */
.badge[b-3mtkr149iw] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px !important;
    font-size: 0.66rem !important;
    font-weight: 500;
    line-height: 1 !important;
    border-radius: 999px;
    white-space: nowrap;
    box-sizing: border-box;
}
/* /Presentation/Components/Pages/Herramientas/Consentimientos/ConsentimientoHtmlEditor.razor.rz.scp.css */
/* Editor WYSIWYG HTML para consentimientos (sv4-122, 3C) */
.comwys[b-lvgdqho5sv] {
    display: flex;
    flex-direction: column;
    width: 100%;                 /* SIEMPRE ocupa todo el ancho de su contenedor */
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 320px;
    height: 100%;
    border: 1px solid #d5d9e0;
    border-radius: 4px;
    background: #fff;
    overflow: visible; /* el menú desplegable de comodines abre hacia abajo: no clipear */
}

.comwys-toolbar[b-lvgdqho5sv] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 1px;
    padding: 4px 6px;
    background: #f6f8fa;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
    border-radius: 3px 3px 0 0;
    /* Fija la barra de iconos al desplazar el contenido del diseñador */
    position: sticky;
    top: 0;
    z-index: 6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.comwys-btn[b-lvgdqho5sv] {
    min-width: 24px;
    height: 26px;
    padding: 0 4px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    font-size: 0.72rem;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.comwys-btn:hover[b-lvgdqho5sv] {
    background: #e9edf2;
    border-color: #d5d9e0;
}

.comwys-btn:disabled[b-lvgdqho5sv] {
    opacity: 0.45;
    cursor: not-allowed;
}

.comwys-sep[b-lvgdqho5sv] {
    width: 1px;
    height: 16px;
    background: #d5d9e0;
    margin: 0 3px;
    flex-shrink: 0;
}

.comwys-dd[b-lvgdqho5sv] {
    position: relative;
}

.comwys-dd-menu[b-lvgdqho5sv] {
    position: absolute;
    z-index: 2090;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d5d9e0;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    padding: 4px;
}

.comwys-dd-cat[b-lvgdqho5sv] {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    padding: 6px 8px 3px;
}

/* Selector de tamaño de tabla (filas/columnas) */
.comwys-tabla-menu[b-lvgdqho5sv] {
    min-width: 180px;
    padding: 8px;
}

.comwys-tabla-row[b-lvgdqho5sv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

.comwys-tabla-label[b-lvgdqho5sv] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
}

.comwys-stepper[b-lvgdqho5sv] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comwys-stepper button[b-lvgdqho5sv] {
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    background: #fff;
    color: #374151;
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
}

.comwys-stepper button:hover[b-lvgdqho5sv] {
    background: #eef6fc;
    border-color: #0878b8;
}

.comwys-stepper span[b-lvgdqho5sv] {
    min-width: 22px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1f2937;
}

.comwys-tabla-insertar[b-lvgdqho5sv] {
    width: 100%;
    margin-top: 8px;
    padding: 6px 10px;
    border: none;
    border-radius: 3px;
    background: #0878b8;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.comwys-tabla-insertar:hover[b-lvgdqho5sv] {
    background: #086aa3;
}

/* Selector de imágenes institucionales */
.comwys-img-menu[b-lvgdqho5sv] {
    width: 260px !important;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px !important;
}

.comwys-img-item[b-lvgdqho5sv] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    padding: 5px 6px;
    border-radius: 3px;
    cursor: pointer;
    text-align: left;
}
.comwys-img-item:hover[b-lvgdqho5sv] {
    background: #eef6fc;
}

.comwys-img-item img[b-lvgdqho5sv] {
    width: 42px;
    height: 28px;
    object-fit: contain;
    border: 1px solid #e2e4e9;
    border-radius: 3px;
    background: #fff;
    flex-shrink: 0;
}

.comwys-img-item i.fa-image[b-lvgdqho5sv] {
    width: 42px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa2b0;
    border: 1px dashed #d5d9e0;
    border-radius: 3px;
    flex-shrink: 0;
}

.comwys-img-nombre[b-lvgdqho5sv] {
    font-size: 0.72rem;
    color: #1f2937;
}

.comwys-dd-empty[b-lvgdqho5sv] {
    font-size: 0.72rem;
    color: #9aa2b0;
    padding: 8px;
}

.comwys-dd-item[b-lvgdqho5sv] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border: none;
    background: transparent;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    text-align: left;
}

.comwys-dd-item:hover[b-lvgdqho5sv] {
    background: #eef6fc;
}

.comwys-dd-item code[b-lvgdqho5sv] {
    font-size: 0.68rem;
    color: #0878b8;
    background: #eef6fc;
    border-radius: 3px;
    padding: 0 4px;
}

.comwys-dd-item span[b-lvgdqho5sv] {
    font-size: 0.72rem;
    color: #4b5563;
}

.comwys-body[b-lvgdqho5sv] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.comwys-editor[b-lvgdqho5sv] {
    flex: 1;
    width: 100%;                 /* ocupa todo el ancho del editor */
    min-height: 260px;
    padding: 12px 14px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #1f2937;
    outline: none;
    overflow-y: auto;
    background: #fff;
    box-sizing: border-box;
}

.comwys-editor:focus[b-lvgdqho5sv] {
    box-shadow: inset 0 0 0 1px rgba(8, 120, 184, 0.35);
}

.comwys-editor p[b-lvgdqho5sv] {
    margin-bottom: 0.5rem;
}

.comwys-source[b-lvgdqho5sv] {
    flex: 1;
    min-height: 260px;
    width: 100%;
    padding: 12px 14px;
    border: none;
    outline: none;
    resize: none;
    font-family: Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #1f2937;
    background: #fbfcfd;
}

.comwys-status[b-lvgdqho5sv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-top: 1px solid #eef0f3;
    background: #fafbfc;
    font-size: 0.68rem;
    color: #6b7280;
    flex-shrink: 0;
    border-radius: 0 0 3px 3px;
}

.comwys-status-hint[b-lvgdqho5sv] {
    display: flex;
    align-items: center;
    color: #0878b8;
}

/* /Presentation/Components/Pages/Herramientas/Consentimientos/ConsentimientosManager.razor.rz.scp.css */
.editor-container[b-khiyh2bycu] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-khiyh2bycu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-khiyh2bycu] {
    font-size: 13px;
}

.editor-header-right[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-khiyh2bycu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-khiyh2bycu],
.editor-title-bar .fw-semibold[b-khiyh2bycu],
.editor-title-bar small[b-khiyh2bycu] {
    color: #1a1d23 !important;
}

/* ── Notificación con fade-out (auto-dismiss 4s) ── */

.notif-fade-out[b-khiyh2bycu] {
    animation: fmtNotifFadeOut-b-khiyh2bycu 0.3s ease forwards;
}

@keyframes fmtNotifFadeOut-b-khiyh2bycu {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

/* ── Toast de acciones (patrón Configuración de Aplicación / Plantillas) ── */

.fmt-header-actions[b-khiyh2bycu] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.inst-toast[b-khiyh2bycu] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-khiyh2bycu] {
    font-size: 0.8rem;
}

.inst-toast-success[b-khiyh2bycu] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-khiyh2bycu] {
    color: #059669;
}

.inst-toast-error[b-khiyh2bycu] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-khiyh2bycu] {
    color: #dc2626;
}

.inst-toast-warning[b-khiyh2bycu] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.inst-toast-warning i[b-khiyh2bycu] {
    color: #d97706;
}

/* ============================================================
   Pestañas de página (patrón FuncionarioManager)
   ============================================================ */

.fmt-page-tabs.nav-tabs[b-khiyh2bycu] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.fmt-page-tabs .nav-item[b-khiyh2bycu] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.fmt-page-tabs .nav-link[b-khiyh2bycu] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.fmt-page-tabs .nav-link:hover[b-khiyh2bycu] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.fmt-page-tabs .nav-link.active[b-khiyh2bycu] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.fmt-page-tabs .nav-link.active[b-khiyh2bycu]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.fmt-page-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-khiyh2bycu]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.fmt-page-tabs .nav-link i[b-khiyh2bycu] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ============================================================
   Split horizontal: tipos de formato (izq) + versiones (der)
   ============================================================ */

.fmt-split-body[b-khiyh2bycu] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Panel izquierdo: Tipos de Formato ── */

.fmt-tipo-panel[b-khiyh2bycu] {
    width: 340px;
    min-width: 340px;
    max-width: 380px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.fmt-tipo-header[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fmt-tipo-header > div i[b-khiyh2bycu] {
    color: #1a73e8;
    font-size: 0.82rem;
}

/* El ícono del botón "Nuevo" va en blanco (no hereda el azul del título) */
.fmt-tipo-header .btn i[b-khiyh2bycu] {
    color: #fff;
}

/* El botón "Nuevo" no debe heredar uppercase / letter-spacing del título */
.fmt-tipo-header .btn[b-khiyh2bycu] {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.fmt-tipo-list[b-khiyh2bycu] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.fmt-tipo-list[b-khiyh2bycu]::-webkit-scrollbar {
    width: 4px;
}

.fmt-tipo-list[b-khiyh2bycu]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.fmt-tipo-item[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.fmt-tipo-item:hover[b-khiyh2bycu] {
    background: #f3f4f6;
}

.fmt-tipo-item.fmt-tipo-active[b-khiyh2bycu] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.fmt-tipo-item > i[b-khiyh2bycu] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.fmt-tipo-item.fmt-tipo-active > i[b-khiyh2bycu] {
    color: #1a73e8;
}

.fmt-tipo-name[b-khiyh2bycu] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fmt-tipo-count-badge[b-khiyh2bycu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.fmt-tipo-item.fmt-tipo-active .fmt-tipo-count-badge[b-khiyh2bycu] {
    background: #d2e3fc;
    color: #1557b0;
}

.fmt-tipo-actions[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: 0.2;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.fmt-tipo-item:hover .fmt-tipo-actions[b-khiyh2bycu] {
    opacity: 1;
}

.fmt-tipo-action-btn[b-khiyh2bycu] {
    background: none;
    border: none;
    padding: 3px 5px;
    font-size: 0.72rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    border-radius: 3px;
    transition: all 0.12s;
}

.fmt-tipo-action-btn:hover[b-khiyh2bycu] {
    background: #e5e7eb;
    color: #1a73e8;
}

.fmt-tipo-footer[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
    font-size: 0.72rem;
    color: #6b7280;
}

.fmt-tipo-footer i[b-khiyh2bycu] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ── Buscadores tipo sidebar (patrón FuncionarioManager) ── */

.fmt-search-wrapper[b-khiyh2bycu] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    flex-shrink: 0;
}

.fmt-search-icon[b-khiyh2bycu] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.fmt-search-input[b-khiyh2bycu] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.fmt-search-input:focus[b-khiyh2bycu] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
    background: #fff;
}

.fmt-search-input[b-khiyh2bycu]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.fmt-search-clear[b-khiyh2bycu] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.fmt-search-clear:hover[b-khiyh2bycu] {
    opacity: 1;
    color: #dc2626;
}

.fmt-search-empty[b-khiyh2bycu] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* ── Panel derecho: Grid de Versiones ── */

.fmt-grid-panel[b-khiyh2bycu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fmt-grid-toolbar[b-khiyh2bycu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 7px 14px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.fmt-grid-wrapper[b-khiyh2bycu] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
}

.fmt-grid-wrapper[b-khiyh2bycu]::-webkit-scrollbar {
    width: 5px;
}

.fmt-grid-wrapper[b-khiyh2bycu]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.fmt-grid-wrapper[b-khiyh2bycu]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.fmt-grid-header[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.fmt-grid-row[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f3f4f6;
    gap: 6px;
    transition: background 0.12s;
    min-height: 40px;
    font-size: 0.8rem;
}

.fmt-grid-row:hover[b-khiyh2bycu] {
    background: #f9fafb;
}

.fmt-col-titulo[b-khiyh2bycu] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fmt-col-codigo[b-khiyh2bycu] {
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.fmt-col-version[b-khiyh2bycu] {
    width: 60px;
    flex-shrink: 0;
    text-align: center;
}

.fmt-col-estado[b-khiyh2bycu] {
    width: 70px;
    flex-shrink: 0;
    text-align: center;
}

.fmt-col-actions[b-khiyh2bycu] {
    width: 170px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.fmt-grid-row:hover .fmt-col-actions[b-khiyh2bycu] {
    opacity: 1;
}

.btn-action[b-khiyh2bycu] {
    background: none;
    border: none;
    padding: 4px 6px;
    font-size: 0.74rem;
    color: #6b7280;
    cursor: pointer;
    border-radius: 3px;
    line-height: 1;
    transition: all 0.12s;
}

.btn-action:hover[b-khiyh2bycu] {
    background: #e5e7eb;
    color: #1a73e8;
}

.btn-action.text-danger:hover[b-khiyh2bycu] {
    background: #fee2e2;
    color: #DC2626;
}

.fmt-badge-tipo[b-khiyh2bycu] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.62rem;
    font-weight: 400;
    flex-shrink: 0;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fmt-grid-footer[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
}

.fmt-grid-footer-count[b-khiyh2bycu] {
    font-size: 0.72rem;
    color: #6b7280;
}

.fmt-grid-footer-count i[b-khiyh2bycu] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ============================================================
   Diseño de versión (Fase 2)
   ============================================================ */

.fmt-diseno-body[b-khiyh2bycu] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    overflow: hidden;
}

.fmt-diseno-toolbar[b-khiyh2bycu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

/* Workspace 3 columnas: comodines | editor | vista previa */
.fmt-diseno-workspace[b-khiyh2bycu] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 380px;
    overflow: hidden;
}

/* ── Columna izquierda: comodines ── */
.fmt-comodin-panel[b-khiyh2bycu] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e2e4e9;
}

.fmt-comodin-header[b-khiyh2bycu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e4e9;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.fmt-search-wrapper[b-khiyh2bycu] {
    position: relative;
    padding: 8px 10px;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

.fmt-search-input[b-khiyh2bycu] {
    width: 100%;
    height: 30px;
    padding: 0 28px 0 28px;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    font-size: 0.78rem;
    outline: none;
}

.fmt-search-input:focus[b-khiyh2bycu] {
    border-color: #0878b8;
    box-shadow: 0 0 0 2px rgba(8, 120, 184, 0.12);
}

.fmt-search-icon[b-khiyh2bycu] {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #9aa2b0;
}

.fmt-search-clear[b-khiyh2bycu] {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 2px 4px;
    font-size: 0.7rem;
}

.fmt-comodin-list[b-khiyh2bycu] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 0;
}

.fmt-search-empty[b-khiyh2bycu] {
    padding: 18px 12px;
    text-align: center;
    color: #9aa2b0;
    font-size: 0.78rem;
}

.fmt-comodin-group[b-khiyh2bycu] {
    margin-bottom: 2px;
}

.fmt-comodin-group-header[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    cursor: pointer;
    user-select: none;
    font-size: 0.76rem;
    font-weight: 600;
    color: #374151;
    background: #f6f8fa;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.fmt-comodin-group-header:hover[b-khiyh2bycu] {
    background: #eef1f5;
}

.fmt-comodin-chevron i[b-khiyh2bycu] {
    font-size: 0.6rem;
    color: #6b7280;
    transition: transform 0.12s ease;
}

.fmt-comodin-group-header.open .fmt-comodin-chevron i[b-khiyh2bycu] {
    transform: rotate(90deg);
}

.fmt-comodin-cat[b-khiyh2bycu] {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fmt-comodin-count[b-khiyh2bycu] {
    background: #e4e7ec;
    color: #4b5563;
    font-size: 0.62rem;
    padding: 2px 6px;
}

.fmt-comodin-group-body[b-khiyh2bycu] {
    padding: 4px 6px;
}

.fmt-comodin-item[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.1s ease;
}

.fmt-comodin-item:hover[b-khiyh2bycu] {
    background: #eef6fc;
}

.fmt-comodin-item > i[b-khiyh2bycu] {
    width: 14px;
    text-align: center;
    font-size: 0.75rem;
    color: #0878b8;
    flex-shrink: 0;
}

.fmt-comodin-nombre[b-khiyh2bycu] {
    font-size: 0.74rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.fmt-comodin-key[b-khiyh2bycu] {
    font-size: 0.62rem;
    color: #0878b8;
    background: #eef6fc;
    border-radius: 3px;
    padding: 1px 5px;
}

/* ── Columna central: editor ── */
.fmt-editor-panel[b-khiyh2bycu] {
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px;
    background: #fff;
    border-right: 1px solid #e2e4e9;
}

.fmt-textarea-contenido[b-khiyh2bycu] {
    resize: vertical;
    min-height: 260px;
}

/* ── Columna derecha: vista previa ── */
.fmt-preview-panel[b-khiyh2bycu] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.fmt-preview-header[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.fmt-preview-stats[b-khiyh2bycu] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
    flex-shrink: 0;
}

.fmt-preview-body[b-khiyh2bycu] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 14px 16px;
    background: #fff;
    font-size: 0.82rem;
    line-height: 1.5;
}

.fmt-preview-body p[b-khiyh2bycu] {
    margin-bottom: 0.5rem;
}

.fmt-comodin-preview-token[b-khiyh2bycu] {
    display: inline-block;
    background: #e7f5ec;
    color: #166534;
    border: 1px solid #9fd8b4;
    border-radius: 3px;
    padding: 0 4px;
    font-family: Consolas, monospace;
    font-size: 0.75em;
    line-height: 1.4;
    vertical-align: baseline;
}

.fmt-comodin-preview-token.unknown[b-khiyh2bycu] {
    background: #fdeaea;
    color: #b42318;
    border-color: #f3a6a0;
}
/* /Presentation/Components/Pages/Herramientas/VisorDicom/VisorDicom.razor.rz.scp.css */
*[b-zstr9jycs1] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.main-viewer-container[b-zstr9jycs1] {
    /* Anclado al .tab-content-area (position:relative de Inicio.razor.css):
       llena todo el alto y ancho reales de la pestaña, ignorando el padding de 20px. */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #1a1a1a;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Modo ventana independiente: cuando el visor se abre como ruta directa
   (/herramientas/visor-dicom) desde una aplicación externa, no existe el
   .tab-content-area de Inicio. Se fija al viewport para que el contenedor
   ocupe el 100% del ancho y alto de la ventana del navegador, cubriendo
   el banner de sede y el padding del layout principal. */
.main-viewer-container.modo-independiente[b-zstr9jycs1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9990;
}

/* Overlay de carga inicial: cubre el visor mientras se descargan y renderizan
   las imágenes recibidas desde una aplicación externa (?url= o ?dcm=). */
.visor-loading-overlay[b-zstr9jycs1] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background-color: rgba(26, 26, 26, 0.94);
    color: #49b0ff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 200;
}

    .visor-loading-overlay .spinner-border[b-zstr9jycs1] {
        width: 3rem;
        height: 3rem;
        border-width: 0.3rem;
    }

.app-body[b-zstr9jycs1] {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative; /* Asegura un contexto de coordenadas base */
}

.brightness-slider-container[b-zstr9jycs1] {
    background-color: #1e293b !important;
    border: 1px solid #49b0ff !important;
    border-radius: 6px;
    z-index: 100;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

    .brightness-slider-container input[type="range"][b-zstr9jycs1] {
        accent-color: #49b0ff;
        height: 6px;
        background: #334155;
        border-radius: 3px;
    }

/* --- BARRA LATERAL IZQUIERDA Y HERRAMIENTAS --- */
.left-sidebar[b-zstr9jycs1] {
    width: 75px;
    min-width: 75px;
    background-color: #83d4ff;
    border-right: 1px solid #0078d4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 12px;
    z-index: 110;
    /* MEJORA: Evita de forma estricta el recorte del panel flotante de historial */
    overflow: visible !important;
    position: relative;
}

/* Target específico a los botones de iconos principales */
.toolbar-container button:not(.btn-sidebar):not(.btn-delete-item):not(.color-bullet):not(.thickness-btn):not(.shape-btn)[b-zstr9jycs1] {
    border: none;
    background-color: #49b0ff;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .toolbar-container button:not(.btn-sidebar):not(.btn-delete-item):not(.color-bullet):not(.thickness-btn):not(.shape-btn):hover[b-zstr9jycs1] {
        background-color: #2da1ff;
        transform: scale(1.02);
    }

/* Botón activo estándar de la barra de herramientas principal */
.toolbar-container .btn-active[b-zstr9jycs1] {
    background-color: #005a9e !important;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.icon-img[b-zstr9jycs1] {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* --- DROP DOWN DEL HISTORIAL --- */
.history-dropdown[b-zstr9jycs1] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.btn-sidebar[b-zstr9jycs1] {
    width: 68px !important;
    height: 34px !important;
    background-color: #0078d4 !important;
    color: white !important;
    font-size: 9px !important;
    font-weight: bold;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.history-panel[b-zstr9jycs1] {
    position: absolute;
    left: 70px;
    top: 0;
    width: 230px;
    max-height: 300px;
    background: #222;
    border: 1px solid #444;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 120;
    overflow-y: auto;
    padding: 8px;
}

.history-item[b-zstr9jycs1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ddd;
    font-size: 11px;
    padding: 6px 4px;
    border-bottom: 1px solid #333;
}

.btn-delete-item[b-zstr9jycs1] {
    background: transparent !important;
    border: none !important;
    color: #ff4d4d !important;
    cursor: pointer !important;
    font-size: 14px !important;
    width: auto !important;
    height: auto !important;
}

/* --- ÁREA DE VISUALIZACIÓN (VIEWPORT) --- */
.content-area[b-zstr9jycs1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #000;
    overflow: hidden;
    position: relative;
}

.viewport-section[b-zstr9jycs1] {
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
    /* CORRECCIÓN: Dejamos que maneje bloques puros para no alterar la grilla médica interna */
    display: block;
}

.grid-visor[b-zstr9jycs1] {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 6px;
    background-color: #111;
    padding: 4px;
}
    .grid-visor.modo-maximizada[b-zstr9jycs1],
    .grid-visor.total-1[b-zstr9jycs1] {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0px !important;
        padding: 0px !important;
    }

    .grid-visor.total-2.modo-cuadricula[b-zstr9jycs1] {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr !important;
    }

    .grid-visor.total-3.modo-cuadricula[b-zstr9jycs1],
    .grid-visor.total-4.modo-cuadricula[b-zstr9jycs1] {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
    }

    .grid-visor.modo-vertical[b-zstr9jycs1] {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }

    .grid-visor.modo-maximizada[b-zstr9jycs1] {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0px !important;
        padding: 0px !important;
    }

/* --- DICOM FRAMES (CUADROS MÉDICOS) --- */
.dicom-frame[b-zstr9jycs1] {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important; /* Mantiene el zoom contenido dentro del cuadro */
    cursor: grab;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.15s ease;
}
    .dicom-frame:active[b-zstr9jycs1] {
        cursor: grabbing; 
    }

    .dicom-frame.frame-oculto[b-zstr9jycs1] {
        display: none !important;
    }

    .dicom-frame.borde-azul[b-zstr9jycs1] {
        border-color: rgba(0, 123, 255, 0.4);
    }

    .dicom-frame.borde-amarillo[b-zstr9jycs1] {
        border-color: rgba(255, 193, 7, 0.4);
    }

    .dicom-frame.borde-verde[b-zstr9jycs1] {
        border-color: rgba(40, 167, 69, 0.4);
    }

    .dicom-frame.borde-rojo[b-zstr9jycs1] {
        border-color: rgba(220, 53, 69, 0.4);
    }

    .dicom-frame:hover[b-zstr9jycs1] {
        filter: brightness(1.05);
    }

    .dicom-frame.cuadro-activo.borde-azul[b-zstr9jycs1] {
        border-color: #007bff !important;
        box-shadow: inset 0 0 12px rgba(0, 123, 255, 0.6), 0 0 10px rgba(0, 123, 255, 0.4);
    }

    .dicom-frame.cuadro-activo.borde-amarillo[b-zstr9jycs1] {
        border-color: #ffc107 !important;
        box-shadow: inset 0 0 12px rgba(255, 193, 7, 0.6), 0 0 10px rgba(255, 193, 7, 0.4);
    }

    .dicom-frame.cuadro-activo.borde-verde[b-zstr9jycs1] {
        border-color: #28a745 !important;
        box-shadow: inset 0 0 12px rgba(40, 167, 69, 0.6), 0 0 10px rgba(40, 167, 69, 0.4);
    }

    .dicom-frame.cuadro-activo.borde-rojo[b-zstr9jycs1] {
        border-color: #dc3545 !important;
        box-shadow: inset 0 0 12px rgba(220, 53, 69, 0.6), 0 0 10px rgba(220, 53, 69, 0.4);
    }

    .dicom-frame.cuadro-activo[b-zstr9jycs1] {
        z-index: 50;
    }

    .dicom-frame.cuadro-maximizado[b-zstr9jycs1] {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        box-shadow: none !important;
    }

/* ESTRUCTURA PROTEGIDA PARA TRANSFORMACIONES */
.img-wrapper[b-zstr9jycs1] {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    background-color: transparent;
}

    .img-wrapper img[b-zstr9jycs1] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        user-select: none;
        -webkit-user-drag: none;
    }

.dicom-frame.modo-anotar-activo[b-zstr9jycs1],
.dicom-frame.modo-anotar-activo .img-wrapper[b-zstr9jycs1],
.dicom-frame.modo-anotar-activo .annotation-canvas[b-zstr9jycs1] {
    cursor: inherit;
}
.dicom-frame .img-wrapper:has(iframe)[b-zstr9jycs1],
.dicom-frame .img-wrapper:has(embed)[b-zstr9jycs1],
.dicom-frame .img-wrapper:has(.pdf-viewer)[b-zstr9jycs1] {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}
.dicom-frame iframe[b-zstr9jycs1],
.dicom-frame embed[b-zstr9jycs1],
.dicom-frame .pdf-viewer[b-zstr9jycs1] {
    width: 100% !important;
    height: 100% !important;
    border: none;
    background-color: #ffffff; 
}
/* Capas absolutas sincronizadas */
.canvas-positiones[b-zstr9jycs1] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annotation-canvas[b-zstr9jycs1] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    pointer-events: auto !important;
}

/* --- PALETA DE ANOTACIONES FLOTANTE --- */
.palette-container-right[b-zstr9jycs1] {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: #addeff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #0078d4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 130;
}

.color-section[b-zstr9jycs1] {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.palette-container-right .color-bullet[b-zstr9jycs1] {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease;
    padding: 0 !important;
}

    .palette-container-right .color-bullet:hover[b-zstr9jycs1] {
        transform: scale(1.2) !important;
    }

.bullet-active[b-zstr9jycs1] {
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.palette-divider[b-zstr9jycs1] {
    width: 1px;
    height: 30px;
    background-color: rgba(0, 120, 212, 0.4);
}

.palette-container-right .shape-btn[b-zstr9jycs1] {
    width: 28px !important;
    height: 28px !important;
    background: #ffffff !important;
    border: 1px solid #999 !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.1s ease;
}

    .palette-container-right .shape-btn:hover[b-zstr9jycs1] {
        background: #e1f0fa !important;
        border-color: #0078d4 !important;
    }

    .palette-container-right .shape-btn.btn-active[b-zstr9jycs1] {
        background: #0078d4 !important;
        color: white !important;
        border-color: #004b87 !important;
        box-shadow: none !important;
    }

.thickness-section[b-zstr9jycs1] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 60px;
}

.palette-container-right .thickness-btn[b-zstr9jycs1] {
    background: #ffffff !important;
    border: 1px solid #999 !important;
    width: 100% !important;
    height: 15px !important;
    border-radius: 3px !important;
    padding: 0 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
}

    .palette-container-right .thickness-btn:hover[b-zstr9jycs1] {
        background: #e1f0fa !important;
        border-color: #0078d4 !important;
    }

.thickness-active[b-zstr9jycs1] {
    background: #0078d4 !important;
    border-color: #004b87 !important;
}

.line-preview[b-zstr9jycs1] {
    display: block;
    width: 100%;
    background-color: #000000;
    border-radius: 1px;
}

.thickness-active .line-preview[b-zstr9jycs1] {
    background-color: #ffffff !important;
}

/* --- CAROUSEL DE MINIATURAS (INFERIOR) --- */
.thumbnail-carousel[b-zstr9jycs1] {
    height: 110px;
    min-height: 110px;
    background-color: #e5eef5;
    border-top: 1px solid #ccc;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thumbnail-list[b-zstr9jycs1] {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    align-items: center;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .thumbnail-list[b-zstr9jycs1]::-webkit-scrollbar {
        display: none;
    }

.thumb[b-zstr9jycs1] {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: #000;
    border: 2px solid transparent;
    border-radius: 4px;
}

    .thumb.active[b-zstr9jycs1] {
        border-color: #007bff;
    }

.thumb-add[b-zstr9jycs1] {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background-color: #1a2a3a;
    border: 2px dashed #49b0ff;
    border-radius: 4px;
    color: white;
    transition: background-color 0.2s;
}

    .thumb-add:hover[b-zstr9jycs1] {
        background-color: #243b54;
    }

/* --- MISCELÁNEOS --- */
.btn-remove-img[b-zstr9jycs1] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.85);
    color: white;
    border: none;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    font-size: 14px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state[b-zstr9jycs1] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    height: 100%;
    width: 100%;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/Comunes/DialogoHost.razor.rz.scp.css */
/* CSS for DialogoHost component */
.dlg-overlay[b-d678lra4x1] {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dlg-card[b-d678lra4x1] {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .28);
}

.dlg-icono[b-d678lra4x1] {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: .4rem;
}

  .dlg-icono.ok[b-d678lra4x1] {
    color: #198754;
  }

  .dlg-icono.err[b-d678lra4x1] {
    color: #dc3545;
  }

  .dlg-icono.pregunta[b-d678lra4x1] {
    color: #0d6efd;
  }

  .dlg-icono.info[b-d678lra4x1] {
    color: #0dcaf0;
  }

.dlg-titulo[b-d678lra4x1] {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .35rem;
}

.dlg-msg[b-d678lra4x1] {
  color: #555;
  font-size: .95rem;
  margin-bottom: 1.1rem;
  white-space: pre-line;
  max-height: 55vh;
  overflow-y: auto;
}

/* Listas (validaciones fallidas): la tarjeta centra el texto y eso arruina la lectura. */
.dlg-msg-lista[b-d678lra4x1] {
  text-align: left;
}

.dlg-input[b-d678lra4x1] {
  width: 100%;
  height: 38px;
  padding: 0 .75rem;
  margin-bottom: 1.1rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: .95rem;
}

  .dlg-input:focus[b-d678lra4x1] {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
  }

.dlg-acciones[b-d678lra4x1] {
  display: flex;
  gap: .6rem;
  justify-content: center;
}

.dlg-btn:disabled[b-d678lra4x1] {
  opacity: .55;
  cursor: not-allowed;
}

.dlg-btn[b-d678lra4x1] {
  min-width: 120px;
  height: 40px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.dlg-aceptar[b-d678lra4x1] {
  background: #0d6efd;
  color: #fff;
}

.dlg-cancelar[b-d678lra4x1] {
  background: #e9ecef;
  color: #333;
}

.dlg-btn:hover[b-d678lra4x1] {
  filter: brightness(1.05);
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/Documento/DocumentoHistoriaVista.razor.rz.scp.css */
/* Mismo estilo que HistoriaClinicaPdfGenerator: escala de un solo color (azul), del más fuerte
   al más claro; los títulos de documento (banda y títulos de formato) van en gris como la banda
   de PdfC. Las medidas van en pt para que la hoja se parezca a la carta del PDF (612 pt de ancho). */

.dhv[b-1sqq3eeky0] {
    --gris-banda: #E6E6E6;  /* banda del título del documento y títulos de formato */
    --gris-titulo: #333333; /* texto sobre la banda gris */
    --azul-500: #3182CE;   /* el azul más fuerte: cabecera y borde de tarjeta, etiquetas, subcabeceras */
    --azul-400: #4299E1;   /* cabecera de tabla */
    --azul-300: #63B3ED;   /* borde de sub-cabecera */
    --azul-100: #BEE3F8;   /* fondo de sub-cabecera, viñeta, bordes y divisores */
    --azul-50: #EBF8FF;    /* fondo de sub-cabecera ITAN */
    --texto: #1A202C;
    --texto-tenue: #718096;
    --fila-alterna: #F7FAFC;
    --radio: 6pt;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14pt;
    padding: 14pt 0;
    color: var(--texto);
    font-size: 9pt;
    line-height: 1.25;
}

/* ═══ Hoja ═══ */

.dhv-hoja[b-1sqq3eeky0] {
    box-sizing: border-box;
    width: 612pt;
    max-width: 100%;
    min-height: 792pt;
    display: flex;
    flex-direction: column;
    padding: 12pt 15pt 12pt 20pt;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

/* ═══ Encabezado (PdfC.EncabezadoPiePaginaPDFNuevo) ═══ */

.dhv-encabezado[b-1sqq3eeky0] {
    display: flex;
    align-items: flex-start;
    gap: 6pt;
    padding-left: 10pt;
}

.dhv-logo[b-1sqq3eeky0] {
    flex: 0 0 120pt;
    height: 50pt;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dhv-logo img[b-1sqq3eeky0] {
        max-width: 120pt;
        max-height: 50pt;
    }

.dhv-prestador[b-1sqq3eeky0] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 7pt;
}

.dhv-prestador-nombre[b-1sqq3eeky0] {
    font-size: 14pt;
    font-weight: 700;
}

.dhv-prestador-direccion[b-1sqq3eeky0] {
    font-size: 6pt;
}

.dhv-ingreso[b-1sqq3eeky0] {
    flex: 0 0 135pt;
    margin-top: 17pt;
    border-collapse: collapse;
    font-size: 8pt;
}

    .dhv-ingreso th[b-1sqq3eeky0] {
        width: 62pt;
        font-size: 7pt;
        font-weight: 700;
        text-align: left;
        white-space: nowrap;
        vertical-align: top;
    }

/* Banda gris: título del documento y título de cada formato (.report-header), con el mismo
   estilo. Sin alto fijo para que un título largo baje de renglón dentro de la banda. */
.dhv-banda[b-1sqq3eeky0],
.dhv-titulo-reporte[b-1sqq3eeky0] {
    padding: 3pt 8pt;
    text-align: center;
    font-size: 11pt;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gris-titulo);
    background: var(--gris-banda);
}

.dhv-banda[b-1sqq3eeky0] {
    margin-top: 6pt;
}

/* ═══ Cuerpo ═══ */

.dhv-cuerpo[b-1sqq3eeky0] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10pt;
    padding-top: 6pt;
}

.dhv-paciente[b-1sqq3eeky0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 9pt;
}

    .dhv-paciente th[b-1sqq3eeky0] {
        font-weight: 700;
        text-align: left;
        padding: 1pt 0;
        white-space: nowrap;
        vertical-align: top;
    }

    .dhv-paciente td[b-1sqq3eeky0] {
        padding: 1pt 6pt 1pt 0;
        vertical-align: top;
    }

.dhv-sin-historia[b-1sqq3eeky0] {
    padding-top: 30pt;
    text-align: center;
}

.dhv-sin-historia-titulo[b-1sqq3eeky0] {
    font-size: 13pt;
    font-weight: 700;
}

.dhv-sin-historia-texto[b-1sqq3eeky0] {
    max-width: 340pt;
    margin: 6pt auto 0;
    color: var(--texto-tenue);
}

/* ═══ Tarjeta (.section-card) ═══ */

.dhv-tarjeta[b-1sqq3eeky0] {
    border: 0.7pt solid var(--azul-500);
    border-left-width: 4pt;
    border-radius: var(--radio);
    background: #fff;
    overflow: hidden;
    break-inside: avoid;
}

.dhv-tarjeta-cabecera[b-1sqq3eeky0] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8pt;
    padding: 6pt 12pt;
    background: var(--azul-500);
    color: #fff;
}

.dhv-tarjeta-titulo[b-1sqq3eeky0] {
    font-size: 10.5pt;
    font-weight: 600;
}

.dhv-vineta[b-1sqq3eeky0] {
    font-size: 8pt;
    color: var(--azul-100);
    margin-right: 4pt;
}

.dhv-tarjeta-nota[b-1sqq3eeky0] {
    font-size: 8pt;
    color: var(--azul-100);
    white-space: nowrap;
}

.dhv-tarjeta-cuerpo[b-1sqq3eeky0] {
    padding: 8pt 12pt;
}

/* Recuadro simple (pie del profesional) */
.dhv-recuadro[b-1sqq3eeky0] {
    padding: 10pt;
    border: 0.7pt solid var(--azul-100);
    border-radius: var(--radio);
    background: #fff;
}

.dhv-texto-centrado[b-1sqq3eeky0] {
    text-align: center;
    font-size: 8.5pt;
    color: var(--texto-tenue);
}

/* Separación entre bloques que no son el primero de su contenedor (6 pt en el PDF) */
.dhv-separado[b-1sqq3eeky0] { margin-top: 6pt; }
.dhv-separado-8[b-1sqq3eeky0] { margin-top: 8pt; }

/* ═══ .field-row ═══ */

.dhv-fila[b-1sqq3eeky0] {
    display: flex;
    align-items: flex-start;
    padding: 4pt 0;
    background: #fff;
}

    .dhv-fila + .dhv-fila[b-1sqq3eeky0] {
        border-top: 0.5pt solid var(--azul-100);
    }

.dhv-fila--alterna[b-1sqq3eeky0] {
    background: var(--fila-alterna);
}

.dhv-fila-etiqueta[b-1sqq3eeky0] {
    flex: 0 0 125pt;
    padding-right: 8pt;
    font-weight: 600;
    color: var(--azul-500);
}

.dhv-fila-valor[b-1sqq3eeky0] {
    flex: 1 1 auto;
    min-width: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* "Clave: valor" en línea (.antecedent-fields) */
.dhv-par[b-1sqq3eeky0] {
    margin-right: 12pt;
}

    .dhv-par b[b-1sqq3eeky0] {
        font-weight: 600;
        color: var(--azul-500);
    }

/* ═══ .patient-grid / .vitals-grid ═══ */

.dhv-cuadricula[b-1sqq3eeky0] {
    display: grid;
}

.dhv-celda[b-1sqq3eeky0] {
    padding: 4pt 10pt 4pt 0;
    border-bottom: 0.5pt solid var(--azul-100);
}

.dhv-celda-etiqueta[b-1sqq3eeky0] {
    font-size: var(--dhv-etq, 7pt);
    font-weight: 600;
    color: var(--azul-500);
}

.dhv-celda-valor[b-1sqq3eeky0] {
    font-size: var(--dhv-val, 9pt);
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* ═══ .nested-table ═══ */

.dhv-tabla[b-1sqq3eeky0] {
    width: 100%;
    border: 0.7pt solid var(--azul-100);
    border-collapse: collapse;
    font-size: 8.5pt;
    /* Los anchos del colgroup son los del PDF; con auto el navegador los ajusta si una palabra no cabe. */
    table-layout: auto;
}

    .dhv-tabla th[b-1sqq3eeky0] {
        padding: 5pt 6pt;
        text-align: left;
        font-size: 8.5pt;
        font-weight: 600;
        color: #fff;
        background: var(--azul-400);
    }

    .dhv-tabla td[b-1sqq3eeky0] {
        padding: 4pt 6pt;
        border-bottom: 0.5pt solid var(--azul-100);
        vertical-align: top;
        overflow-wrap: break-word;
        white-space: pre-wrap;
    }

    .dhv-tabla tbody tr:nth-child(even) td[b-1sqq3eeky0] {
        background: var(--fila-alterna);
    }

.dhv-tabla--densa th[b-1sqq3eeky0] {
    font-size: 7pt;
}

/* ═══ Sub-cabeceras de antecedentes ═══ */

.dhv-subcabecera[b-1sqq3eeky0] {
    padding: 4pt 10pt;
    border-left: 3pt solid var(--azul-300);
    background: var(--azul-100);
    font-size: 9pt;
    font-weight: 700;
    color: var(--azul-500);
}

.dhv-subcabecera-itan[b-1sqq3eeky0] {
    margin-top: 4pt;
    padding: 3pt 14pt;
    border-left: 3pt solid var(--azul-100);
    background: var(--azul-50);
    font-size: 8pt;
    font-weight: 600;
    color: var(--azul-500);
}

.dhv-grupo-cuerpo[b-1sqq3eeky0] {
    padding-top: 3pt;
}

.dhv-aviso[b-1sqq3eeky0] {
    padding: 6pt;
    font-size: 8pt;
    font-style: italic;
    color: var(--texto-tenue);
}

/* ═══ Firmas (.signature-area) ═══ */

.dhv-firmas[b-1sqq3eeky0] {
    display: flex;
    gap: 40pt;
    padding-top: 6pt;
}

.dhv-firma[b-1sqq3eeky0] {
    flex: 1 1 0;
    text-align: center;
}

.dhv-firma-imagen[b-1sqq3eeky0] {
    width: 180pt;
    height: 60pt;
    margin: 0 auto;
    padding-bottom: 3pt;
    border-bottom: 0.7pt solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dhv-firma-imagen img[b-1sqq3eeky0] {
        max-width: 100%;
        max-height: 100%;
    }

.dhv-firma-vacia[b-1sqq3eeky0] {
    padding: 14pt 0;
    font-style: italic;
    color: #999;
}

.dhv-firma-datos[b-1sqq3eeky0] {
    padding-top: 4pt;
    font-size: 7.5pt;
    color: #555;
}

.dhv-firma-etiqueta[b-1sqq3eeky0] {
    color: var(--texto-tenue);
}

/* ═══ Pie ═══ */

.dhv-pie[b-1sqq3eeky0] {
    display: flex;
    align-items: flex-end;
    gap: 15pt;
    padding-top: 12pt;
    font-size: 8pt;
}

.dhv-pie-logo[b-1sqq3eeky0] {
    flex: 0 0 40pt;
}

    .dhv-pie-logo img[b-1sqq3eeky0] {
        height: 15pt;
    }

.dhv-pie-texto[b-1sqq3eeky0] {
    flex: 1 1 auto;
}

.dhv-pie-pagina[b-1sqq3eeky0] {
    flex: 0 0 90pt;
    text-align: right;
}

/* ═══ Impresión desde el navegador: una hoja por página ═══ */

@media print {
    .dhv[b-1sqq3eeky0] {
        gap: 0;
        padding: 0;
    }

    .dhv-hoja[b-1sqq3eeky0] {
        width: auto;
        min-height: 0;
        box-shadow: none;
        page-break-after: always;
    }
}

/* Línea destacada del certificado de incapacidad ("CERTIFICADO DE INCAPACIDAD"). */
.dhv-banner[b-1sqq3eeky0] {
    margin-top: 6px;
    padding: 5px 0;
    text-align: center;
    font-weight: 700;
    color: #3182CE;
    background: #EBF8FF;
    border-top: 1px solid #63B3ED;
    border-bottom: 1px solid #63B3ED;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/Documento/FormatosChecklist.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones (margin-top, padding y
   border-radius con !important), igual que en las modales del Formato General. */
.btn[b-gboz9flem0] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-gboz9flem0] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}

.fc[b-gboz9flem0] {
    flex: 0 0 270px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.fc-titulo[b-gboz9flem0] {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: #495057;
    background: #f6f8fb;
    border-bottom: 1px solid #e5e7eb;
}

.fc-mensaje[b-gboz9flem0] {
    padding: 0.9rem 0.75rem;
    font-size: 0.84rem;
}

.fc-acciones[b-gboz9flem0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem 0;
    font-size: 0.8rem;
}

.fc-lista[b-gboz9flem0] {
    flex: 1 1 auto;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0.4rem;
}

.fc-item[b-gboz9flem0] {
    border-radius: 7px;
    border: 1px solid transparent;
    margin-bottom: 0.25rem;
}

    .fc-item:hover[b-gboz9flem0] {
        background: #f6f8fb;
    }

.fc-item--activo[b-gboz9flem0] {
    background: #eef5ff;
    border-color: #cfe0fb;
}

.fc-item label[b-gboz9flem0] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.45rem 0.5rem;
    cursor: pointer;
}

.fc-item-texto[b-gboz9flem0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fc-item-titulo[b-gboz9flem0] {
    font-size: 0.79rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
}

.fc-item-detalle[b-gboz9flem0] {
    font-size: 0.7rem;
    color: #8a9099;
}

.fc-pie[b-gboz9flem0] {
    padding: 0.6rem;
    border-top: 1px solid #e5e7eb;
    background: #fbfcfe;
}

@media (max-width: 900px) {
    .fc[b-gboz9flem0] {
        flex: 0 0 auto;
        max-height: 40vh;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modales/AyudaColoresModal.razor.rz.scp.css */
/* Colores de la leyenda "Ayuda de colores" del módulo Extramural.
   Replican los estados de color de las filas de la grilla de medicamentos
   (el CSS de la grilla está en Modulos/ModuloExtramural.razor.css).
   El texto va en blanco sobre los dos fondos oscuros y negro en el resto, igual que el legado
   (ConvColor(), FormatosHistoria.aspx:3546-3548).
   Los tonos se declaran una sola vez en el :root del final de wwwroot/css/Site.css, para que
   leyenda y grilla no puedan desincronizarse. */

.medicamento-activo[b-u8j0mjb9fn] {
    background-color: var(--extramural-fila-activo); /* Lila: medicamento activo en el tratamiento. */
}

.medicamento-suspendido[b-u8j0mjb9fn] {
    background-color: var(--extramural-fila-suspendido); /* Rojo: medicamento suspendido en el tratamiento. */
    color: #fff;
}

.medicamento-editado[b-u8j0mjb9fn] {
    background-color: var(--extramural-fila-editado); /* Verde: medicamento editado por el médico. */
    color: #fff;
}

.medicamento-mezcla[b-u8j0mjb9fn] {
    background-color: var(--extramural-fila-agrupado); /* Verde claro: medicamentos agrupados para mezcla. */
}

.medicamento-nuevo[b-u8j0mjb9fn] {
    background-color: var(--extramural-fila-nuevo); /* Azul (como el legado): color de las filas de la grilla extramural. */
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modales/MedicamentoAlergicoBusquedaModal.razor.rz.scp.css */
/* Ensancha solo este modal (la tabla de resultados tiene nombres y descripciones
   largas). Sobrescribe, vía CSS aislado del componente, el max-width global de
   .search-result-popup (500px). */
.search-result-popup[b-a3omilmcsi] {
    max-width: 900px;
}

/* Altura mínima del cuerpo para que el modal no "salte" cuando llegan los resultados. */
.search-result-popup .popup-body[b-a3omilmcsi] {
    min-height: 16rem;
}

/* Botón del pie normalizado (las reglas globales de Site.css meten paddings/margins
   que lo descuadran respecto al texto de ayuda). */
.search-result-popup .popup-footer .btn[b-a3omilmcsi] {
    margin: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    min-width: 110px;
    border-radius: 0.375rem !important;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modales/MedicamentoBusquedaModal.razor.rz.scp.css */
/* Ensancha solo el modal de resultados de medicamentos (la tarjeta replica la
   ventana "Coincidencia de medicamentos" del legado, de 1000px). Sobrescribe, vía
   CSS aislado del componente, el max-width global de .search-result-popup (500px). */
.search-result-popup[b-zva7g9xej2] {
    max-width: 1000px;
}

/* El scroll vertical de los resultados lo hace el cuerpo del popup: la variante
   global .plantillas-popup (Site.css) ya fija encabezado y pie y deja .popup-body con
   overflow-y:auto. No poner aquí un segundo tope con overflow a .tabla-resultados:
   cuando el encabezado + pie superan el margen reservado, el cuerpo también desborda
   y aparecen dos barras de scroll anidadas. */

/* Encabezado de la tabla fijo durante el scroll (como la grilla del legado). El
   contenedor de scroll es .popup-body, por eso "top" se calcula contra su borde. */
.tabla-resultados thead th[b-zva7g9xej2] {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Recuadro de existencia en inventario, con los tonos del legado: verde si hay
   existencia, rojo si no (RenderPrincipioActivo, FormatosHistoria.aspx:1800). */
.caja-existencia[b-zva7g9xej2] {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.caja-existencia.con-existencia[b-zva7g9xej2] {
    background-color: #BDFC93;
}

.caja-existencia.sin-existencia[b-zva7g9xej2] {
    background-color: #FC9394;
}

/* Resalte de la franja de principios activos, mismo tono del legado (#ECF9FF). */
.principio-activo[b-zva7g9xej2] {
    background-color: #ECF9FF;
}

/* Normaliza ambos botones del pie a la misma altura. La regla global .btn-primary
   de Site.css (padding 10px 20px, margin-top 20px, border-radius 8px) descuadra el
   botón "Seleccionar" respecto a "Cancelar". El selector incluye .search-result-popup
   para superar en especificidad a esa regla global. */
.search-result-popup .popup-footer .btn[b-zva7g9xej2] {
    margin: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    min-width: 110px;
    border-radius: 0.375rem !important;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modales/MisPlantillasExtramuralModal.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones dentro del modal.
   La regla global ".btn-primary" (Site.css) aplica margin-top:20px, padding:10px 20px
   y border-radius:8px !important, lo que agranda y desalinea el botón azul respecto a
   los demás. El atributo del CSS aislado ([b-xxx]) ya sube la especificidad por encima
   de esa regla global, así que basta con re-normalizar aquí. */
.btn[b-09h53v9v1s] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-09h53v9v1s] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modales/MisPlantillasIntramuralModal.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones dentro del modal.
   La regla global ".btn-primary" (Site.css) aplica margin-top:20px, padding:10px 20px
   y border-radius:8px !important, lo que agranda y desalinea el botón azul respecto a
   los demás. El atributo del CSS aislado ([b-xxx]) ya sube la especificidad por encima
   de esa regla global, así que basta con re-normalizar aquí. Mismo arreglo que en
   MisPlantillasExtramuralModal. */
.btn[b-7edv7eruj9] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-7edv7eruj9] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modales/MisPlantillasOrdenesModal.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones dentro del modal.
   La regla global ".btn-primary" (Site.css) aplica margin-top:20px, padding:10px 20px
   y border-radius:8px !important, lo que agranda y desalinea el botón azul respecto a
   los demás. El atributo del CSS aislado ([b-xxx]) ya sube la especificidad por encima
   de esa regla global, así que basta con re-normalizar aquí.
   Espejo de MisPlantillasExtramuralModal.razor.css para que los botones de esta modal
   (Imágenes, Laboratorios, Remisiones, Solicitud de Procedimientos y de Dispositivos)
   se vean idénticos a los del módulo Extramural. */
.btn[b-wmj56qhfyb] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-wmj56qhfyb] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modulos/ModuloExtramural.razor.rz.scp.css */
/* Empareja Aceptar/Agregar con Cancelar en la fila de captura: la regla global .btn-primary
   de Site.css (padding 10px 20px + margin-top 20px) anula btn-sm y dejaba "Aceptar" más
   grande y desplazado hacia abajo respecto de "Cancelar" (btn-danger, sin esa regla).
   Misma protección para las pestañas de fórmulas (usan btn-primary en la activa).
   Sin ::deep a propósito: ambos contenedores solo llevan botones de esta vista. */
.extramural-formulas-tabs .btn[b-agp9vs4ji3],
.extramural-form-acciones .btn[b-agp9vs4ji3] {
    margin: 0;
    padding: .25rem .6rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: .375rem !important;
    vertical-align: middle;
}

/* Compactar las tablas del módulo: la fila de captura debe caber sin desbordar la vista.
   Si aun así falta ancho (grilla de 18 columnas con textos largos), el scroll horizontal
   queda dentro de cada .table-responsive con barra delgada visible.

   ::deep es OBLIGATORIO aquí: MedicamentoBusquedaModal se instancia DENTRO de
   .modulo-extramural, así que su tabla ("Medicamentos encontrados") hereda hoy este tamaño de
   letra. Sin ::deep el CSS aislado no alcanzaría el marcado del hijo y el modal cambiaría de
   aspecto. Mismo motivo en .table-responsive: se conserva el alcance a descendientes. */
.modulo-extramural[b-agp9vs4ji3]  .table {
    font-size: .8rem;
}

.modulo-extramural[b-agp9vs4ji3]  .table-responsive {
    scrollbar-width: thin;
}

/* Menú contextual de la grilla de medicamentos (posicionado en el punto del clic derecho) */
.extramural-menu-overlay[b-agp9vs4ji3] {
    position: fixed;
    inset: 0;
    z-index: 1070;
}

.extramural-menu[b-agp9vs4ji3] {
    position: fixed;
    z-index: 1071;
    min-width: 11rem;
    padding: .25rem 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.extramural-menu .dropdown-item[b-agp9vs4ji3] {
    font-size: .85rem;
    padding: .3rem .9rem;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/FormatoGeneral/Modulos/ModuloIntramural.razor.rz.scp.css */
/* ═══ Módulo Intramural ═══════════════════════════════════════════════════════════════
   La grilla es de TARJETAS: cada medicamento es un <tbody> de 2-3 filas dentro de la MISMA
   tabla que la cabecera, así que el <colgroup> alinea ambas por construcción. El legado usa
   dos tablas independientes (una de 1430px para la cabecera y otra de 1380px para las filas,
   con porcentajes que suman 101), y por eso allí las columnas van corridas ~10-14px.

   Los tonos de estado se declaran una sola vez en el :root del final de wwwroot/css/Site.css,
   para que grilla y leyenda no puedan desincronizarse. */

/* ── Colores de estado de la tarjeta ──────────────────────────────────────────────────
   Se fija --bs-table-bg en el <tbody> en vez de background-color porque Bootstrap pinta el
   fondo en las CELDAS a partir de esa variable: un background-color sobre el contenedor
   quedaría tapado por los <td>. Es el mismo mecanismo de las clases .table-* de Bootstrap. */

.FilaMedicamentoActivoIntramural[b-z6x5quzmv8] {
    --bs-table-bg: var(--medicamento-fila-activo); /* Lila: activo en el tratamiento. */
    --intramural-acento: #7b4fa8;
}

.FilaMedicamentoSuspendidoIntramural[b-z6x5quzmv8] {
    --bs-table-bg: var(--medicamento-fila-suspendido); /* Rojo: suspendido en el tratamiento. */
    --bs-table-color: #fff;
    --intramural-acento: #7d1a19;
}

.FilaMedicamentoEditadoIntramural[b-z6x5quzmv8] {
    --bs-table-bg: var(--medicamento-fila-editado); /* Verde: editado durante el tratamiento. */
    --bs-table-color: #fff;
    --intramural-acento: #00551c;
}

.FilaMedicamentoAgrupadoIntramural[b-z6x5quzmv8] {
    --bs-table-bg: var(--medicamento-fila-agrupado); /* Verde claro: agrupados para mezcla. */
    --intramural-acento: #3f7a2c;
}

.FilaMedicamentoNuevoIntramural[b-z6x5quzmv8] {
    --bs-table-bg: var(--medicamento-fila-nuevo); /* Azul: fila para medicamento nuevo. */
    --intramural-acento: #2a6b8a;
}

/* ── Estructura de la tarjeta ─────────────────────────────────────────────────────────
   El <tbody> es la unidad visual: se separa del siguiente y lleva a la izquierda la barra de
   color que en el legado dibuja el panel lateral de 50px (.fm-side). */

.intramural-grilla tbody.intramural-card[b-z6x5quzmv8] {
    border-bottom: 3px solid #fff;
}

.intramural-grilla tbody.intramural-card td[b-z6x5quzmv8] {
    border-top: 0;
    border-bottom: 0;
    vertical-align: top;
}

/* Barra vertical de color: reemplaza al panel lateral absoluto del legado sin sacar la
   primera columna de la tabla, que es lo que allí rompía la alineación. */
.intramural-grilla tbody.intramural-card td:first-child[b-z6x5quzmv8] {
    border-left: 5px solid var(--intramural-acento, #adb5bd);
}

.intramural-grilla .intramural-card-datos td[b-z6x5quzmv8] {
    padding-top: .45rem;
    font-weight: 500;
}

.intramural-grilla .intramural-nombre[b-z6x5quzmv8] {
    font-weight: 600;
    line-height: 1.3;
}

/* Etiqueta del estado ("Activo", "Suspendido"…): el texto que el legado pone de canto en el
   panel lateral. Aquí va como badge sobre el nombre, que se lee mejor y no ocupa una columna. */
.intramural-estado-badge[b-z6x5quzmv8] {
    display: block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: .1rem;
}

.intramural-grilla .intramural-card-detalle td[b-z6x5quzmv8] {
    padding-bottom: .45rem;
    font-size: .78rem;
    line-height: 1.45;
}

.intramural-label[b-z6x5quzmv8] {
    font-weight: 700;
}

/* La observación de un medicamento suspendido se resalta, como en el legado
   (.fm-observacion-suspendida). El color se hereda del estado, así que basta con la negrita. */
.intramural-observacion-suspendida[b-z6x5quzmv8] {
    font-weight: 700;
    text-decoration: underline;
}

/* Pie de la tarjeta: principios activos. */
.intramural-grilla .intramural-card-footer td[b-z6x5quzmv8] {
    padding-top: 0;
    padding-bottom: .5rem;
    font-size: .72rem;
    opacity: .85;
}

.intramural-footer-item[b-z6x5quzmv8] {
    display: inline-block;
    margin-right: .6rem;
    white-space: nowrap;
}

/* ── Etiquetas del medicamento en curso ───────────────────────────────────────────────
   Los tres Labels rojos en negrita que el legado pone junto al buscador
   (LabelMedicamento / LabelConcentracion / LabelFormaFarmaceutica, Cls="red-note"). */
.intramural-etiquetas[b-z6x5quzmv8] {
    max-width: 42rem;
}

.intramural-etiqueta[b-z6x5quzmv8] {
    color: #c0392b;
    font-weight: 700;
    font-size: .8rem;
}

/* ── Compactado de las tablas del módulo ──────────────────────────────────────────────
   La fila de captura debe caber sin desbordar la vista; si falta ancho, el scroll horizontal
   queda dentro de cada .table-responsive con barra delgada.

   ::deep es OBLIGATORIO: MedicamentoBusquedaModal se instancia DENTRO de .modulo-intramural,
   así que su tabla hereda este tamaño de letra igual que en Extramural. Sin ::deep el CSS
   aislado no alcanzaría el marcado del hijo. */
.modulo-intramural[b-z6x5quzmv8]  .table {
    font-size: .8rem;
}

.modulo-intramural[b-z6x5quzmv8]  .table-responsive {
    scrollbar-width: thin;
}

/* Empareja Aceptar/Agregar con Cancelar en la fila de captura: la regla global .btn-primary
   de Site.css (padding 10px 20px + margin-top 20px) anula btn-sm y dejaba "Aceptar" más
   grande y desplazado hacia abajo respecto de "Cancelar". Mismo arreglo que en Extramural. */
.intramural-form-acciones .btn[b-z6x5quzmv8] {
    margin: 0;
    padding: .25rem .6rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: .375rem !important;
    vertical-align: middle;
}

/* ── Menú contextual de la grilla ─────────────────────────────────────────────────────
   Posicionado en el punto del clic derecho (réplica de MenuFormulacionMedica). */
.intramural-menu-overlay[b-z6x5quzmv8] {
    position: fixed;
    inset: 0;
    z-index: 1070;
}

.intramural-menu[b-z6x5quzmv8] {
    position: fixed;
    z-index: 1071;
    min-width: 20rem;
    padding: .25rem 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.intramural-menu .dropdown-item[b-z6x5quzmv8] {
    font-size: .85rem;
    padding: .3rem .9rem;
}

/* Encabezado del menú con el medicamento sobre el que se hizo clic (LabelMedicamentoMenu). */
.intramural-menu-titulo[b-z6x5quzmv8] {
    padding: .35rem .9rem;
    font-size: .8rem;
    font-weight: 700;
    color: #495057;
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/Usuario/RiesgoCardiovascular.razor.rz.scp.css */
/* Separador entre la grilla de Framingham (izquierda) y el histórico (derecha).
   Bootstrap no trae variantes responsive de borde, y la orientación de la línea depende del
   layout: apiladas (bajo xl) la división es horizontal y arriba; en dos columnas es vertical
   y al costado. El gutter g-3 de la fila deja el aire a lado y lado de la línea. */
.col-historico[b-nnm1aj07a9] {
  border-top: 1px solid #dee2e6;
  padding-top: .75rem;
}

@media (min-width: 1200px) {
  .col-historico[b-nnm1aj07a9] {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid #dee2e6;
  }
}
/* /Presentation/Components/Pages/HistoriaClinica/Components/Visualizador/Visor.razor.rz.scp.css */
/* Visor de imágenes médicas (idea: sv4-322). */
*[b-m2gytyfrgr] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.main-viewer-container[b-m2gytyfrgr] {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #1a1a1a;
    font-family: system-ui, -apple-system, sans-serif;
}

.app-body[b-m2gytyfrgr] {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
}

/* --- BARRA LATERAL IZQUIERDA Y CONTENEDORES --- */
.left-sidebar[b-m2gytyfrgr] {
    width: 75px;
    min-width: 75px;
    background-color: #83d4ff;
    border-right: 1px solid #0078d4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 8px;
    z-index: 100;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-toggle-sidebar[b-m2gytyfrgr] {
    display: none;
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 50px;
    background-color: #0078d4;
    color: #ffffff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    z-index: 101;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
}

.toolbar-vertical[b-m2gytyfrgr] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toolbar-container[b-m2gytyfrgr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

    .toolbar-container[b-m2gytyfrgr]::-webkit-scrollbar {
        display: none;
    }

.toolbar-divider[b-m2gytyfrgr] {
    width: 70%;
    border: 0.5px solid #0078d4;
    margin: 6px 0;
}

/* Botones de la barra principal */
.toolbar-container button:not(.btn-sidebar):not(.btn-delete-item):not(.color-bullet):not(.thickness-btn):not(.shape-btn)[b-m2gytyfrgr] {
    border: none;
    background-color: #49b0ff;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .toolbar-container button:not(.btn-sidebar):not(.btn-delete-item):not(.color-bullet):not(.thickness-btn):not(.shape-btn):hover[b-m2gytyfrgr] {
        background-color: #2da1ff;
        transform: scale(1.02);
    }

.toolbar-container .btn-active[b-m2gytyfrgr] {
    background-color: #005a9e !important;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.icon-img[b-m2gytyfrgr] {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* --- PALETA GLOBAL QUE SOBREPONE ABSOLUTAMENTE TODO --- */
.palette-container-global[b-m2gytyfrgr] {
    position: absolute;
    left: 85px;
    background: #addeff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #0078d4;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
    z-index: 999999 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.annotation-palette-global[b-m2gytyfrgr] {
    top: 330px;
}

.brightness-slider-global[b-m2gytyfrgr] {
    top: 170px;
    background-color: #1e293b !important;
    border: 1px solid #49b0ff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
}

    .brightness-slider-global input[type="range"][b-m2gytyfrgr] {
        accent-color: #49b0ff;
        height: 6px;
        background: #334155;
        border-radius: 3px;
    }

.color-section[b-m2gytyfrgr] {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.palette-container-global .color-bullet[b-m2gytyfrgr] {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.bullet-active[b-m2gytyfrgr] {
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    transform: scale(1.15);
}

.palette-divider[b-m2gytyfrgr] {
    width: 1px;
    height: 26px;
    background-color: rgba(0, 120, 212, 0.4);
}

.shapes-section[b-m2gytyfrgr] {
    display: flex;
    gap: 4px;
}

.palette-container-global .shape-btn[b-m2gytyfrgr] {
    width: 28px !important;
    height: 28px !important;
    background: #ffffff !important;
    border: 1px solid #999 !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px;
    cursor: pointer;
}

.thickness-section[b-m2gytyfrgr] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 50px;
}

.palette-container-global .thickness-btn[b-m2gytyfrgr] {
    background: #ffffff !important;
    border: 1px solid #999 !important;
    width: 100% !important;
    height: 14px !important;
    border-radius: 3px !important;
    padding: 0 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
}

.line-preview[b-m2gytyfrgr] {
    display: block;
    width: 100%;
    background-color: #000000;
}

/* --- ÁREA DE VISUALIZACIÓN --- */
.content-area[b-m2gytyfrgr] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #000;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.viewport-section[b-m2gytyfrgr] {
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
    display: block;
}

.grid-visor[b-m2gytyfrgr] {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 6px;
    background-color: #111;
    padding: 4px;
}

    .grid-visor.modo-maximizada[b-m2gytyfrgr],
    .grid-visor.total-1[b-m2gytyfrgr] {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0px !important;
        padding: 0px !important;
    }

    .grid-visor.total-2.modo-cuadricula[b-m2gytyfrgr] {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr !important;
    }

    .grid-visor.total-3.modo-cuadricula[b-m2gytyfrgr],
    .grid-visor.total-4.modo-cuadricula[b-m2gytyfrgr] {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
    }

    .grid-visor.modo-vertical[b-m2gytyfrgr] {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }

/* --- DICOM FRAMES --- */
.dicom-frame[b-m2gytyfrgr] {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
    cursor: grab;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.15s ease;
    z-index: 2;
}

    .dicom-frame:active[b-m2gytyfrgr] {
        cursor: grabbing;
    }

    .dicom-frame.frame-oculto[b-m2gytyfrgr] {
        display: none !important;
    }

    .dicom-frame.borde-azul[b-m2gytyfrgr] {
        border-color: rgba(0, 123, 255, 0.4);
    }

    .dicom-frame.borde-amarillo[b-m2gytyfrgr] {
        border-color: rgba(255, 193, 7, 0.4);
    }

    .dicom-frame.borde-verde[b-m2gytyfrgr] {
        border-color: rgba(40, 167, 69, 0.4);
    }

    .dicom-frame.borde-rojo[b-m2gytyfrgr] {
        border-color: rgba(220, 53, 69, 0.4);
    }

    .dicom-frame.cuadro-activo.borde-azul[b-m2gytyfrgr] {
        border-color: #007bff !important;
        box-shadow: inset 0 0 12px rgba(0, 123, 255, 0.6);
    }

    .dicom-frame.cuadro-activo.borde-amarillo[b-m2gytyfrgr] {
        border-color: #ffc107 !important;
        box-shadow: inset 0 0 12px rgba(255, 193, 7, 0.6);
    }

    .dicom-frame.cuadro-activo.borde-verde[b-m2gytyfrgr] {
        border-color: #28a745 !important;
        box-shadow: inset 0 0 12px rgba(40, 167, 69, 0.6);
    }

    .dicom-frame.cuadro-activo.borde-rojo[b-m2gytyfrgr] {
        border-color: #dc3545 !important;
        box-shadow: inset 0 0 12px rgba(220, 53, 69, 0.6);
    }

    .dicom-frame.cuadro-activo[b-m2gytyfrgr] {
        z-index: 5;
    }

    .dicom-frame.cuadro-maximizado[b-m2gytyfrgr] {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        box-shadow: none !important;
    }

    .dicom-frame.frame-pdf[b-m2gytyfrgr] {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        align-items: stretch !important;
        justify-content: stretch !important;
    }

.img-wrapper[b-m2gytyfrgr] {
    position: relative;
    display: inline-block;
    transform-origin: center center;
}

    .img-wrapper.wrapper-pdf[b-m2gytyfrgr] {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex: 1 !important;
    }

.pdf-embed-element[b-m2gytyfrgr] {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border: none;
    background-color: #ffffff;
    display: block;
    flex: 1 !important;
}

.img-wrapper img[b-m2gytyfrgr] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.canvas-positiones[b-m2gytyfrgr] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annotation-canvas[b-m2gytyfrgr] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    pointer-events: auto !important;
}

/* --- CARRUSEL DE MINIATURAS (INFERIOR) --- */
.thumbnail-carousel[b-m2gytyfrgr] {
    height: 95px;
    min-height: 95px;
    background-color: #e5eef5;
    border-top: 1px solid #ccc;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 20;
}

.thumbnail-list[b-m2gytyfrgr] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    align-items: center;
    width: 100%;
    scrollbar-width: thin;
}

.thumb[b-m2gytyfrgr], .thumb-add[b-m2gytyfrgr] {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: #000;
    border: 2px solid transparent;
    border-radius: 4px;
}

    .thumb.active[b-m2gytyfrgr] {
        border-color: #007bff;
    }

.thumb-add[b-m2gytyfrgr] {
    background-color: #1a2a3a;
    border: 2px dashed #49b0ff;
}

.btn-remove-img[b-m2gytyfrgr] {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(220, 53, 69, 0.85);
    color: white;
    border: none;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    font-size: 14px;
    cursor: pointer;
    z-index: 20;
}

.empty-state[b-m2gytyfrgr] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    height: 100%;
    width: 100%;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 992px) {
    .left-sidebar[b-m2gytyfrgr] {
        width: 60px;
        min-width: 60px;
    }

    .palette-container-global[b-m2gytyfrgr] {
        left: 70px;
    }

    .toolbar-container button:not(.btn-sidebar):not(.btn-delete-item):not(.color-bullet):not(.thickness-btn):not(.shape-btn)[b-m2gytyfrgr] {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .icon-img[b-m2gytyfrgr] {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .btn-toggle-sidebar[b-m2gytyfrgr] {
        display: flex;
    }

    .left-sidebar[b-m2gytyfrgr] {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1000 !important;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.5);
    }

        .left-sidebar.sidebar-collapsed[b-m2gytyfrgr] {
            transform: translateX(-100%);
        }

    .palette-container-global[b-m2gytyfrgr] {
        left: 65px;
    }

    .thumbnail-carousel[b-m2gytyfrgr] {
        height: 80px;
        min-height: 80px;
        padding: 4px;
    }

    .thumb[b-m2gytyfrgr], .thumb-add[b-m2gytyfrgr] {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }

    .grid-visor.total-3.modo-cuadricula[b-m2gytyfrgr],
    .grid-visor.total-4.modo-cuadricula[b-m2gytyfrgr] {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .grid-visor.total-2.modo-cuadricula[b-m2gytyfrgr],
    .grid-visor.total-3.modo-cuadricula[b-m2gytyfrgr],
    .grid-visor.total-4.modo-cuadricula[b-m2gytyfrgr] {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(auto-fit, minmax(140px, 1fr)) !important;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/ConsultaExterna/ConsultaExterna.razor.rz.scp.css */
/* CSS for ConsultaExterna component */
/* Barra de acciones al pie del formulario (antes flotaba fija sobre la pantalla): al vivir
   dentro del flujo, el médico tiene que llegar al final de la historia para guardarla.
   Se conserva la caja —borde, sombra y botones parejos— para que se lea como un bloque de
   cierre y no como dos botones sueltos; la regla global .btn-primary de Site.css sigue
   sin aplicar porque los botones usan sus propias clases.
   width: fit-content + margin-left auto: la caja se ajusta al ancho de los botones y se pega
   a la derecha. Sin el fit-content el bloque ocupaba todo el ancho y se veia como una franja. */
.thb-toolbar[b-xjsjsnzsgt] {
  display: flex;
  gap: .6rem;
  width: fit-content;
  margin: 1rem 0 1.25rem auto;
  padding: .55rem .65rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .16);
}

  .thb-toolbar .thb-btn[b-xjsjsnzsgt] {
    margin: 0;
    height: 44px;
    min-width: 130px;
    padding: 0 1.25rem;
    font-weight: 600;
    font-size: .95rem;
    color: #fff;
    border: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    cursor: pointer;
    transition: filter .15s ease, opacity .15s ease;
  }

  .thb-toolbar .thb-guardar[b-xjsjsnzsgt] {
    background: #0d6efd;
  }

  .thb-toolbar .thb-salir[b-xjsjsnzsgt] {
    background: #6c757d;
  }

  .thb-toolbar .thb-btn:hover:not(:disabled)[b-xjsjsnzsgt] {
    filter: brightness(1.08);
  }

  .thb-toolbar .thb-btn:disabled[b-xjsjsnzsgt] {
    opacity: .5;
    cursor: not-allowed;
  }
/* /Presentation/Components/Pages/HistoriaClinica/ConsultaExterna/VisorHistoriaPdf.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones (margin-top, padding y
   border-radius con !important), igual que en las modales del Formato General: dentro de la
   ventana los botones deben verse como botones pequeños de Bootstrap. */
.btn[b-104gj1fs8r] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-104gj1fs8r] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}

/* ═══ Estructura ═══ */

.vhp[b-104gj1fs8r] {
    display: flex;
    flex-direction: column;
    /* Ocupa el alto disponible de la pagina y aporta 15px de margen alrededor. */
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    gap: 0.6rem;
}

.vhp-barra[b-104gj1fs8r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0b5ed7 0%, #4a90e2 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.vhp-barra-info[b-104gj1fs8r] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.vhp-barra-titulo[b-104gj1fs8r] {
    font-size: 1rem;
    font-weight: 600;
}

.vhp-barra-detalle[b-104gj1fs8r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vhp-chip[b-104gj1fs8r] {
    font-size: 0.74rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.vhp-barra-acciones[b-104gj1fs8r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Los botones de la barra van sobre el degradado azul: se invierten a blanco. */
.vhp-barra-acciones .btn-outline-primary[b-104gj1fs8r],
.vhp-barra-acciones .btn-outline-secondary[b-104gj1fs8r] {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: transparent;
}

    .vhp-barra-acciones .btn-outline-primary:hover[b-104gj1fs8r],
    .vhp-barra-acciones .btn-outline-secondary:hover[b-104gj1fs8r] {
        color: #0b5ed7;
        background: #fff;
        border-color: #fff;
    }

.vhp-cuerpo[b-104gj1fs8r] {
    display: flex;
    flex: 1 1 auto;
    gap: 0.6rem;
    min-height: 0; /* Sin esto el iframe desborda en lugar de encogerse. */
}

/* ═══ Panel lateral (WinImpr: ítems, encabezado, facturación) ═══ */

.vhp-lateral[b-104gj1fs8r] {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px; /* Deja aire entre las tarjetas y la barra de desplazamiento. */
}

.vhp-panel[b-104gj1fs8r] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
}

/* La lista no tiene scroll propio: el panel lateral completo se desplaza (WinImpr es una ventana alta). */
.vhp-panel--items[b-104gj1fs8r] {
    flex: 0 0 auto;
}

.vhp-panel-titulo[b-104gj1fs8r] {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: #495057;
    background: #f6f8fb;
    border-bottom: 1px solid #e5e7eb;
}

.vhp-mensaje[b-104gj1fs8r] {
    padding: 0.9rem 0.75rem;
    font-size: 0.84rem;
}

.vhp-items[b-104gj1fs8r] {
    flex: 0 0 auto;
}

.vhp-tabla[b-104gj1fs8r] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.79rem;
}

    .vhp-tabla th[b-104gj1fs8r] {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .03em;
        color: #6c757d;
        background: #fbfcfe;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

    .vhp-tabla td[b-104gj1fs8r] {
        padding: 0.4rem 0.6rem;
        border-bottom: 1px solid #f0f2f5;
        vertical-align: middle;
    }

    .vhp-tabla tr:hover td[b-104gj1fs8r] {
        background: #f6f8fb;
    }

.vhp-fila--activa td[b-104gj1fs8r] {
    background: #eef5ff;
}

.vhp-col-check[b-104gj1fs8r] {
    width: 3.2rem;
    text-align: center !important;
}

    .vhp-col-check .form-check-input[b-104gj1fs8r] {
        margin: 0;
        cursor: pointer;
    }

        .vhp-col-check .form-check-input:disabled[b-104gj1fs8r] {
            cursor: not-allowed;
            opacity: .35;
        }

.vhp-item-titulo[b-104gj1fs8r] {
    display: block;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
}

.vhp-item-detalle[b-104gj1fs8r] {
    display: block;
    font-size: 0.7rem;
    color: #8a9099;
}

.vhp-opciones[b-104gj1fs8r] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

.vhp-opciones--fila[b-104gj1fs8r] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.9rem;
    border-top: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Un solo documento / Todo Carta / Todo Tirilla: encima de los ítems, como la toolbar del grid del legado. */
.vhp-opciones--cabecera[b-104gj1fs8r] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    border-top: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fbfcfe;
}

.vhp-check[b-104gj1fs8r] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    cursor: pointer;
}

    .vhp-check .form-check-input[b-104gj1fs8r] {
        margin: 0;
    }

.vhp-pie[b-104gj1fs8r] {
    padding: 0.6rem;
    border-top: 1px solid #e5e7eb;
    background: #fbfcfe;
}

/* ─── Impresión para facturación ─── */

.vhp-factura[b-104gj1fs8r] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
}

.vhp-campo[b-104gj1fs8r] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    flex: 1 1 0;
}

    .vhp-campo > span[b-104gj1fs8r] {
        font-size: 0.7rem;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

.vhp-fechas[b-104gj1fs8r] {
    display: flex;
    gap: 0.5rem;
}

/* ═══ Visor del PDF con pestañas ═══ */

.vhp-visor[b-104gj1fs8r] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.vhp-pestanas[b-104gj1fs8r] {
    display: flex;
    gap: 0.2rem;
    padding: 0.35rem 0.5rem 0;
    background: #f6f8fb;
    border-bottom: 1px solid #e5e7eb;
}

.vhp-pestana[b-104gj1fs8r] {
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #495057;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    margin-bottom: -1px;
    cursor: pointer;
}

    .vhp-pestana:hover:not(:disabled)[b-104gj1fs8r] {
        background: #eef5ff;
    }

    .vhp-pestana:disabled[b-104gj1fs8r] {
        color: #adb5bd;
        cursor: not-allowed;
    }

.vhp-pestana--activa[b-104gj1fs8r],
.vhp-pestana--activa:hover:not(:disabled)[b-104gj1fs8r] {
    background: #525659;
    border-color: #525659;
    color: #fff;
}

.vhp-lienzo[b-104gj1fs8r] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    background: #525659; /* Fondo del visor nativo del navegador. */
}

/* Los tres iframes ocupan el lienzo completo, apilados; solo el de la pestaña activa se ve.
   Se usa visibility y no display:none porque el visor de PDF del navegador no renderiza dentro
   de un iframe con display:none hasta que se muestra, y así cada documento carga en segundo plano. */
.vhp-iframe[b-104gj1fs8r] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    visibility: hidden;
}

.vhp-iframe--activa[b-104gj1fs8r] {
    visibility: visible;
}

.vhp-vacio[b-104gj1fs8r] {
    position: relative;
    margin: auto;
    text-align: center;
    color: #e9ecef;
    padding: 2rem;
}

/* Mientras el iframe de la pestaña activa pide un documento nuevo. */
.vhp-cargando[b-104gj1fs8r] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
    font-size: 0.9rem;
    background: rgba(82, 86, 89, .85);
}

    .vhp-vacio i[b-104gj1fs8r] {
        font-size: 2.6rem;
        opacity: .55;
        display: block;
        margin-bottom: 0.75rem;
    }

@media (max-width: 900px) {
    .vhp-cuerpo[b-104gj1fs8r] {
        flex-direction: column;
    }

    .vhp-lateral[b-104gj1fs8r] {
        flex: 0 0 auto;
        max-height: 55vh;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/ConsultaExterna/VisualizadorHistoria.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones (margin-top, padding y
   border-radius con !important), igual que en el visor PDF. */
.btn[b-iq3fg9ezd2] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-iq3fg9ezd2] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}

/* ═══ Estructura ═══ */

.vzh[b-iq3fg9ezd2] {
    display: flex;
    flex-direction: column;
    /* Ocupa el alto disponible de la pagina y aporta 15px de margen alrededor. */
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    gap: 0.6rem;
}

.vzh-barra[b-iq3fg9ezd2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #1A365D 0%, #3182CE 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.vzh-barra-info[b-iq3fg9ezd2] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.vzh-barra-titulo[b-iq3fg9ezd2] {
    font-size: 1rem;
    font-weight: 600;
}

.vzh-barra-detalle[b-iq3fg9ezd2] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vzh-chip[b-iq3fg9ezd2] {
    font-size: 0.74rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.vzh-barra-acciones[b-iq3fg9ezd2] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Los botones de la barra van sobre el degradado azul: se invierten a blanco. */
.vzh-barra-acciones .btn-outline-primary[b-iq3fg9ezd2],
.vzh-barra-acciones .btn-outline-secondary[b-iq3fg9ezd2] {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: transparent;
}

    .vzh-barra-acciones .btn-outline-primary:hover[b-iq3fg9ezd2],
    .vzh-barra-acciones .btn-outline-secondary:hover[b-iq3fg9ezd2] {
        color: #1A365D;
        background: #fff;
        border-color: #fff;
    }

.vzh-cuerpo[b-iq3fg9ezd2] {
    display: flex;
    flex: 1 1 auto;
    gap: 0.6rem;
    min-height: 0; /* Sin esto el documento desborda en lugar de desplazarse. */
}

/* ═══ Área del documento ═══ */

.vzh-visor[b-iq3fg9ezd2] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    background: #e9ecef; /* Fondo gris sobre el que "flotan" las hojas. */
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.vzh-vacio[b-iq3fg9ezd2] {
    margin: auto;
    text-align: center;
    color: #6c757d;
    padding: 2rem;
}

    .vzh-vacio i[b-iq3fg9ezd2] {
        font-size: 2.6rem;
        opacity: .45;
        display: block;
        margin-bottom: 0.75rem;
    }

@media (max-width: 900px) {
    .vzh-cuerpo[b-iq3fg9ezd2] {
        flex-direction: column;
    }
}

/* ═══ Impresión: solo el documento ═══ */

@media print {
    .vzh[b-iq3fg9ezd2] {
        height: auto;
        padding: 0;
    }

    .vzh-barra[b-iq3fg9ezd2],
    .vzh-cuerpo[b-iq3fg9ezd2]  .fc {
        display: none;
    }

    .vzh-visor[b-iq3fg9ezd2] {
        overflow: visible;
        border: 0;
        background: #fff;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/VisorDicom/AnalisisResultados.razor.rz.scp.css */
/* Análisis de resultados del módulo de Imágenes Diagnósticas (idea: sv4-322). */
.editor-analisis[b-i7ikojoezx] {
    min-height: 180px;
    max-height: 400px;
    overflow-y: auto;
}

/* Móviles: todo al 100% */
.btn-guardar-analisis[b-i7ikojoezx],
.btn-audio-control[b-i7ikojoezx],
.reproductor-audio-elemento[b-i7ikojoezx] {
    width: 100%;
}

/* PC y pantallas medianas (>= 576px) */
@media (min-width: 576px) {
    .btn-guardar-analisis[b-i7ikojoezx] {
        width: auto !important;
        min-width: 150px;
    }

    .btn-audio-control[b-i7ikojoezx] {
        width: auto !important;
        min-width: 130px;
    }

    /* Despliega el reproductor de audio hasta aprox. la mitad del contenedor */
    .reproductor-audio-elemento[b-i7ikojoezx] {
        width: 45% !important;
        min-width: 320px;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/VisorDicom/Impresion.razor.rz.scp.css */
/* Neutraliza los overrides globales de Site.css sobre los botones (margin-top, padding y
   border-radius con !important), igual que en las modales del Formato General: dentro de la
   ventana los botones deben verse como botones pequeños de Bootstrap. */
.btn[b-k98kf2w2iq] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-k98kf2w2iq] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}

/* ═══ Estructura ═══ */

.vhp[b-k98kf2w2iq] {
    display: flex;
    flex-direction: column;
    /* Ocupa el alto disponible de la pagina y aporta 15px de margen alrededor. */
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    gap: 0.6rem;
}

.vhp-barra[b-k98kf2w2iq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0b5ed7 0%, #4a90e2 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.vhp-barra-info[b-k98kf2w2iq] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.vhp-barra-titulo[b-k98kf2w2iq] {
    font-size: 1rem;
    font-weight: 600;
}

.vhp-barra-detalle[b-k98kf2w2iq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vhp-chip[b-k98kf2w2iq] {
    font-size: 0.74rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.vhp-barra-acciones[b-k98kf2w2iq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Los botones de la barra van sobre el degradado azul: se invierten a blanco. */
.vhp-barra-acciones .btn-outline-primary[b-k98kf2w2iq],
.vhp-barra-acciones .btn-outline-secondary[b-k98kf2w2iq] {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: transparent;
}

    .vhp-barra-acciones .btn-outline-primary:hover[b-k98kf2w2iq],
    .vhp-barra-acciones .btn-outline-secondary:hover[b-k98kf2w2iq] {
        color: #0b5ed7;
        background: #fff;
        border-color: #fff;
    }

.vhp-cuerpo[b-k98kf2w2iq] {
    display: flex;
    flex: 1 1 auto;
    gap: 0.6rem;
    min-height: 0; /* Sin esto el iframe desborda en lugar de encogerse. */
}

/* ═══ Panel lateral (WinImpr: ítems, encabezado, facturación) ═══ */

.vhp-lateral[b-k98kf2w2iq] {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px; /* Deja aire entre las tarjetas y la barra de desplazamiento. */
}

.vhp-panel[b-k98kf2w2iq] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
}

/* La lista no tiene scroll propio: el panel lateral completo se desplaza (WinImpr es una ventana alta). */
.vhp-panel--items[b-k98kf2w2iq] {
    flex: 0 0 auto;
}

.vhp-panel-titulo[b-k98kf2w2iq] {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: #495057;
    background: #f6f8fb;
    border-bottom: 1px solid #e5e7eb;
}

.vhp-mensaje[b-k98kf2w2iq] {
    padding: 0.9rem 0.75rem;
    font-size: 0.84rem;
}

.vhp-items[b-k98kf2w2iq] {
    flex: 0 0 auto;
}

.vhp-tabla[b-k98kf2w2iq] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.79rem;
}

    .vhp-tabla th[b-k98kf2w2iq] {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .03em;
        color: #6c757d;
        background: #fbfcfe;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

    .vhp-tabla td[b-k98kf2w2iq] {
        padding: 0.4rem 0.6rem;
        border-bottom: 1px solid #f0f2f5;
        vertical-align: middle;
    }

    .vhp-tabla tr:hover td[b-k98kf2w2iq] {
        background: #f6f8fb;
    }

.vhp-fila--activa td[b-k98kf2w2iq] {
    background: #eef5ff;
}

.vhp-col-check[b-k98kf2w2iq] {
    width: 3.2rem;
    text-align: center !important;
}

    .vhp-col-check .form-check-input[b-k98kf2w2iq] {
        margin: 0;
        cursor: pointer;
    }

        .vhp-col-check .form-check-input:disabled[b-k98kf2w2iq] {
            cursor: not-allowed;
            opacity: .35;
        }

.vhp-item-titulo[b-k98kf2w2iq] {
    display: block;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
}

.vhp-item-detalle[b-k98kf2w2iq] {
    display: block;
    font-size: 0.7rem;
    color: #8a9099;
}

.vhp-opciones[b-k98kf2w2iq] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

.vhp-opciones--fila[b-k98kf2w2iq] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.9rem;
    border-top: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Un solo documento / Todo Carta / Todo Tirilla: encima de los ítems, como la toolbar del grid del legado. */
.vhp-opciones--cabecera[b-k98kf2w2iq] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    border-top: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fbfcfe;
}

.vhp-check[b-k98kf2w2iq] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    cursor: pointer;
}

    .vhp-check .form-check-input[b-k98kf2w2iq] {
        margin: 0;
    }

.vhp-pie[b-k98kf2w2iq] {
    padding: 0.6rem;
    border-top: 1px solid #e5e7eb;
    background: #fbfcfe;
}

/* ─── Impresión para facturación ─── */

.vhp-factura[b-k98kf2w2iq] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
}

.vhp-campo[b-k98kf2w2iq] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    flex: 1 1 0;
}

    .vhp-campo > span[b-k98kf2w2iq] {
        font-size: 0.7rem;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

.vhp-fechas[b-k98kf2w2iq] {
    display: flex;
    gap: 0.5rem;
}

/* ═══ Visor del PDF con pestañas ═══ */

.vhp-visor[b-k98kf2w2iq] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.vhp-pestanas[b-k98kf2w2iq] {
    display: flex;
    gap: 0.2rem;
    padding: 0.35rem 0.5rem 0;
    background: #f6f8fb;
    border-bottom: 1px solid #e5e7eb;
}

.vhp-pestana[b-k98kf2w2iq] {
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #495057;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    margin-bottom: -1px;
    cursor: pointer;
}

    .vhp-pestana:hover:not(:disabled)[b-k98kf2w2iq] {
        background: #eef5ff;
    }

    .vhp-pestana:disabled[b-k98kf2w2iq] {
        color: #adb5bd;
        cursor: not-allowed;
    }

.vhp-pestana--activa[b-k98kf2w2iq],
.vhp-pestana--activa:hover:not(:disabled)[b-k98kf2w2iq] {
    background: #525659;
    border-color: #525659;
    color: #fff;
}

.vhp-lienzo[b-k98kf2w2iq] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    background: #525659; /* Fondo del visor nativo del navegador. */
}

/* Los tres iframes ocupan el lienzo completo, apilados; solo el de la pestaña activa se ve.
   Se usa visibility y no display:none porque el visor de PDF del navegador no renderiza dentro
   de un iframe con display:none hasta que se muestra, y así cada documento carga en segundo plano. */
.vhp-iframe[b-k98kf2w2iq] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    visibility: hidden;
}

.vhp-iframe--activa[b-k98kf2w2iq] {
    visibility: visible;
}

.vhp-vacio[b-k98kf2w2iq] {
    position: relative;
    margin: auto;
    text-align: center;
    color: #e9ecef;
    padding: 2rem;
}

/* Mientras el iframe de la pestaña activa pide un documento nuevo. */
.vhp-cargando[b-k98kf2w2iq] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
    font-size: 0.9rem;
    background: rgba(82, 86, 89, .85);
}

    .vhp-vacio i[b-k98kf2w2iq] {
        font-size: 2.6rem;
        opacity: .55;
        display: block;
        margin-bottom: 0.75rem;
    }

@media (max-width: 900px) {
    .vhp-cuerpo[b-k98kf2w2iq] {
        flex-direction: column;
    }

    .vhp-lateral[b-k98kf2w2iq] {
        flex: 0 0 auto;
        max-height: 55vh;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/VisorDicom/Visualizador.razor.rz.scp.css */
/* Mismo marco que el visualizador de Consulta Externa: barra superior, checklist a la izquierda
   y documento a la derecha. El documento lo pinta DocumentoHistoriaVista con sus propios estilos.
   Idea: sv4-346. */

/* Neutraliza los overrides globales de Site.css sobre los botones (margin-top, padding y
   border-radius con !important), igual que en el visor PDF. */
.btn[b-uk2ci4beyn] {
    margin: 0;
    vertical-align: middle;
}

.btn-sm[b-uk2ci4beyn] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem !important;
}

/* ═══ Estructura ═══ */

.vzh[b-uk2ci4beyn] {
    display: flex;
    flex-direction: column;
    /* Ocupa el alto disponible de la pagina y aporta 15px de margen alrededor. */
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    gap: 0.6rem;
}

.vzh-barra[b-uk2ci4beyn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #1A365D 0%, #3182CE 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.vzh-barra-info[b-uk2ci4beyn] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.vzh-barra-titulo[b-uk2ci4beyn] {
    font-size: 1rem;
    font-weight: 600;
}

.vzh-barra-detalle[b-uk2ci4beyn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vzh-chip[b-uk2ci4beyn] {
    font-size: 0.74rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.vzh-barra-acciones[b-uk2ci4beyn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Los botones de la barra van sobre el degradado azul: se invierten a blanco. */
.vzh-barra-acciones .btn-outline-primary[b-uk2ci4beyn],
.vzh-barra-acciones .btn-outline-secondary[b-uk2ci4beyn] {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: transparent;
}

    .vzh-barra-acciones .btn-outline-primary:hover[b-uk2ci4beyn],
    .vzh-barra-acciones .btn-outline-secondary:hover[b-uk2ci4beyn] {
        color: #1A365D;
        background: #fff;
        border-color: #fff;
    }

.vzh-cuerpo[b-uk2ci4beyn] {
    display: flex;
    flex: 1 1 auto;
    gap: 0.6rem;
    min-height: 0; /* Sin esto el documento desborda en lugar de desplazarse. */
}

/* ═══ Área del documento ═══ */

.vzh-visor[b-uk2ci4beyn] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    background: #e9ecef; /* Fondo gris sobre el que "flotan" las hojas. */
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.vzh-vacio[b-uk2ci4beyn] {
    margin: auto;
    text-align: center;
    color: #6c757d;
    padding: 2rem;
}

    .vzh-vacio i[b-uk2ci4beyn] {
        font-size: 2.6rem;
        opacity: .45;
        display: block;
        margin-bottom: 0.75rem;
    }

@media (max-width: 900px) {
    .vzh-cuerpo[b-uk2ci4beyn] {
        flex-direction: column;
    }
}

/* ═══ Impresión: solo el documento ═══ */

@media print {
    .vzh[b-uk2ci4beyn] {
        height: auto;
        padding: 0;
    }

    .vzh-barra[b-uk2ci4beyn],
    .vzh-cuerpo[b-uk2ci4beyn]  .fc {
        display: none;
    }

    .vzh-visor[b-uk2ci4beyn] {
        overflow: visible;
        border: 0;
        background: #fff;
    }
}
/* /Presentation/Components/Pages/HistoriaClinica/VisorDicom/VisualizadorHome.razor.rz.scp.css */
/* Inicio del módulo de Imágenes Diagnósticas (idea: sv4-322). */
.vdi-hero[b-i91601jxmg] {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.vdi-hero-blob[b-i91601jxmg] {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    z-index: 0;
}

.vdi-hero-body[b-i91601jxmg] {
    position: relative;
    z-index: 1;
}

    .vdi-hero-body p[b-i91601jxmg] {
        font-size: .9rem;
        color: rgba(255, 255, 255, .9);
    }

.vdi-opcion[b-i91601jxmg] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #0d6efd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .vdi-opcion:hover[b-i91601jxmg],
    .vdi-opcion:focus-visible[b-i91601jxmg] {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
        outline: none;
    }

.vdi-opcion--visor[b-i91601jxmg] {
    border-left-color: #0ba360;
}

.vdi-opcion--analisis[b-i91601jxmg] {
    border-left-color: #0d6efd;
}

.vdi-opcion-icono[b-i91601jxmg] {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
}

.vdi-opcion--visor .vdi-opcion-icono[b-i91601jxmg] {
    background: #0ba360;
}

.vdi-opcion--analisis .vdi-opcion-icono[b-i91601jxmg] {
    background: #0d6efd;
}

.vdi-opcion-texto[b-i91601jxmg] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    flex: 1 1 auto;
}

.vdi-opcion-titulo[b-i91601jxmg] {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
}

.vdi-opcion-desc[b-i91601jxmg] {
    font-size: .82rem;
    color: #6c757d;
}

.vdi-opcion-flecha[b-i91601jxmg] {
    color: #adb5bd;
}
/* /Presentation/Components/Pages/Home.razor.rz.scp.css */
/* Idea: sv4-332 — Cabecera a todo el ancho del marco principal. */
.home-header-img[b-bulv0zksqx] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
}

/* Idea: sv4-332 (ajuste) — El nombre de la sede toma aire bajo la imagen de cabecera
   y baja un poco de tamaño para no competir con ella. Se define aquí, en el CSS del
   componente, para no alterar el mismo título en las demás pantallas. */
.home-main-title[b-bulv0zksqx] {
    /* 8px arriba y 0.8px abajo: 4px menos que los 12px / 4.8px del ajuste anterior. */
    margin-top: 0.5rem;
    margin-bottom: 0.05rem;
    font-size: 1.2rem;
}

/* Idea: sv4-332 — El icono de sede acompaña al nombre conservando la proporción del título. */
.home-main-title .fa-hospital-alt[b-bulv0zksqx] {
    font-size: 1rem;
    vertical-align: 0.04em;
}

.suros-footer-cta[b-bulv0zksqx] {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    letter-spacing: 0.8px;
    border: none;
    background: linear-gradient(135deg, #278b4c, #16a34a);
    color: #f9fafb;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(56, 219, 116, 0.4);
    position: relative;
    overflow: hidden;
    transition:
        transform 160ms ease-out,
        box-shadow 160ms ease-out,
        filter 160ms ease-out;
}

.suros-footer-cta:hover[b-bulv0zksqx] {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 22px 45px rgba(22, 163, 74, 0.6);
}

.suros-footer-cta--agendar[b-bulv0zksqx] {
    background: linear-gradient(135deg, #e0e4e1, #dee2e0);
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
    color: rgb(26, 25, 25);
}

.suros-footer-cta--agendar:hover[b-bulv0zksqx] {
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
}

.suros-footer-cta--consultar[b-bulv0zksqx] {
    
    background: linear-gradient(135deg, #e0e4e1, #dee2e0);
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
    color: rgb(26, 25, 25);
}

.suros-footer-cta--consultar:hover[b-bulv0zksqx] {
     box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
}

.suros-footer-cta--cancelar[b-bulv0zksqx] {
    
    background: linear-gradient(135deg, #e0e4e1, #dee2e0);
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
    color: rgb(26, 25, 25);
}

.suros-footer-cta--cancelar:hover[b-bulv0zksqx] {
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
}
/* /Presentation/Components/Pages/Inicio.razor.rz.scp.css */
.inicio-layout[b-mk3habwms5] {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar Styles moved to Menu.razor.css */

/* Main Content Styles */
.main-content[b-mk3habwms5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
}

/* App Header */
.app-header[b-mk3habwms5] {
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e0e0e0;
    gap: 16px;
}

.header-left[b-mk3habwms5] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-title[b-mk3habwms5] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.header-center[b-mk3habwms5] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.header-right[b-mk3habwms5] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-date[b-mk3habwms5] {
    font-size: 0.85rem;
    color: #666;
    margin-right: 5px;
}

.connection-icon[b-mk3habwms5] {
    font-size: 1.2rem;
    color: #000;
    cursor: help;
}

.search-box[b-mk3habwms5] {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: #fff;
    position: relative;
}

.search-results-dropdown[b-mk3habwms5] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 250px; /* Wider than the input */
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-result-item[b-mk3habwms5] {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    color: #333;
}

.search-result-item:hover[b-mk3habwms5] {
    background-color: #f0f4f8;
    color: #007bff;
}

.search-icon[b-mk3habwms5] {
    margin-right: 10px;
    color: #666;
    width: 20px;
    text-align: center;
}

.search-label[b-mk3habwms5] {
    font-size: 0.85rem;
    color: #666;
    margin-right: 8px;
}

.search-box input[b-mk3habwms5] {
    border: none;
    outline: none;
    font-size: 0.85rem;
    width: 150px;
}

.btn-notifications[b-mk3habwms5] {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn-tour[b-mk3habwms5] {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-tour:hover[b-mk3habwms5] {
    background-color: #0b5ed7;
}

/* Novedades button — color solido visible */
.btn-novedades[b-mk3habwms5] {
    background: #6366f1 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(99,102,241,0.35);
    position: relative;
    opacity: 1 !important;
}

.btn-novedades:hover[b-mk3habwms5] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.45);
    transform: translateY(-2px);
}

.btn-novedades:active[b-mk3habwms5] {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(124,58,237,0.2);
}

.btn-novedades i[b-mk3habwms5] {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.user-avatar[b-mk3habwms5] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user-avatar img[b-mk3habwms5] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Connection icon (online/offline) */
.connection-icon.online[b-mk3habwms5] {
    color: #28a745;
}
.connection-icon.offline[b-mk3habwms5] {
    color: #dc3545;
}

/* Notification badge */
.btn-notifications[b-mk3habwms5] {
    position: relative;
}
.notification-badge[b-mk3habwms5] {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #fff;
    color: #dc3545;
    font-size: 0.50rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dc3545;
    line-height: 1;
}

/* Notifications dropdown — compact redesign */
.notifications-wrapper[b-mk3habwms5] {
    position: relative;
}
.notifications-dropdown[b-mk3habwms5] {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1050;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    max-height: 420px;
}
.notifications-header[b-mk3habwms5] {
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
}
.notifications-header strong[b-mk3habwms5] {
    font-size: 0.85rem;
    color: #0f172a;
}
/* Lista scrolleable */
.notifications-list-scroll[b-mk3habwms5] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
/* Scrollbar delgada */
.notifications-list-scroll[b-mk3habwms5]::-webkit-scrollbar {
    width: 4px;
}
.notifications-list-scroll[b-mk3habwms5]::-webkit-scrollbar-track {
    background: transparent;
}
.notifications-list-scroll[b-mk3habwms5]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.notifications-list-scroll[b-mk3habwms5]::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
/* Item ultra-compacto */
.notification-item[b-mk3habwms5] {
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.1s;
}
.notification-item:hover[b-mk3habwms5] {
    background-color: #f8fafc;
}
.notification-item.unread[b-mk3habwms5] {
    background-color: #f0f7ff;
    border-left: 3px solid #0D8ABC;
    padding-left: 9px;
}
.notification-item i[b-mk3habwms5] {
    font-size: 0.78rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.notification-item .notif-title[b-mk3habwms5] {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notification-item .notif-time[b-mk3habwms5] {
    font-size: 0.63rem;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 6px;
}

/* Header icon button */
.btn-header-icon[b-mk3habwms5] {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-header-icon:hover[b-mk3habwms5] {
    background-color: #f0f0f0;
    color: #007bff;
}
.btn-header-icon.active[b-mk3habwms5] {
    color: #ffc107;
}

/* Botón de acceso al sitio web institucional de Suros */
.btn-suros-web[b-mk3habwms5] {
    color: #0d6efd;
    font-size: 1.15rem;
    margin-right: 2px;
}
.btn-suros-web:hover[b-mk3habwms5] {
    color: #0a58ca;
    background-color: #e8f0fe;
}

/* Profile button with avatar */
.btn-perfil[b-mk3habwms5] {
    background: none;
    border: none;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: all 0.15s;
    overflow: hidden;
}
.btn-perfil:hover[b-mk3habwms5] {
    background-color: #f0f0f0;
    color: #007bff;
}
.btn-perfil .user-avatar[b-mk3habwms5] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Control de tamaño de texto (usabilidad / accesibilidad) */
.font-scale-wrapper[b-mk3habwms5] {
    position: relative;
}

/* Capa invisible para detectar clic fuera del dropdown de tamaño de texto */
.font-scale-backdrop[b-mk3habwms5] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1040;
    cursor: default;
}

.font-scale-dropdown[b-mk3habwms5] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1050;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.font-scale-header[b-mk3habwms5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.font-scale-header strong[b-mk3habwms5] {
    font-size: 0.85rem;
    color: #0f172a;
}

.font-scale-percent[b-mk3habwms5] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d6efd;
    background: #e8f0fe;
    border-radius: 10px;
    padding: 2px 8px;
}

.font-scale-controls[b-mk3habwms5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.font-scale-btn[b-mk3habwms5] {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    min-width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    color: #333;
    font-size: 0.85rem;
    transition: all 0.15s;
}

.font-scale-btn:hover:not(:disabled)[b-mk3habwms5] {
    background-color: #e8f0fe;
    border-color: #0d6efd;
    color: #0d6efd;
}

.font-scale-btn:disabled[b-mk3habwms5] {
    opacity: 0.4;
    cursor: not-allowed;
}

.font-scale-suffix[b-mk3habwms5] {
    font-weight: 700;
}

.font-scale-indicator[b-mk3habwms5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.font-scale-letter[b-mk3habwms5] {
    line-height: 1;
    color: #0f172a;
    transition: font-size 0.15s;
}

.font-scale-dots[b-mk3habwms5] {
    display: flex;
    gap: 3px;
}

.font-scale-dots .dot[b-mk3habwms5] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d5db;
    transition: background-color 0.15s;
}

.font-scale-dots .dot.on[b-mk3habwms5] {
    background-color: #0d6efd;
}

.font-scale-reset[b-mk3habwms5] {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6c757d;
    cursor: pointer;
    padding: 6px 0;
    border-top: 1px solid #f0f0f0;
    transition: color 0.15s;
}

.font-scale-reset:hover[b-mk3habwms5] {
    color: #0d6efd;
}

/* Tabs Container */
.tabs-container[b-mk3habwms5] {
    height: 48px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 5px;
    gap: 5px;
}

.tab-scroll-btn[b-mk3habwms5] {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.2s;
}

.tab-scroll-btn:hover[b-mk3habwms5] {
    color: #666;
}

.tabs-scroll-area[b-mk3habwms5] {
    flex: 1;
    display: flex;
    align-items: center; 
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    gap: 10px;
    padding: 0 10px;
}

.tabs-scroll-area[b-mk3habwms5]::-webkit-scrollbar {
    display: none;
}

.tab-item[b-mk3habwms5] {
    height: 44px !important;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    min-width: fit-content;
    white-space: nowrap;
    transition: all 0.2s;
    user-select: none;
}

.tab-item:hover[b-mk3habwms5] {
    background-color: #ced4da;
}

.tab-item.active[b-mk3habwms5] {
    min-height: 46px !important;
    padding: 4px 25px !important;
    background-color: #e3f2fd;
    color: #1976d2;
    border-bottom: 2px solid #1976d2;
    font-weight: 500;
}

.tab-close[b-mk3habwms5] {
    margin-left: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* Centra el glifo de FontAwesome dentro del círculo de cierre */
.tab-close i[b-mk3habwms5] {
    display: block;
    line-height: 1;
    margin-top: 2px;
}

.tab-close:hover[b-mk3habwms5] {
    opacity: 1;
    background-color: #fadbd8;
}

/* Tab Content */
.tab-content-area[b-mk3habwms5] {
    flex:1;
    min-height: 0;
    overflow: auto;
    padding: 20px;
    position: relative;
    background-color: #fff;
    scrollbar-width: none;
    /* Columna flex: la pestaña activa se estira y su alto queda DEFINIDO,
       de modo que los paneles hijos pueden llenar el alto con height:100%
       o flex:1 sin depender de un calc(100vh - Npx) adivinado. */
    display: flex;
    flex-direction: column;
}

.tab-pane[b-mk3habwms5] {
    display: none;
    height: 100%;
    width: 100%;
    min-height: 0;
}

.tab-pane.active[b-mk3habwms5] {
    display: block;
    /* Determinista: ocupa todo el alto disponible del contenedor de pestañas. */
    flex: 1 1 auto;
    animation: fadeIn-b-mk3habwms5 0.2s ease;
    /* Site.css define .active para los botones del asistente de agenda: color blanco y alto
       limitado a 25px. Sobre la pestaña que contiene el módulo eso pinta de blanco TODO el
       texto que no traiga color propio (los paneles con clases propias se salvan porque cada
       una fija su color) y limita la caja del contenido. Se neutraliza aquí, igual que
       Site.css ya lo hace para .historia-clinica. */
    color: inherit;
    max-height: none !important;
    min-height: 0 !important;
}

@keyframes fadeIn-b-mk3habwms5 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Access Denied */
.access-denied[b-mk3habwms5] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #2d3436;
}

.access-denied a[b-mk3habwms5] {
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 600;
}
.modal-title[b-mk3habwms5] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529 !important;
}
/* /Presentation/Components/Pages/InicioElectoral/InicioElectoral.razor.rz.scp.css */
.inicio-electoral-layout[b-5e7xgrnotz] {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
}

/* ── Tema oscuro electoral: paneles laterales con el morado del LoginElectoral ──
   Sobreescribe las variables globales de MainLayout.css para el subárbol de este
   layout: el menú lateral, el panel de usuarios en línea y los nodos del árbol
   heredan la paleta índigo/violeta de /login-electoral (#241040 → #0d0518).
   En tema claro ([data-theme="light"]) se conservan los valores originales. */
body:not([data-theme="light"]) .inicio-electoral-layout[b-5e7xgrnotz] {
    --sidebar-gradient: linear-gradient(180deg, #241040 0%, #120826 55%, #0d0518 100%);
    --sidebar-bg-overlay: rgba(181, 123, 255, 0.12);
    --sidebar-hover: rgba(181, 123, 255, 0.20);
    --sidebar-border: rgba(181, 123, 255, 0.25);
    --sidebar-header-color: #d9c2ff;
    --sidebar-sub-header-color: #e3ccff;
    --sidebar-user-label: #c9b8e8;
    --sidebar-user-value: #d9c2ff;
}

/* Main Content Styles */
.main-content[b-5e7xgrnotz] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
}

/* ── Capa decorativa electoral (hexágonos flotantes, no interactiva) ── */
.electoral-decor[b-5e7xgrnotz] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.electoral-decor .hex[b-5e7xgrnotz] {
    position: absolute;
    width: 90px;
    height: 100px;
    opacity: 0.05;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hexFloatElectoral-b-5e7xgrnotz 14s ease-in-out infinite;
}

.electoral-decor .hex i[b-5e7xgrnotz] {
    color: #ede9fe;
    font-size: 1.6rem;
}

.electoral-decor .hex.d1[b-5e7xgrnotz] { top: 8%;  right: 6%;  animation-delay: 0s; }
.electoral-decor .hex.d2[b-5e7xgrnotz] { top: 42%; right: 14%; animation-delay: -3s; transform: scale(0.7); }
.electoral-decor .hex.d3[b-5e7xgrnotz] { bottom: 10%; right: 5%; animation-delay: -6s; }
.electoral-decor .hex.d4[b-5e7xgrnotz] { top: 20%; left: 30%;  animation-delay: -9s; transform: scale(0.55); }
.electoral-decor .hex.d5[b-5e7xgrnotz] { bottom: 22%; left: 18%; animation-delay: -12s; transform: scale(0.65); }

@keyframes hexFloatElectoral-b-5e7xgrnotz {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -16px; }
}

/* Respeta la preferencia de movimiento reducido (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    .electoral-decor .hex[b-5e7xgrnotz] {
        animation: none;
    }
}

/* El contenido vive por encima de la capa decorativa.
   El header usa un nivel superior al resto para que los desplegables de su
   barra superior (notificaciones) se pinten por encima de pestañas y contenido,
   cuyo z-index interno no compite fuera de su propio contexto de apilamiento. */
.tabs-container[b-5e7xgrnotz],
.tab-content-area[b-5e7xgrnotz] {
    position: relative;
    z-index: 1;
}

.app-header[b-5e7xgrnotz] {
    position: relative;
    z-index: 30;
}

/* App Header */
.app-header[b-5e7xgrnotz] {
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e0e0e0;
    gap: 16px;
}

.header-left[b-5e7xgrnotz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Título Centro de Control Electoral — Lidera — color sólido #1B0A3D solicitado (mismo que headers/botones).
   Se unifica título e icono que lo acompaña en el mismo violeta oscuro para coherencia visual. */
.app-title-electoral[b-5e7xgrnotz] {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #1B0A3D !important;
    background: none !important;
    -webkit-text-fill-color: #1B0A3D !important;
    letter-spacing: -0.02em;
}

/* Insignia del contexto electoral — ahora magenta #1B0A3D para contraste con header */
.context-badge[b-5e7xgrnotz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #1B0A3D;
    background: #FCE8FF;
    border: 1px solid #E9B3FF;
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}

.context-badge i[b-5e7xgrnotz] {
    font-size: 0.68rem;
    color: #1B0A3D;
}

.header-center[b-5e7xgrnotz] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.header-right[b-5e7xgrnotz] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-date[b-5e7xgrnotz] {
    font-size: 0.85rem;
    color: #666;
    margin-right: 5px;
}

.connection-icon[b-5e7xgrnotz] {
    font-size: 1.2rem;
    color: #000;
    cursor: help;
}

.search-box[b-5e7xgrnotz] {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: #fff;
    position: relative;
}

.search-results-dropdown[b-5e7xgrnotz] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 250px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-result-item[b-5e7xgrnotz] {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    color: #333;
}

.search-result-item:hover[b-5e7xgrnotz] {
    background-color: #FCE8FF;
    color: #1B0A3D;
}

.search-icon[b-5e7xgrnotz] {
    margin-right: 10px;
    color: #666;
    width: 20px;
    text-align: center;
}

.search-label[b-5e7xgrnotz] {
    font-size: 0.85rem;
    color: #666;
    margin-right: 8px;
}

.search-box input[b-5e7xgrnotz] {
    border: none;
    outline: none;
    font-size: 0.85rem;
    width: 150px;
}

.btn-notifications[b-5e7xgrnotz] {
    background-color: #7c3aed;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}

.btn-tour[b-5e7xgrnotz] {
    background-color: #7c3aed;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-tour:hover[b-5e7xgrnotz] {
    background-color: #6d28d9;
}

/* Novedades button — color solido visible */
.btn-novedades[b-5e7xgrnotz] {
    background: #7c3aed !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(124,58,237,0.35);
    position: relative;
    opacity: 1 !important;
}

.btn-novedades:hover[b-5e7xgrnotz] {
    background: #6d28d9 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(124,58,237,0.45);
    transform: translateY(-2px);
}

.btn-novedades:active[b-5e7xgrnotz] {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(124,58,237,0.2);
}

.btn-novedades i[b-5e7xgrnotz] {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.user-avatar[b-5e7xgrnotz] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user-avatar img[b-5e7xgrnotz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Connection icon (online/offline) */
.connection-icon.online[b-5e7xgrnotz] {
    color: #28a745;
}
.connection-icon.offline[b-5e7xgrnotz] {
    color: #dc3545;
}

/* Notification badge */
.notification-badge[b-5e7xgrnotz] {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #fff;
    color: #7c3aed;
    font-size: 0.50rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #7c3aed;
    line-height: 1;
}

/* Notifications dropdown — compact redesign */
.notifications-wrapper[b-5e7xgrnotz] {
    position: relative;
}
.notifications-dropdown[b-5e7xgrnotz] {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1050;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    max-height: 420px;
}
.notifications-header[b-5e7xgrnotz] {
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
}
.notifications-header strong[b-5e7xgrnotz] {
    font-size: 0.85rem;
    color: #0f172a;
}
.notifications-list-scroll[b-5e7xgrnotz] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.notifications-list-scroll[b-5e7xgrnotz]::-webkit-scrollbar {
    width: 4px;
}
.notifications-list-scroll[b-5e7xgrnotz]::-webkit-scrollbar-track {
    background: transparent;
}
.notifications-list-scroll[b-5e7xgrnotz]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.notifications-list-scroll[b-5e7xgrnotz]::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
.notification-item[b-5e7xgrnotz] {
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.1s;
}
.notification-item:hover[b-5e7xgrnotz] {
    background-color: #f8fafc;
}
.notification-item.unread[b-5e7xgrnotz] {
    background-color: #f5f1ff;
    border-left: 3px solid #7c3aed;
    padding-left: 9px;
}
.notification-item i[b-5e7xgrnotz] {
    font-size: 0.78rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.notification-item .notif-title[b-5e7xgrnotz] {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notification-item .notif-time[b-5e7xgrnotz] {
    font-size: 0.63rem;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 6px;
}

/* Header icon button — hover teal para contraste con morado dominante */
.btn-header-icon[b-5e7xgrnotz] {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-header-icon:hover[b-5e7xgrnotz] {
    background-color: #FCE8FF;
    color: #1B0A3D;
}
.btn-header-icon.active[b-5e7xgrnotz] {
    color: #d97706;
}

/* Botón de acceso al sitio web institucional de Suros — teal */
.btn-suros-web[b-5e7xgrnotz] {
    color: #1B0A3D;
    font-size: 1.15rem;
    margin-right: 2px;
}
.btn-suros-web:hover[b-5e7xgrnotz] {
    color: #11061F;
    background-color: #FCE8FF;
}

/* Profile button with avatar */
.btn-perfil[b-5e7xgrnotz] {
    background: none;
    border: none;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: all 0.15s;
    overflow: hidden;
}
.btn-perfil:hover[b-5e7xgrnotz] {
    background-color: #FCE8FF;
    color: #1B0A3D;
}
.btn-perfil .user-avatar[b-5e7xgrnotz] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Control de tamaño de texto (usabilidad / accesibilidad) */
.font-scale-wrapper[b-5e7xgrnotz] {
    position: relative;
}

.font-scale-backdrop[b-5e7xgrnotz] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1040;
    cursor: default;
}

.font-scale-dropdown[b-5e7xgrnotz] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1050;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.font-scale-header[b-5e7xgrnotz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.font-scale-header strong[b-5e7xgrnotz] {
    font-size: 0.85rem;
    color: #0f172a;
}

.font-scale-percent[b-5e7xgrnotz] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1B0A3D;
    background: #FCE8FF;
    border-radius: 10px;
    padding: 2px 8px;
}

.font-scale-controls[b-5e7xgrnotz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.font-scale-btn[b-5e7xgrnotz] {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    min-width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    color: #333;
    font-size: 0.85rem;
    transition: all 0.15s;
}

.font-scale-btn:hover:not(:disabled)[b-5e7xgrnotz] {
    background-color: #FCE8FF;
    border-color: #1B0A3D;
    color: #1B0A3D;
}

.font-scale-btn:disabled[b-5e7xgrnotz] {
    opacity: 0.4;
    cursor: not-allowed;
}

.font-scale-suffix[b-5e7xgrnotz] {
    font-weight: 700;
}

.font-scale-indicator[b-5e7xgrnotz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.font-scale-letter[b-5e7xgrnotz] {
    line-height: 1;
    color: #0f172a;
    transition: font-size 0.15s;
}

.font-scale-dots[b-5e7xgrnotz] {
    display: flex;
    gap: 3px;
}

.font-scale-dots .dot[b-5e7xgrnotz] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d5db;
    transition: background-color 0.15s;
}

.font-scale-dots .dot.on[b-5e7xgrnotz] {
    background-color: #1B0A3D;
}

.font-scale-reset[b-5e7xgrnotz] {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6c757d;
    cursor: pointer;
    padding: 6px 0;
    border-top: 1px solid #f0f0f0;
    transition: color 0.15s;
}

.font-scale-reset:hover[b-5e7xgrnotz] {
    color: #1B0A3D;
}

/* Tabs Container */
.tabs-container[b-5e7xgrnotz] {
    height: 48px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 5px;
    gap: 5px;
}

.tab-scroll-btn[b-5e7xgrnotz] {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.2s;
}

.tab-scroll-btn:hover[b-5e7xgrnotz] {
    color: #666;
}

.tabs-scroll-area[b-5e7xgrnotz] {
    flex: 1;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    gap: 10px;
    padding: 0 10px;
}

.tabs-scroll-area[b-5e7xgrnotz]::-webkit-scrollbar {
    display: none;
}

.tab-item[b-5e7xgrnotz] {
    height: 44px !important;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    min-width: fit-content;
    white-space: nowrap;
    transition: all 0.2s;
    user-select: none;
}

.tab-item:hover[b-5e7xgrnotz] {
    background-color: #FAD6FF;
}

.tab-item.active[b-5e7xgrnotz] {
    min-height: 46px !important;
    padding: 4px 25px !important;
    background-color: #FCE8FF;
    color: #1B0A3D;
    border-bottom: 2px solid #1B0A3D;
    font-weight: 600;
}

.tab-close[b-5e7xgrnotz] {
    margin-left: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.tab-close i[b-5e7xgrnotz] {
    display: block;
    line-height: 1;
    margin-top: 2px;
}

.tab-close:hover[b-5e7xgrnotz] {
    opacity: 1;
    background-color: #fadbd8;
}

/* Tab Content */
.tab-content-area[b-5e7xgrnotz] {
    flex:1;
    overflow: auto;
    padding: 20px;
    position: relative;
    background-color: #fff;
    scrollbar-width: none;
}

.tab-pane[b-5e7xgrnotz] {
    display: none;
    height: 100%;
    width: 100%;
}

.tab-pane.active[b-5e7xgrnotz] {
    display: block;
    animation: fadeInElectoral-b-5e7xgrnotz 0.2s ease;
}

@keyframes fadeInElectoral-b-5e7xgrnotz {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .tab-pane.active[b-5e7xgrnotz] {
        animation: none;
    }
}

/* Estado de verificación de sesión */
.loading-container[b-5e7xgrnotz] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #faf8ff;
    color: #4c1d95;
}

.modal-title[b-5e7xgrnotz] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529 !important;
}
/* /Presentation/Components/Pages/Institucion/Components/TabFacturacion.razor.rz.scp.css */
/* PAN-116: TabFacturacion — CSS scoped propio */

.tfe-label[b-pth1w3g975] {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #6b7280;
    margin-bottom: 4px;
}

.tfe-label.required[b-pth1w3g975]::after {
    content: ' *';
    color: #EF4444;
}

.tfe-input[b-pth1w3g975] {
    display: block;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.tfe-input:focus[b-pth1w3g975] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
    outline: none;
}

.tfe-input[b-pth1w3g975]::placeholder {
    color: #9ca3af;
    font-size: 0.825rem;
}

/* Sensitivity badge */
.tfe-sensitive[b-pth1w3g975] {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.825rem;
    color: #92400e;
}

.tfe-sensitive i[b-pth1w3g975] {
    color: #d97706;
    font-size: 1rem;
}

.tfe-sensitive strong[b-pth1w3g975] {
    color: #78350f;
}

/* Password group */
.tfe-pw[b-pth1w3g975] {
    display: flex;
    width: 100%;
}

.tfe-pw .tfe-input[b-pth1w3g975] {
    border-right: none;
    border-radius: 6px 0 0 6px;
    flex: 1;
}

.tfe-pw-toggle[b-pth1w3g975] {
    border: 1px solid #d1d5db;
    border-left: none;
    border-radius: 0 6px 6px 0;
    background: #fff;
    color: #6b7280;
    padding: 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.tfe-pw-toggle:hover[b-pth1w3g975] {
    background: #f3f4f6;
    color: #374151;
}
/* /Presentation/Components/Pages/Institucion/Components/TabImagenes.razor.rz.scp.css */
/* PAN-116: TabImagenes — CSS scoped propio */

/* Info banner */
.tim-info[b-2fplh9vuy1] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.825rem;
    color: #1e40af;
}

.tim-info i[b-2fplh9vuy1] {
    color: #2563eb;
}

/* Image card */
.tim-card[b-2fplh9vuy1] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tim-card:hover[b-2fplh9vuy1] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.tim-card-header[b-2fplh9vuy1] {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tim-card-header h6[b-2fplh9vuy1] {
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tim-card-header h6 i[b-2fplh9vuy1] {
    color: #1a73e8;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.tim-date[b-2fplh9vuy1] {
    font-size: 0.7rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* Preview */
.tim-preview[b-2fplh9vuy1] {
    background: #f9fafb;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.tim-preview img[b-2fplh9vuy1] {
    max-height: 140px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.tim-preview img:hover[b-2fplh9vuy1] {
    transform: scale(1.02);
}

/* Placeholder */
.tim-placeholder[b-2fplh9vuy1] {
    background: #f9fafb;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #d1d5db;
}

.tim-placeholder i[b-2fplh9vuy1] {
    font-size: 2.5rem;
    color: #d1d5db;
}

.tim-placeholder span[b-2fplh9vuy1] {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
.tim-card-footer[b-2fplh9vuy1] {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: #fff;
    margin-top: auto;
}

.tim-card-footer .btn[b-2fplh9vuy1] {
    font-size: 0.8rem;
    border-radius: 6px;
    padding: 4px 12px;
}

.tim-loading[b-2fplh9vuy1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: #6b7280;
    font-size: 0.825rem;
}
/* /Presentation/Components/Pages/Institucion/Components/TabInfoGeneral.razor.rz.scp.css */
/* PAN-116: TabInfoGeneral — CSS scoped propio */

.tig-label[b-j30iuerrcn] {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #6b7280;
    margin-bottom: 4px;
}

.tig-label.required[b-j30iuerrcn]::after {
    content: ' *';
    color: #EF4444;
}

.tig-input[b-j30iuerrcn] {
    display: block;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.tig-input:focus[b-j30iuerrcn] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
    outline: none;
}

.tig-input[b-j30iuerrcn]::placeholder {
    color: #9ca3af;
    font-size: 0.825rem;
}
/* /Presentation/Components/Pages/Institucion/InstitucionPanel.razor.rz.scp.css */
.editor-container[b-99v5b2eyrc] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-99v5b2eyrc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-99v5b2eyrc] {
    font-size: 13px;
}

.editor-header-right[b-99v5b2eyrc] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inst-header-actions[b-99v5b2eyrc] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* ── Toast de acciones (Config RDA) en el header ── */

.inst-toast[b-99v5b2eyrc] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-99v5b2eyrc] {
    font-size: 0.8rem;
}

.inst-toast-success[b-99v5b2eyrc] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-99v5b2eyrc] {
    color: #059669;
}

.inst-toast-error[b-99v5b2eyrc] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-99v5b2eyrc] {
    color: #dc2626;
}

.editor-title-bar[b-99v5b2eyrc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-99v5b2eyrc],
.editor-title-bar .fw-semibold[b-99v5b2eyrc],
.editor-title-bar small[b-99v5b2eyrc] {
    color: #1a1d23 !important;
}

/* ===== PESTAÑAS — EXACTO EditorPlantillaBase ===== */
.editor-tabs.nav-tabs[b-99v5b2eyrc] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-99v5b2eyrc] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-99v5b2eyrc] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-99v5b2eyrc] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-99v5b2eyrc] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-99v5b2eyrc] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-99v5b2eyrc] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-99v5b2eyrc]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-99v5b2eyrc]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-99v5b2eyrc] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO — EXACTO EditorPlantillaBase ===== */
.editor-tab-content[b-99v5b2eyrc] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.editor-tab-content > *[b-99v5b2eyrc] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* Compact image card hover */
.inst-img-card[b-99v5b2eyrc] {
    transition: box-shadow 0.2s ease;
}
.inst-img-card:hover[b-99v5b2eyrc] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.inst-split-card[b-99v5b2eyrc] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.inst-split-card:hover[b-99v5b2eyrc] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

/* ── Header ── */

.inst-split-header[b-99v5b2eyrc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.inst-split-header h6[b-99v5b2eyrc] {
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.inst-split-header h6 i[b-99v5b2eyrc] {
    color: #1a73e8;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.inst-date-badge[b-99v5b2eyrc] {
    font-size: 0.65rem;
    color: #9ca3af;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* ── Body (two columns) ── */

.inst-split-body[b-99v5b2eyrc] {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* ── Left: Preview zone ── */

.inst-preview-zone[b-99v5b2eyrc] {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    border-right: 1px solid #f0f0f0;
}

.inst-preview-img[b-99v5b2eyrc] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 130px;
    position: relative;
}

.inst-preview-img img[b-99v5b2eyrc] {
    max-height: 110px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.inst-preview-img img:hover[b-99v5b2eyrc] {
    transform: scale(1.03);
}

.inst-placeholder[b-99v5b2eyrc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    min-height: 130px;
    color: #d1d5db;
}

.inst-placeholder i[b-99v5b2eyrc] {
    font-size: 2.2rem;
    color: #d1d5db;
}

.inst-placeholder span[b-99v5b2eyrc] {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Metadata overlay (formato, dimensiones, peso) ── */

.inst-img-meta[b-99v5b2eyrc] {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.inst-meta-badge[b-99v5b2eyrc] {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ── Actions ── */

.inst-actions[b-99v5b2eyrc] {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.inst-btn[b-99v5b2eyrc] {
    font-size: 0.75rem;
    border-radius: 3px;
    padding: 5px 12px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    font-weight: 500;
    line-height: 1.4;
}

.inst-btn-primary[b-99v5b2eyrc] {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.inst-btn-primary:hover:not(.disabled)[b-99v5b2eyrc] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.inst-btn-danger[b-99v5b2eyrc] {
    background: #fff;
    border-color: #fecaca;
    color: #dc2626;
}

.inst-btn-danger:hover:not(.disabled)[b-99v5b2eyrc] {
    background: #fef2f2;
    border-color: #fca5a5;
}

.inst-btn.disabled[b-99v5b2eyrc] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Right: Info zone ── */

.inst-info-zone[b-99v5b2eyrc] {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    gap: 8px;
    background: #fafafa;
}

.inst-info-header[b-99v5b2eyrc] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.inst-info-header i[b-99v5b2eyrc] {
    color: #1a73e8;
    font-size: 0.75rem;
}

.inst-info-item[b-99v5b2eyrc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inst-info-label[b-99v5b2eyrc] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
}

.inst-info-label i[b-99v5b2eyrc] {
    width: 14px;
    text-align: center;
    font-size: 0.65rem;
    color: #1a73e8;
}

.inst-info-desc[b-99v5b2eyrc] {
    margin: 0 0 0 19px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.45;
}

.inst-info-tip[b-99v5b2eyrc] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding: 6px 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    font-size: 0.68rem;
    color: #92400e;
    line-height: 1.4;
}

.inst-info-tip i[b-99v5b2eyrc] {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ============================================================
   Expand button en card header
   ============================================================ */

.inst-expand-btn[b-99v5b2eyrc] {
    background: none;
    border: 1px solid transparent;
    color: #9ca3af;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.75rem;
    padding: 0;
    line-height: 1;
}

.inst-expand-btn:hover[b-99v5b2eyrc] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

/* ============================================================
   Modal de ampliación de imagen (expand)
   ============================================================ */

.inst-expand-modal-img[b-99v5b2eyrc] {
    max-height: 420px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.inst-expand-preview[b-99v5b2eyrc] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    min-height: 400px;
    position: relative;
    padding: 24px;
}

.inst-expand-sidebar[b-99v5b2eyrc] {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

.inst-expand-sidebar-content[b-99v5b2eyrc] {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inst-expand-sidebar-footer[b-99v5b2eyrc] {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    gap: 8px;
}

.inst-expand-close[b-99v5b2eyrc] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 1rem;
}

.inst-expand-close:hover[b-99v5b2eyrc] {
    background: #f3f4f6;
    color: #111827;
}

.inst-expand-info-label[b-99v5b2eyrc] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
}

.inst-expand-info-label i[b-99v5b2eyrc] {
    width: 14px;
    text-align: center;
    font-size: 0.65rem;
    color: #1a73e8;
}

.inst-expand-info-desc[b-99v5b2eyrc] {
    margin: 2px 0 0 19px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.45;
}

.inst-expand-tip[b-99v5b2eyrc] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    font-size: 0.68rem;
    color: #92400e;
    line-height: 1.4;
}

.inst-expand-tip i[b-99v5b2eyrc] {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ============================================================
   PAN-116 / sv4-065 — Pestaña Información General
   Patrón visual: formulario de credenciales RDA (TabConfigRda)
   Inputs compactos (30px), labels con ícono, secciones con título
   ============================================================ */

.inf-section-title[b-99v5b2eyrc] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.inf-section-title i[b-99v5b2eyrc] {
    font-size: 0.76rem;
    margin-right: 5px;
    color: #1a73e8;
}

.inf-form-label[b-99v5b2eyrc] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-99v5b2eyrc] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.inf-form-control-sm[b-99v5b2eyrc] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.inf-form-actions[b-99v5b2eyrc] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}
/* /Presentation/Components/Pages/LoginElectoral/LoginCardElectoral.razor.rz.scp.css */
/* ── Card de login electoral: paleta morada acorde al fondo del contexto ──
   Basada en LoginCard.razor.css con acentos violeta (#7c3aed).
   ID de idea: login-electoral */

.login-card[b-gkej150fbj] {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    left: 6%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-container[b-gkej150fbj] {
    text-align: center;
    margin-bottom: 10px;
}

.login-logo[b-gkej150fbj] {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Company Info */
.company-info[b-gkej150fbj] {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 4px;
}
.company-name[b-gkej150fbj] {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.company-meta[b-gkej150fbj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}
.company-nitemail[b-gkej150fbj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.company-location[b-gkej150fbj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 0.72rem;
}
.company-location i[b-gkej150fbj] {
    font-size: 0.68rem;
    color: #94a3b8;
}
.company-sep[b-gkej150fbj] {
    color: #cbd5e1;
    font-weight: 300;
}

.login-title[b-gkej150fbj] {
    text-align: center;
    font-size: 1.3rem;
    color: #2d3436;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    width: 100%;
}

.login-title[b-gkej150fbj]:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: #7c3aed;
    margin: 5px auto 0;
    border-radius: 2px;
}

/* Icono (div con <i>) → morado suave tenue tomado de la paleta de los
   hexágonos laterales (--icon-secondary / --hex-fill): #EDE9FE.
   Input texto (donde se escribe usuario/contraseña) → amarillo #FFD166.
   Solo LoginElectoral (aislado); Login general conserva #f8f9fa. */
.input-group-text[b-gkej150fbj] {
    background-color: #EDE9FE;
    border-color: #EDE9FE;
    border-right: none;
    color: #7C3AED;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.input-group:focus-within .input-group-text[b-gkej150fbj],
.input-group:hover .input-group-text[b-gkej150fbj] {
    color: #E50914;
    background-color: #EDE9FE;
    border-color: #E50914;
}

.form-control[b-gkej150fbj] {
    border-left: none;
    box-shadow: none;
    background-color: #FFD166;
    border-color: #FFD166;
    color: #1B0A3D;
    height: 45px;
    font-size: 15px;
}

.form-control[b-gkej150fbj]::placeholder {
    color: #6b7280;
    opacity: 0.85;
}

.form-control:focus[b-gkej150fbj] {
    border-color: #E50914;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.18);
    background-color: #FFD166;
    color: #1B0A3D;
}

.login-btn[b-gkej150fbj] {
    background-image: linear-gradient(to right, #7c3aed 0%, #6d28d9 51%, #7c3aed 100%);
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
    color: white;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
}

.login-btn:hover[b-gkej150fbj] {
    background-position: right center;
}

.forgot-password[b-gkej150fbj] {
    color: #636e72;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover[b-gkej150fbj] {
    color: #7c3aed;
    text-decoration: underline;
}

.animate__animated[b-gkej150fbj] {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft[b-gkej150fbj] {
    animation-name: fadeInLeft-b-gkej150fbj;
}

@keyframes fadeInLeft-b-gkej150fbj {
    from { opacity: 0; transform: translate3d(-100%, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ── Compact layout for laptop screens ── */
@media (min-width: 1024px) and (max-height: 900px) {
    .login-card[b-gkej150fbj] {
        padding: 20px 28px;
        gap: 8px;
        top: 28%;
    }

    .logo-container[b-gkej150fbj] {
        margin-bottom: 4px;
    }

    .login-logo[b-gkej150fbj] {
        max-height: 80px;
    }

    .company-info[b-gkej150fbj] {
        padding-bottom: 5px;
        margin-bottom: 2px;
    }

    .login-title[b-gkej150fbj] {
        padding-bottom: 4px;
        font-size: 1.15rem;
    }

    .login-title[b-gkej150fbj]:after {
        margin: 3px auto 0;
        width: 120px;
    }

    .login-card .form-group[b-gkej150fbj] {
        margin-bottom: 0.5rem !important;
    }

    .login-card .mt-3[b-gkej150fbj] {
        margin-top: 0.5rem !important;
    }
}
/* /Presentation/Components/Pages/LoginElectoral/LoginElectoral.razor.rz.scp.css */
@font-face {
    font-family: Raleway-Bold;
    src: url('/fonts/raleway/phylactere.ttf');
}

/* ── Identidad visual electoral: índigo/violeta + ámbar ── */
.login-container-electoral[b-tr76qmb38f] {
    background: radial-gradient(ellipse at 50% 50%, #1b0a33 0%, #0d0518 45%, #05020a 80%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    transition: background 1s ease-in-out;

    /* CSS Variables scoped — paleta electoral */
    --hex-stroke: rgba(255,255,255,0.8);
    --hex-fill: rgba(181,123,255,0.22);
    --hex-fill-strong: rgba(181,123,255,0.32);
    --icon-primary: #ffd166;
    --icon-secondary: rgba(212,170,255,0.92);
    --glow: rgba(181,123,255,0.55);
}

.login-container-electoral.show-background[b-tr76qmb38f] {
    background: radial-gradient(ellipse at 50% 50%, #241040 0%, #120826 45%, #07030f 80%) !important;
}

.header-caption[b-tr76qmb38f] {
    position: fixed;
    top: 10%;
    left: 28%;
    color: #f3ecff;
    font-size: clamp(20px, 2.2vw + 8px, 32px);
    line-height: 1.25;
    letter-spacing: 0.3px;
    max-width: min(760px, 46vw);
    z-index: 10;
    padding: 12px 20px;
    border-radius: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
    background: linear-gradient(90deg, rgba(181,123,255,.45), rgba(30,10,60,.18));
    font-family: 'Raleway', sans-serif;
}

.bg-watermark[b-tr76qmb38f] {
    position: fixed;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.10;
    pointer-events: none;
    width: 60vw;
    max-width: 600px;
    object-fit: contain;
}

/* ── Hero & Animation Styles (Lidera) ── */
.hero-lidera[b-tr76qmb38f] {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, #1b0a33 0%, #0d0518 45%, #05020a 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transition: opacity 700ms ease;
}

.hero-lidera.hidden[b-tr76qmb38f] {
    opacity: 0;
    pointer-events: none;
}

.hero-stage[b-tr76qmb38f] {
    position: relative;
    width: min(1100px, 92vw);
    height: min(500px, 52vh);
}

.signal-svg[b-tr76qmb38f] {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    filter: drop-shadow(0 0 6px #b57bff) drop-shadow(0 0 16px rgba(181, 123, 255, .35));
}

.signal-svg svg[b-tr76qmb38f] {
    width: 100%;
    height: 120px;
}

.text-and-check[b-tr76qmb38f] {
    position: absolute;
    left: 45%;
    right: 0;
    top: 6%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: min(24px, 3vw);
    z-index: 2;
}

.lidera-block[b-tr76qmb38f] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.suros-text[b-tr76qmb38f] {
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 11em;
    display: inline-flex;
    align-items: start;
    /* Desplazado a la derecha y hacia arriba para dejar la ruta centrada */
    margin-top: -76px;
    margin-left: 72px;
    font-family: 'Raleway-Bold' !important;
}

.suros-text .su[b-tr76qmb38f] {
    opacity: 0;
    animation: fadeIn-b-tr76qmb38f 700ms ease forwards;
    animation-delay: 2.7s;
    margin-left: 0px !important;
}

.suros-text .u[b-tr76qmb38f] {
    opacity: 0;
    animation: fadeIn-b-tr76qmb38f 700ms ease forwards;
    animation-delay: 3.1s;
    margin-left: 0px !important;
}

.suros-text .r[b-tr76qmb38f] {
    opacity: 0;
    animation: fadeIn-b-tr76qmb38f 500ms ease forwards;
    animation-delay: 3.3s;
    margin-left: 0px !important;
}

.suros-text .s[b-tr76qmb38f] {
    opacity: 0;
    animation: fadeIn-b-tr76qmb38f 700ms ease forwards;
    animation-delay: 3.5s;
    margin-left: 0px !important;
}

.o-wrap[b-tr76qmb38f] {
    position: relative;
    display: inline-block;
}

.o[b-tr76qmb38f] {
    margin-top: -18px !important;
    display: inline-block;
    font-size: 1.1em;
    transform: translateY(-260%) scale(1.12);
    opacity: 0;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    animation: dropImpact-b-tr76qmb38f 1400ms cubic-bezier(.22, .8, .25, 1) 0.6s forwards, shockGlow-b-tr76qmb38f 900ms ease-out 1s both;
    will-change: transform, filter;
}

.tilde[b-tr76qmb38f] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -0.10em;
    opacity: 0;
    font-size: 1em;
    animation: accentImpact-b-tr76qmb38f 700ms cubic-bezier(.22, .8, .25, 1) 1.9s forwards;
    color: #ff2e2e;
}

/* Hero: LIDERA — único texto del hero electoral (Suros retirado). */
.lidera-text[b-tr76qmb38f] {
    color: #ffd166;
    font-weight: 700;
    font-size: 4.2em;
    letter-spacing: 1.2em;
    text-indent: 0.6em;
    opacity: 0;
    white-space: nowrap;
    margin-top: min(3vh, 12px);
    /* Alineado con el desplazamiento hacia la derecha de "Suros" */
    margin-left: 60px;
    text-shadow: 0 4px 18px rgba(255, 201, 77, .35), 0 2px 6px rgba(0,0,0,.4);
    font-family: 'Raleway-Bold', 'Raleway', sans-serif;
    animation: trackingIn-b-tr76qmb38f 1100ms cubic-bezier(.22, .8, .25, 1) 3.7s forwards;
    will-change: letter-spacing, opacity, transform;
}

@keyframes trackingIn-b-tr76qmb38f {
    0% { opacity: 0; letter-spacing: 1.2em; filter: blur(6px); }
    100% { opacity: 1; letter-spacing: 0.42em; filter: blur(0); }
}

/* ── Background Hexagons (electoral) ── */
.electoral-bg[b-tr76qmb38f] {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hex[b-tr76qmb38f] {
    position: absolute;
    width: clamp(88px, 10vw, 180px);
    height: clamp(88px, 10vw, 180px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)), var(--hex-fill);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25), 0 0 28px var(--glow);
    border: 2px solid var(--hex-stroke);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    backdrop-filter: blur(3px);
    will-change: transform, opacity;
}

.hex.strong[b-tr76qmb38f] {
    background: var(--hex-fill-strong);
}

.hex .icon[b-tr76qmb38f] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--icon-secondary);
    font-size: clamp(40px, 4.5vw, 65px);
    opacity: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    will-change: transform, opacity;
}

.hex.main .icon[b-tr76qmb38f] {
    color: var(--icon-primary);
    opacity: 0.95;
}

.hex.lg[b-tr76qmb38f] {
    width: clamp(120px, 12vw, 220px);
    height: clamp(120px, 12vw, 220px);
}

.hex.sm[b-tr76qmb38f] {
    width: clamp(64px, 7vw, 120px);
    height: clamp(64px, 7vw, 120px);
}

.hex.xs[b-tr76qmb38f] {
    width: clamp(48px, 5.4vw, 96px);
    height: clamp(48px, 5.4vw, 96px);
}

.hex .icon.sm[b-tr76qmb38f] {
    font-size: clamp(24px, 2.8vw, 36px);
}

.hex .icon.xs[b-tr76qmb38f] {
    font-size: clamp(18px, 2.2vw, 28px);
}

/* ── Pista de Objetivos Electorales (reemplaza .p1..p12) ──
   Mantiene .hex base (glass + blur + clip-path). Añade pista SVG + hitos secuenciales.
   Tonalidades: --hex-fill, --icon-secondary, #ffd166 (solo META). */
/* Alineada a la derecha pero con ancho ampliado (42vw) para mayor desplazamiento en X.
   preserveAspectRatio xMidYMid meet → punto perfectamente circular, sin distorsión.
   Contenedor ancho permite S más abierta (175↔25) bajo los hexágonos. */
.pista-svg[b-tr76qmb38f] {
    position: absolute;
    top: 0;
    right: 2%;
    left: auto;
    width: min(560px, 42vw);
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
    filter: drop-shadow(0 0 8px rgba(181,123,255,0.35));
}

.grid-pista[b-tr76qmb38f] {
    position: absolute;
    top: 0;
    right: 2%;
    left: auto;
    width: min(560px, 42vw);
    height: 100%;
    z-index: 2;
}

.pista-hito[b-tr76qmb38f] {
    position: absolute;
    width: clamp(56px, 6vw, 92px);
    height: clamp(56px, 6vw, 92px);
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0)), var(--hex-fill);
    box-shadow: 0 10px 24px rgba(0,0,0,.26), 0 0 18px var(--glow);
    border: 2px solid var(--hex-stroke);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    backdrop-filter: blur(3px);
    will-change: transform, opacity, box-shadow;
    opacity: 0.42;
    transform: translate(-50%, -50%);
    animation: pistaHitoActivo-b-tr76qmb38f 22s linear infinite;
}
.pista-hito .icon[b-tr76qmb38f] {
    position: absolute;
    left: 50%; top: 46%;
    transform: translate(-50%, -50%);
    color: var(--icon-secondary);
    font-size: clamp(20px, 2.4vw, 32px);
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.35));
}
.pista-hito.meta[b-tr76qmb38f] {
    width: clamp(112px, 11vw, 168px);
    height: clamp(112px, 11vw, 168px);
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0)), rgba(181,123,255,0.32);
    box-shadow: 0 18px 40px rgba(0,0,0,.34), 0 0 38px rgba(255,209,102,0.5);
    border-color: rgba(255,209,102,0.92);
    opacity: 0.96;
    animation: pistaMetaPulse-b-tr76qmb38f 2.2s ease-in-out infinite, pistaHitoActivo-b-tr76qmb38f 22s linear infinite;
}
.pista-hito.meta .icon[b-tr76qmb38f] { color: #ffd166; font-size: clamp(38px, 4.4vw, 62px); }
.pista-hito .hito-label[b-tr76qmb38f] {
    position: absolute;
    left: 50%; bottom: -24px;
    transform: translateX(-50%);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f3ecff;
    background: rgba(27,10,51,0.88);
    border: 1px solid rgba(181,123,255,0.28);
    padding: 2px 7px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.pista-hito .hito-num[b-tr76qmb38f] {
    position: absolute;
    top: 6px; right: 10px;
    font-size: 0.52rem;
    font-weight: 800;
    color: rgba(255,255,255,0.72);
    background: rgba(0,0,0,0.22);
    width: 18px; height: 18px;
    display: grid; place-items: center;
    border-radius: 50%;
}
.pista-hito.meta .hito-num[b-tr76qmb38f] { background: #ffd166; color: #1b0a33; }

/* Posiciones en S vertical — contenedor ancho 42vw, oscilación amplia 25↔75% para mayor recorrido en X.
   Culebrilla pasa por DEBAJO de h1..h5 (z-index 1 < 2), remata EN el centro de la META h6. */
.pista-hito.h1[b-tr76qmb38f] { left: 48%; top: 5%; }
.pista-hito.h2[b-tr76qmb38f] { left: 74%; top: 20%; }
.pista-hito.h3[b-tr76qmb38f] { left: 22%; top: 35.5%; }
.pista-hito.h4[b-tr76qmb38f] { left: 71%; top: 50.5%; }
.pista-hito.h5[b-tr76qmb38f] { left: 26%; top: 66.5%; }
.pista-hito.h6[b-tr76qmb38f] { left: 50%; top: 83.5%; }

/* Activación secuencial (22s = ciclo lento pista) */
.pista-hito.h1[b-tr76qmb38f] { animation-delay: 0s; }
.pista-hito.h2[b-tr76qmb38f] { animation-delay: 3.4s; }
.pista-hito.h3[b-tr76qmb38f] { animation-delay: 6.8s; }
.pista-hito.h4[b-tr76qmb38f] { animation-delay: 10.2s; }
.pista-hito.h5[b-tr76qmb38f] { animation-delay: 13.6s; }
.pista-hito.h6[b-tr76qmb38f] { animation-delay: 17s; }

@keyframes pistaHitoActivo-b-tr76qmb38f {
    0%   { opacity: 0.38; transform: translate(-50%,-50%) scale(0.96); box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 0 14px var(--glow); }
    6%   { opacity: 1;    transform: translate(-50%,-50%) scale(1.06); box-shadow: 0 16px 36px rgba(0,0,0,.3), 0 0 28px rgba(181,123,255,0.65); }
    16%  { opacity: 1;    transform: translate(-50%,-50%) scale(1);    box-shadow: 0 14px 30px rgba(0,0,0,.28), 0 0 22px var(--glow); }
    30%  { opacity: 0.42; transform: translate(-50%,-50%) scale(0.98); box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 0 14px var(--glow); }
    100% { opacity: 0.42; transform: translate(-50%,-50%) scale(0.98); }
}
@keyframes pistaMetaPulse-b-tr76qmb38f {
    0%,100% { box-shadow: 0 16px 36px rgba(0,0,0,.32), 0 0 22px rgba(255,209,102,0.35); }
    50%     { box-shadow: 0 18px 40px rgba(0,0,0,.36), 0 0 36px rgba(255,209,102,0.65); }
}
@keyframes pistaDashMove-b-tr76qmb38f {
    to { stroke-dashoffset: -48; }
}
#pistaObjetivosPath[b-tr76qmb38f] { animation: pistaDashMove-b-tr76qmb38f 2.8s linear infinite; }

@keyframes dropImpact-b-tr76qmb38f {
    0% { transform: translateY(-260%) scale(1.12); filter: blur(6px) drop-shadow(0 22px 44px rgba(0,0,0,.45)); opacity: 0; }
    20% { transform: translateY(-80%) scale(1.06); filter: blur(2px) drop-shadow(0 18px 36px rgba(0,0,0,.4)); opacity: 1; }
    60% { transform: translateY(10%) scale(0.95); filter: blur(0) drop-shadow(0 30px 45px rgba(0,0,0,.35)); }
    78% { transform: translateY(-6%) scale(1.02); }
    100% { transform: translateY(0) scale(1); filter: blur(0) drop-shadow(0 8px 16px rgba(0,0,0,.28)); opacity: 1; }
}

@keyframes accentImpact-b-tr76qmb38f {
    0% { opacity: 0; transform: translateX(-50%) translateY(-40%) rotate(-25deg) scale(0.85); filter: blur(4px); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-8%) rotate(6deg) scale(1.1); filter: blur(0); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
}

@keyframes shockGlow-b-tr76qmb38f {
    0% { text-shadow: 0 0 0 rgba(255,255,255,0); }
    35% { text-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 24px rgba(181,123,255,.5); }
    100% { text-shadow: 0 4px 14px rgba(0,0,0,.25); }
}

@keyframes fadeIn-b-tr76qmb38f {
    from { opacity: 0; filter: blur(2px); }
    to { opacity: 1; filter: blur(0); }
}

@keyframes pulse-b-tr76qmb38f {
    0%, 100% { transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
    50% { transform: translate(-50%, -50%) scale(1.2); filter: drop-shadow(0 0 15px rgba(212,170,255,0.8)); }
}

@keyframes floatY-b-tr76qmb38f {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes fadeSoft-b-tr76qmb38f {
    0% { opacity: .65; }
    50% { opacity: .35; }
    100% { opacity: .65; }
}

.hex.float[b-tr76qmb38f] { animation: floatY-b-tr76qmb38f 6s ease-in-out infinite; }
.hex.soft[b-tr76qmb38f] { animation: fadeSoft-b-tr76qmb38f 8s ease-in-out infinite; }
.hex .icon.pulse[b-tr76qmb38f] { animation: pulse-b-tr76qmb38f 2.6s ease-in-out infinite; }

/* ── Hitos de campaña sobre la ruta (iconos alineados a los anclas del trazo) ──
   left = x/1000 del viewBox; top = y del ancla en px menos el offset vertical
   (el SVG mide 120px de alto, por eso el mapeo vertical es 1:1). */
.hito-campania[b-tr76qmb38f] {
    position: absolute;
    transform: translate(-50%, -50%);
    color: #ffd166;
    font-size: 15px;
    line-height: 1;
    opacity: 0.35;
    pointer-events: auto;
    filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.55));
    animation: hitoActivo-b-tr76qmb38f 5.5s linear infinite;
}

.hito-campania.hito-1[b-tr76qmb38f] { left: 18%; top: 14px; animation-delay: 1.44s; }
.hito-campania.hito-2[b-tr76qmb38f] { left: 38%; top: 52px; animation-delay: 2.54s; }
.hito-campania.hito-3[b-tr76qmb38f] { left: 60%; top: 8px;  animation-delay: 3.75s; }
.hito-campania.hito-4[b-tr76qmb38f] { left: 82%; top: 38px; animation-delay: 4.96s; }

@keyframes hitoActivo-b-tr76qmb38f {
    0%   { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
    2%   { opacity: 1;    transform: translate(-50%, -50%) scale(1.35); }
    12%  { opacity: 1;    transform: translate(-50%, -50%) scale(1); }
    22%  { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
}

/* Respeta la preferencia de movimiento reducido (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    .hito-campania[b-tr76qmb38f],
    .pista-hito[b-tr76qmb38f],
    .pista-hito.meta[b-tr76qmb38f],
    #pistaObjetivosPath[b-tr76qmb38f],
    #viajeroPista[b-tr76qmb38f] {
        animation: none !important;
        opacity: 0.92;
    }
    #pistaObjetivosPath[b-tr76qmb38f] { stroke-dashoffset: 0; }
}

.animate__animated[b-tr76qmb38f] {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* ── Compact layout for laptop screens ── */
@media (min-width: 1024px) and (max-height: 900px) {
    .header-caption[b-tr76qmb38f] {
        top: 8%;
        font-size: clamp(18px, 2vw + 6px, 28px);
    }

    .suros-text[b-tr76qmb38f] {
        font-size: 9em;
    }

    .lidera-text[b-tr76qmb38f] {
        font-size: 3.4em;
    }
}
/* /Presentation/Components/Pages/Login/Login.razor.rz.scp.css */
@font-face {
    font-family: Raleway-Bold;
    src: url('/fonts/raleway/phylactere.ttf');
}

.login-container[b-7kpvvw98of] {
    background: radial-gradient(ellipse at 50% 50%, #001a33 0%, #000714 45%, #000 80%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    transition: background 1s ease-in-out;
    
    /* CSS Variables moved from :root for scoped isolation */
    --hex-stroke: rgba(255,255,255,0.8);
    --hex-fill: rgba(255,255,255,0.28);
    --hex-fill-strong: rgba(255,255,255,0.38);
    --icon-primary: #79c8ff;
    --icon-secondary: rgba(121,200,255,0.92);
    --glow: rgba(46,168,255,0.55);
}

.login-container.show-background[b-7kpvvw98of] {
    background: url('/images/fondologin.jpeg') center center / cover no-repeat fixed !important;
}

.header-caption[b-7kpvvw98of] {
    position: fixed;
    top: 10%;
    left: 22%;
    color: #eaf2f9;
    font-size: clamp(20px, 2.2vw + 8px, 32px);
    line-height: 1.25;
    letter-spacing: 0.3px;
    max-width: min(760px, 46vw);
    z-index: 10;
    padding: 12px 20px;
    border-radius: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
    background: linear-gradient(90deg, rgba(46,168,255,.5), rgba(0,43,77,.18));
    font-family: 'Raleway', sans-serif;
}

.bg-watermark[b-7kpvvw98of] {
    position: fixed;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.60;
    pointer-events: none;
    width: 60vw;
    max-width: 600px;
}

.bg-watermark-clinica[b-7kpvvw98of] {
    position: fixed;
    top: 81%;
    left: 61%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.40;
    pointer-events: none;
    width: 20vw;
    max-width: 200px;
}

.login-card[b-7kpvvw98of] {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    left: 6%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-container[b-7kpvvw98of] {
    text-align: center;
    margin-bottom: 10px;
}

.login-logo[b-7kpvvw98of] {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Company Info */
.company-info[b-7kpvvw98of] {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 4px;
}
.company-name[b-7kpvvw98of] {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.company-meta[b-7kpvvw98of] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}
.company-nitemail[b-7kpvvw98of] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.company-location[b-7kpvvw98of] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 0.72rem;
}
.company-location i[b-7kpvvw98of] {
    font-size: 0.68rem;
    color: #94a3b8;
}
.company-sep[b-7kpvvw98of] {
    color: #cbd5e1;
    font-weight: 300;
}

.login-title[b-7kpvvw98of] {
    text-align: center;
    font-size: 1.3rem;
    color: #2d3436;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    width: 100%;
}

.login-title[b-7kpvvw98of]:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: #3498db;
    margin: 5px auto 0;
    border-radius: 2px;
}

.input-group-text[b-7kpvvw98of] {
    background-color: #f8f9fa;
    border-right: none;
    color: #b2bec3;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.input-group:focus-within .input-group-text[b-7kpvvw98of],
.input-group:hover .input-group-text[b-7kpvvw98of] {
    color: #3498db;
    background-color: #fff;
    border-color: #3498db;
}

.form-control[b-7kpvvw98of] {
    border-left: none;
    box-shadow: none;
    background-color: #f8f9fa;
    height: 45px;
    font-size: 15px;
}

.form-control:focus[b-7kpvvw98of] {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.login-btn[b-7kpvvw98of] {
    background-image: linear-gradient(to right, #3498db 0%, #2980b9 51%, #3498db 100%);
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
    color: white;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
}

.login-btn:hover[b-7kpvvw98of] {
    background-position: right center;
}

.forgot-password[b-7kpvvw98of] {
    color: #636e72;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover[b-7kpvvw98of] {
    color: #3498db;
    text-decoration: underline;
}

/* Hero & Animation Styles */
.hero-suros[b-7kpvvw98of] {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, #001a33 0%, #000714 45%, #000 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transition: opacity 700ms ease;
}

.hero-suros.hidden[b-7kpvvw98of] {
    opacity: 0;
    pointer-events: none;
}

.hero-stage[b-7kpvvw98of] {
    position: relative;
    width: min(1100px, 92vw);
    height: min(500px, 52vh);
}

.signal-svg[b-7kpvvw98of] {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    filter: drop-shadow(0 0 6px #2ea8ff) drop-shadow(0 0 16px rgba(46, 168, 255, .35));
}

.signal-svg svg[b-7kpvvw98of] {
    width: 100%;
    height: 120px;
}

.text-and-check[b-7kpvvw98of] {
    position: absolute;
    left: 45%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: min(24px, 3vw);
    z-index: 2;
}

.suros-text[b-7kpvvw98of] {
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 13em;
    display: inline-flex;
    align-items: start;
    margin-top: -20px;
    font-family: 'Raleway-Bold' !important;
}

.suros-text .sur[b-7kpvvw98of],
.suros-text .su[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 700ms ease forwards;
    animation-delay: 2.7s;
    margin-left: 0px !important;
}

.suros-text .u[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 700ms ease forwards;
    animation-delay: 3.1s;
    margin-left: 0px !important;
}

.suros-text .r[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 500ms ease forwards;
    animation-delay: 3.3s;
    margin-left: 0px !important;
}

.suros-text .s[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 700ms ease forwards;
    animation-delay: 3.5s;
    margin-left: 0px !important;
}

.o-wrap[b-7kpvvw98of] {
    position: relative;
    display: inline-block;
}

.o[b-7kpvvw98of] {
    margin-top: -18px !important;
    display: inline-block;
    font-size: 1.1em;
    transform: translateY(-260%) scale(1.12);
    opacity: 0;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    animation: dropImpact-b-7kpvvw98of 1400ms cubic-bezier(.22, .8, .25, 1) 0.6s forwards, shockGlow-b-7kpvvw98of 900ms ease-out 1s both;
    will-change: transform, filter;
}

.tilde[b-7kpvvw98of] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -0.10em;
    opacity: 0;
    color: #ffffff;
    font-size: 1em;
    animation: accentImpact-b-7kpvvw98of 700ms cubic-bezier(.22, .8, .25, 1) 1.9s forwards;
    color: #ff2e2e;
}

/* Background Hexagons */
.medical-bg[b-7kpvvw98of] {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hex[b-7kpvvw98of] {
    position: absolute;
    width: clamp(88px, 10vw, 180px);
    height: clamp(88px, 10vw, 180px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)), var(--hex-fill);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25), 0 0 28px var(--glow);
    border: 2px solid var(--hex-stroke);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    backdrop-filter: blur(3px);
    will-change: transform, opacity;
}

.hex.strong[b-7kpvvw98of] {
    background: var(--hex-fill-strong);
}

.hex .icon[b-7kpvvw98of] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--icon-secondary);
    font-size: clamp(40px, 4.5vw, 65px);
    opacity: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    will-change: transform, opacity;
}

.hex.main .icon[b-7kpvvw98of] {
    color: var(--icon-primary);
    opacity: 0.95;
}

.hex.lg[b-7kpvvw98of] {
    width: clamp(120px, 12vw, 220px);
    height: clamp(120px, 12vw, 220px);
}

.hex.sm[b-7kpvvw98of] {
    width: clamp(64px, 7vw, 120px);
    height: clamp(64px, 7vw, 120px);
}

.hex.xs[b-7kpvvw98of] {
    width: clamp(48px, 5.4vw, 96px);
    height: clamp(48px, 5.4vw, 96px);
}

.hex .icon.sm[b-7kpvvw98of] {
    font-size: clamp(24px, 2.8vw, 36px);
}

.hex .icon.xs[b-7kpvvw98of] {
    font-size: clamp(18px, 2.2vw, 28px);
}

/* Positions */
.p1[b-7kpvvw98of] { left: 66%; top: 14%; }
.p2[b-7kpvvw98of] { left: 76%; top: 24%; }
.p3[b-7kpvvw98of] { left: 84%; top: 40%; }
.p4[b-7kpvvw98of] { left: 70%; top: 46%; }
.p5[b-7kpvvw98of] { left: 80%; top: 60%; }
.p6[b-7kpvvw98of] { left: 66%; top: 64%; }
.p7[b-7kpvvw98of] { left: 58%; top: 24%; }
.p8[b-7kpvvw98of] { left: 60%; top: 36%; }
.p9[b-7kpvvw98of] { left: 64%; top: 52%; }
.p10[b-7kpvvw98of] { left: 86%; top: 70%; }
.p11[b-7kpvvw98of] { left: 72%; top: 42%; }
.p12[b-7kpvvw98of] { left: 68%; top: 28%; }

@keyframes dropImpact-b-7kpvvw98of {
    0% { transform: translateY(-260%) scale(1.12); filter: blur(6px) drop-shadow(0 22px 44px rgba(0,0,0,.45)); opacity: 0; }
    20% { transform: translateY(-80%) scale(1.06); filter: blur(2px) drop-shadow(0 18px 36px rgba(0,0,0,.4)); opacity: 1; }
    60% { transform: translateY(10%) scale(0.95); filter: blur(0) drop-shadow(0 30px 45px rgba(0,0,0,.35)); }
    78% { transform: translateY(-6%) scale(1.02); }
    100% { transform: translateY(0) scale(1); filter: blur(0) drop-shadow(0 8px 16px rgba(0,0,0,.28)); opacity: 1; }
}

@keyframes accentImpact-b-7kpvvw98of {
    0% { opacity: 0; transform: translateX(-50%) translateY(-40%) rotate(-25deg) scale(0.85); filter: blur(4px); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-8%) rotate(6deg) scale(1.1); filter: blur(0); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
}

@keyframes shockGlow-b-7kpvvw98of {
    0% { text-shadow: 0 0 0 rgba(255,255,255,0); }
    35% { text-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 24px rgba(46,168,255,.5); }
    100% { text-shadow: 0 4px 14px rgba(0,0,0,.25); }
}

@keyframes fadeIn-b-7kpvvw98of {
    from { opacity: 0; filter: blur(2px); }
    to { opacity: 1; filter: blur(0); }
}

@keyframes pulse-b-7kpvvw98of {
    0%, 100% { transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
    50% { transform: translate(-50%, -50%) scale(1.2); filter: drop-shadow(0 0 15px rgba(121,200,255,0.8)); }
}

@keyframes floatY-b-7kpvvw98of {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes fadeSoft-b-7kpvvw98of {
    0% { opacity: .65; }
    50% { opacity: .35; }
    100% { opacity: .65; }
}

.hex.float[b-7kpvvw98of] { animation: floatY-b-7kpvvw98of 6s ease-in-out infinite; }
.hex.soft[b-7kpvvw98of] { animation: fadeSoft-b-7kpvvw98of 8s ease-in-out infinite; }
.hex .icon.pulse[b-7kpvvw98of] { animation: pulse-b-7kpvvw98of 2.6s ease-in-out infinite; }

.animate__animated[b-7kpvvw98of] {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft[b-7kpvvw98of] {
    animation-name: fadeInLeft-b-7kpvvw98of;
}

@keyframes fadeInLeft-b-7kpvvw98of {
    from { opacity: 0; transform: translate3d(-100%, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ── Compact layout for laptop screens ── */
@media (min-width: 1024px) and (max-height: 900px) {
    .login-card[b-7kpvvw98of] {
        padding: 20px 28px;
        gap: 8px;
        top: 28%;
    }

    .logo-container[b-7kpvvw98of] {
        margin-bottom: 4px;
    }

    .login-logo[b-7kpvvw98of] {
        max-height: 80px;
    }

    .company-info[b-7kpvvw98of] {
        padding-bottom: 5px;
        margin-bottom: 2px;
    }

    .login-title[b-7kpvvw98of] {
        padding-bottom: 4px;
        font-size: 1.15rem;
    }

    .login-title[b-7kpvvw98of]:after {
        margin: 3px auto 0;
        width: 120px;
    }

    .login-card .form-group[b-7kpvvw98of] {
        margin-bottom: 0.5rem !important;
    }

    .login-card .mt-3[b-7kpvvw98of] {
        margin-top: 0.5rem !important;
    }
}
/* /Presentation/Components/Pages/Login/LoginCard.razor.rz.scp.css */
.login-card[b-1elxo3xxzu] {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    left: 6%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-container[b-1elxo3xxzu] {
    text-align: center;
    margin-bottom: 10px;
}

.login-logo[b-1elxo3xxzu] {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Company Info */
.company-info[b-1elxo3xxzu] {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 4px;
}
.company-name[b-1elxo3xxzu] {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.company-meta[b-1elxo3xxzu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}
.company-nitemail[b-1elxo3xxzu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.company-location[b-1elxo3xxzu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 0.72rem;
}
.company-location i[b-1elxo3xxzu] {
    font-size: 0.68rem;
    color: #94a3b8;
}
.company-sep[b-1elxo3xxzu] {
    color: #cbd5e1;
    font-weight: 300;
}

.login-title[b-1elxo3xxzu] {
    text-align: center;
    font-size: 1.3rem;
    color: #2d3436;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    width: 100%;
}

.login-title[b-1elxo3xxzu]:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: #3498db;
    margin: 5px auto 0;
    border-radius: 2px;
}

.input-group-text[b-1elxo3xxzu] {
    background-color: #f8f9fa;
    border-right: none;
    color: #b2bec3;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.input-group:focus-within .input-group-text[b-1elxo3xxzu],
.input-group:hover .input-group-text[b-1elxo3xxzu] {
    color: #3498db;
    background-color: #fff;
    border-color: #3498db;
}

.form-control[b-1elxo3xxzu] {
    border-left: none;
    box-shadow: none;
    background-color: #f8f9fa;
    height: 45px;
    font-size: 15px;
}

.form-control:focus[b-1elxo3xxzu] {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.login-btn[b-1elxo3xxzu] {
    background-image: linear-gradient(to right, #3498db 0%, #2980b9 51%, #3498db 100%);
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
    color: white;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
}

.login-btn:hover[b-1elxo3xxzu] {
    background-position: right center;
}

.forgot-password[b-1elxo3xxzu] {
    color: #636e72;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover[b-1elxo3xxzu] {
    color: #3498db;
    text-decoration: underline;
}

/* Botón que dispara el modal de recuperación: misma apariencia que el enlace original. */
.forgot-password-btn[b-1elxo3xxzu] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.forgot-password-btn:disabled[b-1elxo3xxzu] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Modal de recuperación de contraseña (Idea: sv4-188) ── */
.rec-pass-backdrop[b-1elxo3xxzu] {
    background-color: rgba(15, 23, 42, 0.55);
    z-index: 100000;
}

.rec-pass-dialog[b-1elxo3xxzu] {
    background: #FAFAFA;
    border-radius: 12px;
    overflow: hidden;
}

.rec-pass-dialog .modal-header[b-1elxo3xxzu] {
    padding: 12px 18px;
}

.rec-pass-dialog .modal-header .modal-title[b-1elxo3xxzu] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.rec-pass-dialog .modal-header .modal-title i[b-1elxo3xxzu] {
    color: #3498db;
}

.rec-pass-dialog .modal-body[b-1elxo3xxzu] {
    padding: 16px 18px;
}

.rec-pass-dialog .modal-footer[b-1elxo3xxzu] {
    padding: 10px 18px;
    gap: 8px;
}

.rec-pass-dialog .modal-footer .btn[b-1elxo3xxzu] {
    height: 34px;
    font-size: 0.8rem;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
}

.rec-pass-dialog .form-control[b-1elxo3xxzu] {
    height: 42px;
    font-size: 0.9rem;
}

.rec-pass-dialog .alert[b-1elxo3xxzu] {
    font-size: 0.78rem;
    margin-bottom: 0;
}

.rec-pass-intro[b-1elxo3xxzu] {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 12px;
}

.rec-pass-hint[b-1elxo3xxzu] {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.5;
    margin: 12px 0 0;
}

.rec-pass-hint i[b-1elxo3xxzu] {
    color: #94a3b8;
    margin-right: 4px;
}

.animate__animated[b-1elxo3xxzu] {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft[b-1elxo3xxzu] {
    animation-name: fadeInLeft-b-1elxo3xxzu;
}

@keyframes fadeInLeft-b-1elxo3xxzu {
    from { opacity: 0; transform: translate3d(-100%, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ── Compact layout for laptop screens ── */
@media (min-width: 1024px) and (max-height: 900px) {
    .login-card[b-1elxo3xxzu] {
        padding: 20px 28px;
        gap: 8px;
        top: 28%;
    }

    .logo-container[b-1elxo3xxzu] {
        margin-bottom: 4px;
    }

    .login-logo[b-1elxo3xxzu] {
        max-height: 80px;
    }

    .company-info[b-1elxo3xxzu] {
        padding-bottom: 5px;
        margin-bottom: 2px;
    }

    .login-title[b-1elxo3xxzu] {
        padding-bottom: 4px;
        font-size: 1.15rem;
    }

    .login-title[b-1elxo3xxzu]:after {
        margin: 3px auto 0;
        width: 120px;
    }

    .login-card .form-group[b-1elxo3xxzu] {
        margin-bottom: 0.5rem !important;
    }

    .login-card .mt-3[b-1elxo3xxzu] {
        margin-top: 0.5rem !important;
    }
}
/* /Presentation/Components/Pages/Login/RestablecerPassword.razor.rz.scp.css */
/* Página pública de restablecimiento de contraseña. Idea: sv4-188. */

.reset-page[b-0so2c14jwo] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(ellipse at 50% 50%, #001a33 0%, #000714 45%, #000 80%);
    font-family: 'Raleway', 'Segoe UI', Arial, sans-serif;
}

.reset-card[b-0so2c14jwo] {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 40px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reset-logo[b-0so2c14jwo] {
    text-align: center;
}

.reset-logo img[b-0so2c14jwo] {
    max-width: 160px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.reset-title[b-0so2c14jwo] {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
    padding-bottom: 8px;
    position: relative;
}

.reset-title[b-0so2c14jwo]:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: #3498db;
    margin: 5px auto 0;
    border-radius: 2px;
}

/* Estado de carga inicial */
.reset-estado[b-0so2c14jwo] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* Resumen de la cuenta que se va a actualizar */
.reset-cuenta[b-0so2c14jwo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
}

.reset-cuenta-label[b-0so2c14jwo] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
}

.reset-cuenta-valor[b-0so2c14jwo] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.reset-cuenta-usuario[b-0so2c14jwo] {
    font-size: 0.75rem;
    color: #64748b;
}

/* Campos */
.reset-card .input-group-text[b-0so2c14jwo] {
    background-color: #f8f9fa;
    border-right: none;
    color: #b2bec3;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.reset-card .input-group:focus-within .input-group-text[b-0so2c14jwo] {
    color: #3498db;
    background-color: #fff;
    border-color: #3498db;
}

.reset-card .form-control[b-0so2c14jwo] {
    border-left: none;
    box-shadow: none;
    background-color: #f8f9fa;
    height: 45px;
    font-size: 15px;
}

.reset-card .form-control:focus[b-0so2c14jwo] {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.reset-card .alert[b-0so2c14jwo] {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Botón principal, alineado con el botón de ingreso del login */
.reset-btn[b-0so2c14jwo] {
    background-image: linear-gradient(to right, #3498db 0%, #2980b9 51%, #3498db 100%);
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
    color: white;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
    text-decoration: none;
    text-align: center;
}

.reset-btn:hover[b-0so2c14jwo] {
    background-position: right center;
    color: white;
}

.reset-btn:disabled[b-0so2c14jwo] {
    opacity: 0.75;
}

/* Botón secundario para volver al login */
a.reset-btn.btn-outline-secondary[b-0so2c14jwo] {
    background-image: none;
    background-color: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    box-shadow: none;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

a.reset-btn.btn-outline-secondary:hover[b-0so2c14jwo] {
    background-color: #f1f5f9;
    color: #334155;
}

@media (max-width: 576px) {
    .reset-card[b-0so2c14jwo] {
        padding: 22px 20px;
    }

    .reset-logo img[b-0so2c14jwo] {
        max-height: 80px;
    }
}
/* /Presentation/Components/Pages/Mensajeria/Campañas.razor.rz.scp.css */
.editor-container[b-gp3co5idz4] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-gp3co5idz4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-gp3co5idz4] {
    font-size: 13px;
}

.editor-title-bar[b-gp3co5idz4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-gp3co5idz4],
.editor-title-bar .fw-semibold[b-gp3co5idz4],
.editor-title-bar small[b-gp3co5idz4] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-gp3co5idz4] {
    background: #f8f9fa;
    border-top: none;
    flex:1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-gp3co5idz4] {
        padding: 12px 16px 16px;
    }
}

/* ── View toggle (cards/tabla) — estandarizado 26px (sv4-190) ── */
.view-toggle[b-gp3co5idz4] {
    display: inline-flex;
    gap: 0;
}

.view-toggle-btn[b-gp3co5idz4] {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #adb5bd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #fff;
    color: #6c757d;
    transition: all 0.12s;
}

.view-toggle-btn:first-child[b-gp3co5idz4] {
    border-radius: 5px 0 0 5px;
}

.view-toggle-btn:last-child[b-gp3co5idz4] {
    border-radius: 0 5px 5px 0;
    border-left: 0;
}

.view-toggle-btn.active[b-gp3co5idz4] {
    background: #0d6efd;
    color: #fff;
}

/* ── Tamaño de texto estándar tablas (0.8rem) ── */
.editor-tab-content .table[b-gp3co5idz4] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-gp3co5idz4] {
    font-size: 0.7rem;
}

/* ── Separador vertical en toolbar ── */
.toolbar-separator[b-gp3co5idz4] {
    width: 1px;
    height: 26px;
    background: #dee2e6;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ── Grid premium (sv4-190): filas delgadas con hover suave, patrón Mensajes ── */
.campanas-table-card .table > :not(caption) > * > *[b-gp3co5idz4] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.campanas-table-card .table-hover tbody tr:hover[b-gp3co5idz4] {
    background: #f8fafc !important;
}
/* /Presentation/Components/Pages/Mensajeria/Configuracion.razor.rz.scp.css */
.editor-container[b-03u0znokaz] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-03u0znokaz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-03u0znokaz] {
    font-size: 13px;
}

.editor-header-right[b-03u0znokaz] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Toast de acciones en el header (patrón Configuración de Aplicación) ── */
.inst-header-actions[b-03u0znokaz] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.inst-toast[b-03u0znokaz] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-03u0znokaz] {
    font-size: 0.8rem;
}

.inst-toast-success[b-03u0znokaz] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-03u0znokaz] {
    color: #059669;
}

.inst-toast-error[b-03u0znokaz] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-03u0znokaz] {
    color: #dc2626;
}

.editor-title-bar[b-03u0znokaz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-03u0znokaz],
.editor-title-bar .fw-semibold[b-03u0znokaz],
.editor-title-bar small[b-03u0znokaz] {
    color: #1a1d23 !important;
}

/* ===== PESTAÑAS — EXACTO InstitucionPanel ===== */
.editor-tabs.nav-tabs[b-03u0znokaz] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-03u0znokaz] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-03u0znokaz] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-03u0znokaz] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-03u0znokaz] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-03u0znokaz] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-03u0znokaz] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-03u0znokaz]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-03u0znokaz]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-03u0znokaz] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO — EXACTO InstitucionPanel ===== */
.editor-tab-content[b-03u0znokaz] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.editor-tab-content > *[b-03u0znokaz] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ===== SWITCHES COLOR WHATSAPP ===== */
.form-check-input:checked[role="switch"][b-03u0znokaz] {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}

/* El tamaño del interruptor lo define Bootstrap (2em x 1em): no se
   sobrescribe width/height porque su geometría depende de él. */
.form-check-input[role="switch"][b-03u0znokaz] {
    cursor: pointer;
}

/* ===== TABLA DE PAQUETES ===== */
.table th[b-03u0znokaz] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #5f6368;
}

.table td[b-03u0znokaz] {
    font-size: 0.85rem;
}

/* ===== FILA PLANTILLA WHATSAPP — integrada visualmente con su sección ===== */
/* La fila principal que antecede a una plantilla-row pierde su borde inferior */
.table tbody tr:has(+ tr.plantilla-row) td[b-03u0znokaz] {
    border-bottom: none !important;
}

/* La fila plantilla no tiene borde superior, solo el inferior de cierre */
.plantilla-row td[b-03u0znokaz] {
    border-top: none !important;
    border-bottom: 1px solid #e2e4e9;
    padding-top: 0.1rem !important;
    padding-bottom: 0.6rem !important;
}

/* Hover unificado: al pasar sobre cualquier fila del grupo, se iluminan ambas */
.table-hover tbody tr:hover + tr.plantilla-row td[b-03u0znokaz],
.table-hover tbody tr.plantilla-row:hover td[b-03u0znokaz] {
    background-color: var(--bs-table-hover-bg);
}

/* ── Grid premium Secciones y Paquetes (sv4-193): filas delgadas con hover suave, patrón Mensajes ── */
.config-secciones-card .table > :not(caption) > * > *[b-03u0znokaz],
.config-paquetes-card .table > :not(caption) > * > *[b-03u0znokaz] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.config-secciones-card .table-hover tbody tr:hover > *[b-03u0znokaz],
.config-paquetes-card .table-hover tbody tr:hover > *[b-03u0znokaz] {
    background: #f8fafc !important;
}

/* ===== ANIMACIONES ===== */
.notif-fade-out[b-03u0znokaz] {
    animation: notifFadeOut-b-03u0znokaz 0.3s ease forwards;
}

@keyframes notifFadeOut-b-03u0znokaz {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

@media (max-width: 767.98px) {
    .editor-tab-content > *[b-03u0znokaz] {
        padding: 12px 16px 16px;
    }

    .editor-tabs[b-03u0znokaz] {
        overflow-x: auto;
    }
}
/* /Presentation/Components/Pages/Mensajeria/Contactos.razor.rz.scp.css */
.editor-container[b-wxuhm12ufy] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-wxuhm12ufy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-wxuhm12ufy] {
    font-size: 13px;
}

.editor-title-bar[b-wxuhm12ufy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-wxuhm12ufy],
.editor-title-bar .fw-semibold[b-wxuhm12ufy],
.editor-title-bar small[b-wxuhm12ufy] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-wxuhm12ufy] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-wxuhm12ufy] {
        padding: 12px 16px 16px;
    }
}

/* ── Tamaño de texto tipo MenuManager (0.8rem) ── */
.editor-tab-content .table[b-wxuhm12ufy] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-wxuhm12ufy] {
    font-size: 0.7rem;
}

/* ── View toggle (cards/tabla) — estandarizado 26px (sv4-191) ── */
.view-toggle[b-wxuhm12ufy] {
    display: inline-flex;
    gap: 0;
}

.view-toggle-btn[b-wxuhm12ufy] {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #adb5bd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #fff;
    color: #6c757d;
    transition: all 0.12s;
}

.view-toggle-btn:first-child[b-wxuhm12ufy] {
    border-radius: 5px 0 0 5px;
}

.view-toggle-btn:last-child[b-wxuhm12ufy] {
    border-radius: 0 5px 5px 0;
    border-left: 0;
}

.view-toggle-btn.active[b-wxuhm12ufy] {
    background: #0d6efd;
    color: #fff;
}

/* ── Separador vertical en toolbar — estandarizado 26px (sv4-191) ── */
.toolbar-separator[b-wxuhm12ufy] {
    width: 1px;
    height: 26px;
    background: #dee2e6;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ── Grid premium (sv4-191): filas delgadas con hover suave, patrón Mensajes ── */
.contactos-table-card .table > :not(caption) > * > *[b-wxuhm12ufy] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.contactos-table-card .table-hover tbody tr:hover[b-wxuhm12ufy] {
    background: #f8fafc !important;
}

/* ── Estilos específicos de contactos ── */
.contact-item:hover[b-wxuhm12ufy] {
    background-color: #f0f7ff !important;
}

.contact-item-selected[b-wxuhm12ufy] {
    background-color: #e3f0fa !important;
    border-left: 3px solid #29b6f6;
}

.contact-info-popover[b-wxuhm12ufy] {
    box-shadow: 0 4px 16px rgba(41,182,246,0.15);
}
/* /Presentation/Components/Pages/Mensajeria/Dashboard.razor.rz.scp.css */
.editor-container[b-nsz7xx1v4e] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-nsz7xx1v4e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-nsz7xx1v4e] {
    font-size: 13px;
}

.editor-header-right[b-nsz7xx1v4e] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-nsz7xx1v4e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-nsz7xx1v4e],
.editor-title-bar .fw-semibold[b-nsz7xx1v4e],
.editor-title-bar small[b-nsz7xx1v4e] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-nsz7xx1v4e] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-nsz7xx1v4e] {
        padding: 12px 16px 16px;
    }
}

/* ─── Estilos originales del Dashboard (preservados) ─── */

.btn-quick-filter[b-nsz7xx1v4e] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-nsz7xx1v4e],
.btn-quick-filter.btn-outline-primary:focus[b-nsz7xx1v4e],
.btn-quick-filter.btn-primary:active[b-nsz7xx1v4e],
.btn-quick-filter.btn-outline-primary:active[b-nsz7xx1v4e] {
    box-shadow: none !important;
    transform: none !important;
}
/* /Presentation/Components/Pages/Mensajeria/DemandaInducida/DemandaInducidaPanel.razor.rz.scp.css */
.editor-container[b-54dziggsic] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* Modo embebido vía iframe desde SurosV2 legacy — sin chrome externo */
.editor-container.modo-embebido[b-54dziggsic] {
    height: calc(100vh - 24px);
    min-height: 420px;
    overflow: visible;
}

.editor-header[b-54dziggsic] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-54dziggsic] {
    font-size: 13px;
}

/* Toast a la derecha del breadcrumb — flotante (absolute) para NO desplazar la interfaz.
   No ocupa espacio en el flujo: al aparecer/desaparecer no mueve el layout. */
.editor-header-left[b-54dziggsic] {
    position: relative;
    /* Reserva visual a la derecha para que la toast flotante no tape el breadcrumb */
    padding-right: 8px;
}
.editor-header-left .inst-toast[b-54dziggsic] {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    flex: none;
    min-width: 0;
    max-width: 60%;
    overflow: hidden;
    margin-left: 0;
    flex-shrink: 0;
    z-index: 2060;
}
.editor-header-left .inst-toast span[b-54dziggsic] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
/* Fade-out preservando el centrado vertical (-50%) para que no salte al desaparecer */
.editor-header-left .inst-toast.notif-fade-out[b-54dziggsic] {
    animation: headerToastFadeOut-b-54dziggsic 0.3s ease forwards;
}
@keyframes headerToastFadeOut-b-54dziggsic {
    from { opacity: 1; transform: translateY(-50%); }
    to { opacity: 0; transform: translateY(calc(-50% - 8px)); }
}

.editor-header-right[b-54dziggsic] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inst-header-actions[b-54dziggsic] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* ── Toast de acciones (Config RDA) en el header ── */

.inst-toast[b-54dziggsic] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-54dziggsic] {
    font-size: 0.8rem;
}

.inst-toast-success[b-54dziggsic] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-54dziggsic] {
    color: #059669;
}

.inst-toast-error[b-54dziggsic] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-54dziggsic] {
    color: #dc2626;
}

.editor-title-bar[b-54dziggsic] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-54dziggsic],
.editor-title-bar .fw-semibold[b-54dziggsic],
.editor-title-bar small[b-54dziggsic] {
    color: #1a1d23 !important;
}

/* ===== PESTAÑAS — EXACTO EditorPlantillaBase ===== */
.editor-tabs.nav-tabs[b-54dziggsic] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-54dziggsic] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-54dziggsic] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-54dziggsic] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-54dziggsic] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-54dziggsic] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-54dziggsic] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-54dziggsic]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-54dziggsic]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-54dziggsic] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO — EXACTO EditorPlantillaBase ===== */
.editor-tab-content[b-54dziggsic] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.editor-tab-content > *[b-54dziggsic] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* Compact image card hover */
.inst-img-card[b-54dziggsic] {
    transition: box-shadow 0.2s ease;
}
.inst-img-card:hover[b-54dziggsic] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.inst-split-card[b-54dziggsic] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.inst-split-card:hover[b-54dziggsic] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

/* ── Header ── */

.inst-split-header[b-54dziggsic] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.inst-split-header h6[b-54dziggsic] {
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.inst-split-header h6 i[b-54dziggsic] {
    color: #1a73e8;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.inst-date-badge[b-54dziggsic] {
    font-size: 0.65rem;
    color: #9ca3af;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* ── Body (two columns) ── */

.inst-split-body[b-54dziggsic] {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* ── Left: Preview zone ── */

.inst-preview-zone[b-54dziggsic] {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    border-right: 1px solid #f0f0f0;
}

.inst-preview-img[b-54dziggsic] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 130px;
    position: relative;
}

.inst-preview-img img[b-54dziggsic] {
    max-height: 110px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.inst-preview-img img:hover[b-54dziggsic] {
    transform: scale(1.03);
}

.inst-placeholder[b-54dziggsic] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    min-height: 130px;
    color: #d1d5db;
}

.inst-placeholder i[b-54dziggsic] {
    font-size: 2.2rem;
    color: #d1d5db;
}

.inst-placeholder span[b-54dziggsic] {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Metadata overlay (formato, dimensiones, peso) ── */

.inst-img-meta[b-54dziggsic] {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.inst-meta-badge[b-54dziggsic] {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ── Actions ── */

.inst-actions[b-54dziggsic] {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.inst-btn[b-54dziggsic] {
    font-size: 0.75rem;
    border-radius: 3px;
    padding: 5px 12px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    font-weight: 500;
    line-height: 1.4;
}

.inst-btn-primary[b-54dziggsic] {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.inst-btn-primary:hover:not(.disabled)[b-54dziggsic] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.inst-btn-danger[b-54dziggsic] {
    background: #fff;
    border-color: #fecaca;
    color: #dc2626;
}

.inst-btn-danger:hover:not(.disabled)[b-54dziggsic] {
    background: #fef2f2;
    border-color: #fca5a5;
}

.inst-btn.disabled[b-54dziggsic] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Right: Info zone ── */

.inst-info-zone[b-54dziggsic] {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    gap: 8px;
    background: #fafafa;
}

.inst-info-header[b-54dziggsic] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.inst-info-header i[b-54dziggsic] {
    color: #1a73e8;
    font-size: 0.75rem;
}

.inst-info-item[b-54dziggsic] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inst-info-label[b-54dziggsic] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
}

.inst-info-label i[b-54dziggsic] {
    width: 14px;
    text-align: center;
    font-size: 0.65rem;
    color: #1a73e8;
}

.inst-info-desc[b-54dziggsic] {
    margin: 0 0 0 19px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.45;
}

.inst-info-tip[b-54dziggsic] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding: 6px 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    font-size: 0.68rem;
    color: #92400e;
    line-height: 1.4;
}

.inst-info-tip i[b-54dziggsic] {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ============================================================
   Expand button en card header
   ============================================================ */

.inst-expand-btn[b-54dziggsic] {
    background: none;
    border: 1px solid transparent;
    color: #9ca3af;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.75rem;
    padding: 0;
    line-height: 1;
}

.inst-expand-btn:hover[b-54dziggsic] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

/* ============================================================
   Modal de ampliación de imagen (expand)
   ============================================================ */

.inst-expand-modal-img[b-54dziggsic] {
    max-height: 420px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.inst-expand-preview[b-54dziggsic] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    min-height: 400px;
    position: relative;
    padding: 24px;
}

.inst-expand-sidebar[b-54dziggsic] {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

.inst-expand-sidebar-content[b-54dziggsic] {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inst-expand-sidebar-footer[b-54dziggsic] {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    gap: 8px;
}

.inst-expand-close[b-54dziggsic] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 1rem;
}

.inst-expand-close:hover[b-54dziggsic] {
    background: #f3f4f6;
    color: #111827;
}

.inst-expand-info-label[b-54dziggsic] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
}

.inst-expand-info-label i[b-54dziggsic] {
    width: 14px;
    text-align: center;
    font-size: 0.65rem;
    color: #1a73e8;
}

.inst-expand-info-desc[b-54dziggsic] {
    margin: 2px 0 0 19px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.45;
}

.inst-expand-tip[b-54dziggsic] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    font-size: 0.68rem;
    color: #92400e;
    line-height: 1.4;
}

.inst-expand-tip i[b-54dziggsic] {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ============================================================
   PAN-116 / sv4-065 — Pestaña Información General
   Patrón visual: formulario de credenciales RDA (TabConfigRda)
   Inputs compactos (30px), labels con ícono, secciones con título
   ============================================================ */

.inf-section-title[b-54dziggsic] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.inf-section-title i[b-54dziggsic] {
    font-size: 0.76rem;
    margin-right: 5px;
    color: #1a73e8;
}

.inf-form-label[b-54dziggsic] {
    font-size: 0.74rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.inf-form-label i[b-54dziggsic] {
    font-size: 0.68rem;
    margin-right: 3px;
    color: #1a73e8;
}

.inf-form-control-sm[b-54dziggsic] {
    height: 30px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.inf-form-actions[b-54dziggsic] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}
/* /Presentation/Components/Pages/Mensajeria/IntencionAsistencia.razor.rz.scp.css */
/* Estándar visual de la pestaña Intención de asistencia — réplica de SugerenciaAgendamiento.
   Idea sv4-348. */

.editor-container[b-v3rabmfi7j] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-v3rabmfi7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-v3rabmfi7j] {
    font-size: 13px;
}

.editor-header-right[b-v3rabmfi7j] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-v3rabmfi7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-v3rabmfi7j],
.editor-title-bar .fw-semibold[b-v3rabmfi7j],
.editor-title-bar small[b-v3rabmfi7j] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-v3rabmfi7j] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-v3rabmfi7j] {
        padding: 12px 16px 16px;
    }
}

/* ── Tamaño de texto tipo MenuManager (0.8rem) ── */
.editor-tab-content .table[b-v3rabmfi7j] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-v3rabmfi7j] {
    font-size: 0.7rem;
}

/* ── Grid de listas: filas mas compactas (reduce ~10px por fila respecto al padding 0.5rem de Bootstrap) ── */
#intencion-table-card table tbody > tr > td[b-v3rabmfi7j] {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* ── View toggle (cards/tabla) — patrón Listas de Contactos ── */
.view-toggle[b-v3rabmfi7j] {
    display: inline-flex;
    gap: 0;
    margin-top: 1px;
}

.view-toggle-btn[b-v3rabmfi7j] {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #adb5bd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #fff;
    color: #6c757d;
    transition: all 0.12s;
}

.view-toggle-btn:first-child[b-v3rabmfi7j] {
    border-radius: 5px 0 0 5px;
}

.view-toggle-btn:last-child[b-v3rabmfi7j] {
    border-radius: 0 5px 5px 0;
    border-left: 0;
}

.view-toggle-btn.active[b-v3rabmfi7j] {
    background: #0d6efd;
    color: #fff;
}

/* ── Acciones de la toolbar (contenedor del toast) ── */
.inst-header-actions[b-v3rabmfi7j] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.editor-container.modo-embebido[b-v3rabmfi7j] {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.editor-container.modo-embebido .editor-tab-content[b-v3rabmfi7j] {
    padding: 16px 16px 16px !important;
    overflow: visible !important;
}

.editor-container.modo-embebido .card[b-v3rabmfi7j],
.editor-container.modo-embebido .card-body[b-v3rabmfi7j] {
    overflow: visible !important;
}

/* Resumen en modo embebido: mismo criterio de tamaño que Sugerencia. */
.editor-container.modo-embebido #intencion-summary-card .card-body[b-v3rabmfi7j] {
    padding: 12px 12px !important;
}

.editor-container.modo-embebido #intencion-summary-card[b-v3rabmfi7j] {
    font-size: 0.92em;
}

/* Coincide con las fuentes estandarizadas de las cards Resumen del grupo. */
#intencion-summary-card .small[b-v3rabmfi7j],
#intencion-summary-card .card-body[b-v3rabmfi7j] {
    font-size: 0.72rem !important;
}

#intencion-summary-card strong[b-v3rabmfi7j] {
    font-size: 0.78rem !important;
}
/* /Presentation/Components/Pages/Mensajeria/Mensajes.razor.rz.scp.css */
.editor-container[b-0ekbhvrky0] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-0ekbhvrky0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-0ekbhvrky0] {
    font-size: 13px;
}

.editor-header-right[b-0ekbhvrky0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-0ekbhvrky0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-0ekbhvrky0],
.editor-title-bar .fw-semibold[b-0ekbhvrky0],
.editor-title-bar small[b-0ekbhvrky0] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-0ekbhvrky0] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-0ekbhvrky0] {
        padding: 12px 16px 16px;
    }
}

/* ── Tamaño de texto estándar tablas (0.8rem) ── */
.editor-tab-content .table[b-0ekbhvrky0] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-0ekbhvrky0] {
    font-size: 0.7rem;
}

/* ─── Estilos originales del panel de Mensajes (preservados) ─── */

/* Botones de filtro rápido: altura estándar 26px (FILTERS.md regla 6) sin salto al cambiar estado. */
.btn-quick-filter[b-0ekbhvrky0] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

/* Asegura que el botón de búsqueda (lupa) tenga exactamente la misma altura que el input */
.btn-quick-filter.btn-primary:focus[b-0ekbhvrky0],
.btn-quick-filter.btn-outline-primary:focus[b-0ekbhvrky0],
.btn-quick-filter.btn-primary:active[b-0ekbhvrky0],
.btn-quick-filter.btn-outline-primary:active[b-0ekbhvrky0] {
    box-shadow: none !important;
    transform: none !important;
}

/* Alinear inputs a 26px estándar con font-size consistente — patrón filtros premium */
.form-control[b-0ekbhvrky0],
.form-select[b-0ekbhvrky0] {
    box-sizing: border-box;
}

/* Estilo del input-group cuando hay botón de búsqueda (sin usar .input-group de Bootstrap) */
.search-input-wrapper input.form-control[b-0ekbhvrky0] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.search-input-wrapper button.btn[b-0ekbhvrky0] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Fix para el icono del calendario nativo de inputs date en webkit (Chrome/Edge) */
input[type="date"][b-0ekbhvrky0]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-0ekbhvrky0]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ===========================
   MODAL DE DETALLE - ESTILOS
   =========================== */

/* Card de información compacta (Contacto, Estado, Campaña, Plantilla) */
.modal-info-card[b-0ekbhvrky0] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.modal-info-card:hover[b-0ekbhvrky0] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.modal-info-label[b-0ekbhvrky0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-info-label i[b-0ekbhvrky0] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.modal-info-value[b-0ekbhvrky0] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.modal-info-sub[b-0ekbhvrky0] {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Línea de tiempo con timeline visual */
.modal-timeline[b-0ekbhvrky0] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-timeline-header[b-0ekbhvrky0] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-timeline-header i[b-0ekbhvrky0] {
    color: #0d6efd;
}

.modal-timeline-body[b-0ekbhvrky0] {
    padding: 12px 14px;
}

.timeline-item[b-0ekbhvrky0] {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 12px;
}

.timeline-item:not(:last-child)[b-0ekbhvrky0]::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item:last-child[b-0ekbhvrky0] {
    padding-bottom: 0;
}

.timeline-dot[b-0ekbhvrky0] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #e9ecef;
    position: relative;
    z-index: 1;
}

.timeline-content[b-0ekbhvrky0] {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.timeline-label[b-0ekbhvrky0] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
}

.timeline-time[b-0ekbhvrky0] {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 1px;
}

/* Contenido del mensaje */
.modal-content-box[b-0ekbhvrky0] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-content-header[b-0ekbhvrky0] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-content-header i[b-0ekbhvrky0] {
    color: #0d6efd;
}

.modal-content-text[b-0ekbhvrky0] {
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #212529;
    white-space: pre-wrap;
    max-height: 160px;
    overflow-y: auto;
    word-break: break-word;
}

/* Scrollbar sutil para el contenido del mensaje */
.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar {
    width: 6px;
}

.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* ===========================
   HIGHLIGHT DE BÚSQUEDA
   =========================== */
mark.search-highlight[b-0ekbhvrky0] {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* Tarjeta clickeable: cursor de mano y foco visible para accesibilidad */
.stat-card-filterable[b-0ekbhvrky0] {
    cursor: pointer;
    user-select: none;
}

.stat-card-filterable:focus-visible[b-0ekbhvrky0] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

/* Tarjeta con filtro activo: anillo exterior para indicar selección */
.stat-card-filterable-active[b-0ekbhvrky0] {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(13, 110, 253, 0.55) !important;
    transform: translateY(-2px);
}

/* Badge "Activo" sobre la tarjeta seleccionada */
.stat-card-badge-active[b-0ekbhvrky0] {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.row-mensaje-dblclick[b-0ekbhvrky0] {
    cursor: pointer;
}

.row-mensaje-dblclick:hover[b-0ekbhvrky0] {
    background-color: #eef4ff;
}

.filter-active-badge[b-0ekbhvrky0] {
    display: inline-flex;
    align-items: center;
    background-color: #0d6efd;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    animation: pulse-active-b-0ekbhvrky0 1.5s ease-in-out infinite;
}

@keyframes pulse-active-b-0ekbhvrky0 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ── Icono de exportación rápida en cada card estadística ── */
.stat-card-export-btn[b-0ekbhvrky0] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 6px;
    background: rgba(255,255,255,0.85);
    color: #198754;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.9;
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.stat-card-export-btn:hover[b-0ekbhvrky0] {
    opacity: 1;
    transform: scale(1.08);
    background: #ffffff;
}

.stat-card-export-btn:focus-visible[b-0ekbhvrky0] {
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
    opacity: 1;
}

.stat-card-export-btn-light[b-0ekbhvrky0] {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.55);
    color: #ffffff;
}

.stat-card-export-btn-light:hover[b-0ekbhvrky0] {
    background: rgba(255,255,255,0.4);
}

/* ── Overlay centrado de descarga de documento (cualquier exportación Excel) ── */
.doc-download-overlay[b-0ekbhvrky0] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
}

.doc-download-box[b-0ekbhvrky0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    max-width: 90vw;
    padding: 22px 28px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.doc-download-message[b-0ekbhvrky0] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* ── Toolbar de filtros en una sola fila (sv4-261) ──────────────────
   "Lista envío" vive en una columna compacta dentro de la toolbar.
   Se ensancha el dropdown del combobox para que los nombres de lista
   (que pueden ser largos) se lean bien al buscar. */
#mensajes-filtro-lista[b-0ekbhvrky0]  .searchable-select-dropdown {
    min-width: 340px;
}

/* /Presentation/Components/Pages/Mensajeria/Plantillas.razor.rz.scp.css */
.editor-container[b-u8a9ld9qv7] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-u8a9ld9qv7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-u8a9ld9qv7] {
    font-size: 13px;
}

.editor-header-right[b-u8a9ld9qv7] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-u8a9ld9qv7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-u8a9ld9qv7],
.editor-title-bar .fw-semibold[b-u8a9ld9qv7],
.editor-title-bar small[b-u8a9ld9qv7] {
    color: #1a1d23 !important;
}

/* ── View toggle (cards/tabla) — estandarizado 26px (sv4-191) ── */
.view-toggle[b-u8a9ld9qv7] {
    display: inline-flex;
    gap: 0;
}

/* ── Separador vertical en toolbar — estandarizado 26px (sv4-191) ── */
.toolbar-separator[b-u8a9ld9qv7] {
    width: 1px;
    height: 26px;
    background: #dee2e6;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 2px;
}

.editor-tab-content[b-u8a9ld9qv7] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-u8a9ld9qv7] {
        padding: 12px 16px 16px;
    }
}

/* ── Tamaño de texto tipo MenuManager (0.8rem) ── */
.editor-tab-content .table[b-u8a9ld9qv7] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-u8a9ld9qv7] {
    font-size: 0.7rem;
}

/* ── Grid premium (sv4-192): filas delgadas con hover suave, patrón Mensajes ── */
.plantillas-table-card .table > :not(caption) > * > *[b-u8a9ld9qv7] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.plantillas-table-card .table-hover tbody tr:hover[b-u8a9ld9qv7] {
    background: #f8fafc !important;
}
/* /Presentation/Components/Pages/Mensajeria/RespuestasWebhook.razor.rz.scp.css */
.editor-container[b-40dca6691p] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-40dca6691p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-40dca6691p] {
    font-size: 13px;
}

.editor-header-right[b-40dca6691p] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-40dca6691p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-40dca6691p],
.editor-title-bar .fw-semibold[b-40dca6691p],
.editor-title-bar small[b-40dca6691p] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-40dca6691p] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-40dca6691p] {
        padding: 12px 16px 16px;
    }
}

/* ── Filtros: botones quick-filter altura estándar 26px — patrón FILTERS.md regla 6 *─ */
.btn-quick-filter[b-40dca6691p] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-40dca6691p],
.btn-quick-filter.btn-outline-primary:focus[b-40dca6691p],
.btn-quick-filter.btn-primary:active[b-40dca6691p],
.btn-quick-filter.btn-outline-primary:active[b-40dca6691p] {
    box-shadow: none !important;
    transform: none !important;
}

.form-control[b-40dca6691p],
.form-select[b-40dca6691p] {
    box-sizing: border-box;
}

.search-input-wrapper input.form-control[b-40dca6691p] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.search-input-wrapper button.btn[b-40dca6691p] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

input[type="date"][b-40dca6691p]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-40dca6691p]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ============================================================
   Grid — mismo patrón que Gestión de Funcionarios (func-grid-*)
   Adaptado a 10 columnas: ID | Contacto | Teléfono | Botón | Acción | Cita | Resultado | Fecha | WID | Acciones
   ============================================================ */

.wh-grid-panel[b-40dca6691p] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wh-grid-wrapper[b-40dca6691p] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.wh-grid-wrapper[b-40dca6691p]::-webkit-scrollbar {
    width: 5px;
}

.wh-grid-wrapper[b-40dca6691p]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.wh-grid-wrapper[b-40dca6691p]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* Cabecera sticky */
.wh-grid-header[b-40dca6691p] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Filas */
.wh-grid-row[b-40dca6691p] {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f3f4f6;
    gap: 8px;
    transition: background 0.12s;
    min-height: 40px;
    font-size: 0.8rem;
    cursor: pointer;
}

.wh-grid-row:hover[b-40dca6691p] {
    background: #f9fafb;
}

.wh-grid-row:last-child[b-40dca6691p] {
    border-bottom: none;
}

/* Columnas — anchos fijos + flex para Contacto/Botón */
.wh-col-id[b-40dca6691p] {
    width: 50px;
    flex-shrink: 0;
    color: #6b7280;
    font-size: 0.78rem;
}

.wh-col-contacto[b-40dca6691p] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wh-col-telefono[b-40dca6691p] {
    width: 125px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.78rem;
}

.wh-col-boton[b-40dca6691p] {
    width: 150px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    color: #212529;
    display: flex;
    align-items: center;
}

.wh-col-accion[b-40dca6691p] {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wh-col-cita[b-40dca6691p] {
    width: 75px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* Columna Paciente ID — para relacionar la respuesta con el paciente (PACI_ID) */
.wh-col-paciente[b-40dca6691p] {
    width: 80px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.74rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Columna Nombre Paciente — nombre completo del paciente real */
.wh-col-paciente-nombre[b-40dca6691p] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wh-col-resultado[b-40dca6691p] {
    width: 95px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wh-col-fecha[b-40dca6691p] {
    width: 135px;
    flex-shrink: 0;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.76rem;
}

.wh-col-wid[b-40dca6691p] {
    width: 105px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem;
    color: #9ca3af;
}

.wh-col-acciones[b-40dca6691p] {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
    opacity: 0.35;
    transition: opacity 0.15s;
}

.wh-grid-row:hover .wh-col-acciones[b-40dca6691p] {
    opacity: 1;
}

/* ── Botones de acción — idénticos a FuncionarioManager .btn-action ── */
.btn-action[b-40dca6691p] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-40dca6691p] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-action.text-primary:hover[b-40dca6691p] {
    background: #e8f0fe;
    border-color: #d2e3fc;
    color: #1a73e8;
}

.btn-action.text-danger:hover[b-40dca6691p] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ── Badges dentro de la grid ── */
.wh-grid-row .badge[b-40dca6691p] {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 7px;
    line-height: 1;
}

/* ── Highlight de búsqueda ── */
mark.search-highlight[b-40dca6691p] {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* ── Tarjetas estadísticas filterables ── */
.stat-card-filterable[b-40dca6691p] {
    cursor: pointer;
    user-select: none;
    transition: transform 0.12s, box-shadow 0.12s;
}

.stat-card-filterable:focus-visible[b-40dca6691p] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

.stat-card-filterable-active[b-40dca6691p] {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(13, 110, 253, 0.55) !important;
    transform: translateY(-2px);
}

.stat-card-badge-active[b-40dca6691p] {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.row-mensaje-dblclick[b-40dca6691p] {
    cursor: pointer;
}

/* ── Modal detalle (reutiliza estilos de Mensajes) ── */
.modal-info-card[b-40dca6691p] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.modal-info-card:hover[b-40dca6691p] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.modal-info-label[b-40dca6691p] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-info-label i[b-40dca6691p] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.modal-info-value[b-40dca6691p] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.modal-info-sub[b-40dca6691p] {
    font-size: 0.8rem;
    color: #6c757d;
}

.modal-timeline[b-40dca6691p] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-timeline-header[b-40dca6691p] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-timeline-header i[b-40dca6691p] {
    color: #0d6efd;
}

.modal-timeline-body[b-40dca6691p] {
    padding: 12px 14px;
}

.timeline-item[b-40dca6691p] {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 12px;
}

.timeline-item:not(:last-child)[b-40dca6691p]::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item:last-child[b-40dca6691p] {
    padding-bottom: 0;
}

.timeline-dot[b-40dca6691p] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #e9ecef;
    position: relative;
    z-index: 1;
}

.timeline-content[b-40dca6691p] {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.timeline-label[b-40dca6691p] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
}

.timeline-time[b-40dca6691p] {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 1px;
}

/* ── Responsive: colapsar columnas anchas en móvil ── */
@media (max-width: 1200px) {
    .wh-col-wid[b-40dca6691p] {
        display: none;
    }
}

@media (max-width: 992px) {
    .wh-col-cita[b-40dca6691p] {
        display: none;
    }
    .wh-col-boton[b-40dca6691p] {
        width: 110px;
    }
}

/* ── Icono de exportación rápida en cada card estadística ── */
.stat-card-filterable[b-40dca6691p] {
    position: relative;
}

.stat-card-export-btn[b-40dca6691p] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 6px;
    background: rgba(255,255,255,0.85);
    color: #198754;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.9;
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.stat-card-export-btn:hover[b-40dca6691p] {
    opacity: 1;
    transform: scale(1.08);
    background: #ffffff;
}

.stat-card-export-btn:focus-visible[b-40dca6691p] {
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
    opacity: 1;
}

.stat-card-export-btn-light[b-40dca6691p] {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.55);
    color: #ffffff;
}

.stat-card-export-btn-light:hover[b-40dca6691p] {
    background: rgba(255,255,255,0.4);
}

/* ── Overlay centrado de descarga de documento (cualquier exportación Excel) ── */
.doc-download-overlay[b-40dca6691p] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
}

.doc-download-box[b-40dca6691p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    max-width: 90vw;
    padding: 22px 28px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.doc-download-message[b-40dca6691p] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* ── Toolbar de filtros en una sola fila (sv4-261) ──────────────────
   "Lista envío" vive en una columna angosta dentro de la toolbar compacta.
   Se ensancha el dropdown del combobox para que los nombres de lista
   (que pueden ser largos) se lean bien al buscar. */
#rw-filtro-lista[b-40dca6691p]  .searchable-select-dropdown {
    min-width: 340px;
}
/* /Presentation/Components/Pages/Mensajeria/SugerenciaAgendamiento.razor.rz.scp.css */
.editor-container[b-batw3i21ik] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-batw3i21ik] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-batw3i21ik] {
    font-size: 13px;
}

.editor-header-right[b-batw3i21ik] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-batw3i21ik] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-batw3i21ik],
.editor-title-bar .fw-semibold[b-batw3i21ik],
.editor-title-bar small[b-batw3i21ik] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-batw3i21ik] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

@media (max-width: 767.98px) {
    .editor-tab-content[b-batw3i21ik] {
        padding: 12px 16px 16px;
    }
}

/* ── Tamaño de texto tipo MenuManager (0.8rem) ── */
.editor-tab-content .table[b-batw3i21ik] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-batw3i21ik] {
    font-size: 0.7rem;
}

/* ── Grid de listas: filas mas compactas (reduce ~10px por fila respecto al padding 0.5rem de Bootstrap) ── */
#sugerencia-table-card table tbody > tr > td[b-batw3i21ik] {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* ── View toggle (cards/tabla) — patrón Listas de Contactos ── */
.view-toggle[b-batw3i21ik] {
    display: inline-flex;
    gap: 0;
    margin-top: 1px;
}

.view-toggle-btn[b-batw3i21ik] {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #adb5bd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #fff;
    color: #6c757d;
    transition: all 0.12s;
}

.view-toggle-btn:first-child[b-batw3i21ik] {
    border-radius: 5px 0 0 5px;
}

.view-toggle-btn:last-child[b-batw3i21ik] {
    border-radius: 0 5px 5px 0;
    border-left: 0;
}

.view-toggle-btn.active[b-batw3i21ik] {
    background: #0d6efd;
    color: #fff;
}

/* ── Toast de acciones en la toolbar (patrón Configuración de Mensajería) ── */
.inst-header-actions[b-batw3i21ik] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.inst-toast[b-batw3i21ik] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    z-index: 2060;
}

.inst-toast i[b-batw3i21ik] {
    font-size: 0.8rem;
}

.inst-toast-success[b-batw3i21ik] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-batw3i21ik] {
    color: #059669;
}

.inst-toast-error[b-batw3i21ik] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-batw3i21ik] {
    color: #dc2626;
}

/* ── Animación de salida del toast ── */
.notif-fade-out[b-batw3i21ik] {
    animation: notifFadeOut-b-batw3i21ik 0.3s ease forwards;
}

@keyframes notifFadeOut-b-batw3i21ik {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

.editor-container.modo-embebido[b-batw3i21ik] {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.editor-container.modo-embebido .editor-tab-content[b-batw3i21ik] {
    padding: 16px 16px 16px !important;
    overflow: visible !important;
}

.editor-container.modo-embebido .card[b-batw3i21ik],
.editor-container.modo-embebido .card-body[b-batw3i21ik] {
    overflow: visible !important;
}

.editor-container.modo-embebido .sugerencia-summary-embebido .card-body[b-batw3i21ik] {
    padding: 12px 12px !important;
}

.editor-container.modo-embebido .sugerencia-summary-embebido[b-batw3i21ik] {
    font-size: 0.92em;
}

@media (min-width: 1200px) {
    .editor-container.modo-embebido .sugerencia-summary-embebido[b-batw3i21ik] {
        max-width: 100%;
    }
}
/* /Presentation/Components/Pages/Menu.razor.rz.scp.css */
.sidebar[b-6xi1ypfhlv] {
    width: 260px;
    background: var(--sidebar-gradient);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 100;
    transition: width 0.3s ease;
    height: 100%;
    overflow-y: auto;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

/* Scrollbar styles for webkit */
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar {
    width: 6px;
}
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar-thumb {
    background: var(--sidebar-hover);
    border-radius: 3px;
}
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar-thumb:hover {
    background: var(--sidebar-hover);
}

.sidebar-header[b-6xi1ypfhlv] {
    background-color: var(--sidebar-bg-overlay);
    padding: 10px 15px;
    border-bottom: 1px solid var(--sidebar-border);
}

.nav-system-title[b-6xi1ypfhlv] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sidebar-header-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -3px;
}

.soft-project-logo[b-6xi1ypfhlv] {
    display: block;
    max-width: 160px;
    margin: 10px auto;
    height: auto;
    opacity: 0.9;
}

/* User Info Section */
.user-info-panel[b-6xi1ypfhlv] {
    padding: 15px;
    background-color: var(--sidebar-bg-overlay);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--sidebar-border);
}

.info-academic-title[b-6xi1ypfhlv] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sidebar-sub-header-color);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--sidebar-border);
    padding-bottom: 4px;
}

.user-data[b-6xi1ypfhlv] {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--sidebar-user-label);
}

.user-data strong[b-6xi1ypfhlv] {
    color: var(--sidebar-user-value);
    font-weight: 600;
}

/* Toggle expandible de grupos académicos */
.grupos-toggle[b-6xi1ypfhlv] {
    margin-top: 2px;
}

.grupos-toggle-link[b-6xi1ypfhlv] {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}

.grupos-toggle-link:hover[b-6xi1ypfhlv] {
    color: var(--sidebar-user-value);
}

.grupos-chevron[b-6xi1ypfhlv] {
    font-size: 0.6rem;
    transition: transform 0.15s ease;
    color: var(--sidebar-sub-header-color);
}

.grupos-chevron.expanded[b-6xi1ypfhlv] {
    transform: rotate(90deg);
}

.grupos-detalle[b-6xi1ypfhlv] {
    margin-top: 4px;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.grupo-item[b-6xi1ypfhlv] {
    font-size: 0.75rem;
    color: var(--sidebar-user-value);
    padding: 1px 6px;
    background-color: var(--sidebar-bg-overlay);
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
}

.user-photo-container[b-6xi1ypfhlv] {
    margin: 0 auto;
    width: 70px;
    height: 80px;
    border: 2px solid var(--sidebar-border);
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
}

.user-photo[b-6xi1ypfhlv] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wrapper de la foto de perfil (contenedor + botón cámara + menú desplegable) */
.user-photo-wrapper[b-6xi1ypfhlv] {
    position: relative;
}

/* Botón circular de cámara en el borde inferior de la foto */
.photo-upload-btn[b-6xi1ypfhlv] {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    transition: background-color 0.15s, transform 0.15s;
    z-index: 2;
}

.photo-upload-btn:hover[b-6xi1ypfhlv] {
    background: #0a58ca;
    transform: translateX(-50%) scale(1.08);
}

/* Capa invisible para detectar clic fuera del menú desplegable */
.profile-menu-backdrop[b-6xi1ypfhlv] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 990;
    cursor: default;
}

/* Menú desplegable de opciones del perfil */
.profile-menu-dropdown[b-6xi1ypfhlv] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1000;
    min-width: 210px;
    max-width: 240px;
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 6px 0;
    font-size: 0.8rem;
    text-align: left;
}

[data-theme="light"] .profile-menu-dropdown[b-6xi1ypfhlv] {
    background: #ffffff;
    border-color: #d0d0d0;
    color: #2c3e50;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.profile-menu-header[b-6xi1ypfhlv] {
    padding: 8px 14px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 4px;
}

.profile-menu-header strong[b-6xi1ypfhlv] {
    display: block;
    font-size: 0.82rem;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.profile-menu-header small[b-6xi1ypfhlv] {
    display: block;
    color: #7f8c8d;
    font-size: 0.7rem;
    margin-top: 2px;
}

.profile-menu-item[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    color: #2c3e50;
    transition: background-color 0.12s;
    user-select: none;
}

.profile-menu-item:hover[b-6xi1ypfhlv] {
    background-color: #f0f4f8;
}

.profile-menu-item i[b-6xi1ypfhlv] {
    width: 16px;
    text-align: center;
    color: #0d6efd;
}

/* ============================================================
   Tarjeta del usuario en sesión
   ============================================================ */

.user-card[b-6xi1ypfhlv] {
    padding: 12px 15px;
    background-color: var(--sidebar-bg-overlay);
    border-bottom: 1px solid var(--sidebar-border);
}

.user-card-head[b-6xi1ypfhlv] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Avatar compacto dentro de la tarjeta */
.user-card .user-photo-container[b-6xi1ypfhlv] {
    width: 56px;
    height: 64px;
}

.user-card-identity[b-6xi1ypfhlv] {
    flex: 1;
    min-width: 0;
}

.user-card-name[b-6xi1ypfhlv] {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--sidebar-user-value);
    word-break: break-word;
}

.user-card-role[b-6xi1ypfhlv] {
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.3;
    color: var(--sidebar-sub-header-color);
}

.user-card-flags[b-6xi1ypfhlv] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.user-card-flags .badge i[b-6xi1ypfhlv] {
    margin-right: 4px;
}

/* Filas de datos de la tarjeta */
.user-card-rows[b-6xi1ypfhlv],
.user-card-extra[b-6xi1ypfhlv] {
    margin-top: 8px;
}

.user-card-row[b-6xi1ypfhlv] {
    display: flex;
    gap: 6px;
    font-size: 0.72rem;
    line-height: 1.5;
}

.user-card-row-label[b-6xi1ypfhlv] {
    flex: 0 0 62px;
    color: var(--sidebar-user-label);
}

.user-card-row-value[b-6xi1ypfhlv] {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: var(--sidebar-user-value);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-card-group-label[b-6xi1ypfhlv] {
    margin: 8px 0 4px;
    font-size: 0.72rem;
    color: var(--sidebar-user-label);
}

.user-card-tags[b-6xi1ypfhlv] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.user-card-toggle[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    padding: 3px 0;
    background: none;
    border: none;
    border-top: 1px dashed var(--sidebar-border);
    color: var(--sidebar-sub-header-color);
    font-size: 0.72rem;
    text-align: left;
    cursor: pointer;
}

.user-card-toggle:hover[b-6xi1ypfhlv] {
    color: var(--sidebar-user-value);
}

.user-card-chevron[b-6xi1ypfhlv] {
    font-size: 0.6rem;
    transition: transform 0.15s ease;
}

.user-card-chevron.expanded[b-6xi1ypfhlv] {
    transform: rotate(90deg);
}

/* Estado de error de la tarjeta */
.user-card-error[b-6xi1ypfhlv] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 8px;
    border: 1px solid rgba(220, 53, 69, 0.45);
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.18);
    color: #ffd7db;
    font-size: 0.72rem;
    line-height: 1.35;
}

[data-theme="light"] .user-card-error[b-6xi1ypfhlv] {
    border-color: #f1aeb5;
    background-color: #f8d7da;
    color: #842029;
}

/* Avatar sin foto: iniciales del usuario */
.user-photo-initials[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--sidebar-bg-overlay);
    color: var(--sidebar-user-value);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Menú de perfil dentro de la tarjeta: se despliega desde el borde izquierdo */
.user-card .profile-menu-dropdown[b-6xi1ypfhlv] {
    left: 0;
    right: auto;
}

/* Estado de carga de la tarjeta del usuario. Idea: sv4-342. */
.user-card-skeleton[b-6xi1ypfhlv] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-card-skeleton-head[b-6xi1ypfhlv] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.skeleton-avatar[b-6xi1ypfhlv] {
    flex: 0 0 56px;
    height: 64px;
    border-radius: 4px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
}

.skeleton-lines[b-6xi1ypfhlv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.skeleton-line[b-6xi1ypfhlv] {
    height: 8px;
    border-radius: 3px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
}

.skeleton-line-lg[b-6xi1ypfhlv] {
    width: 85%;
}

.skeleton-line-md[b-6xi1ypfhlv] {
    width: 70%;
}

.skeleton-line-sm[b-6xi1ypfhlv] {
    width: 55%;
}

.skeleton-rows[b-6xi1ypfhlv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.skeleton-row[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.skeleton-row-label[b-6xi1ypfhlv] {
    width: 42px;
    height: 6px;
    border-radius: 3px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
}

.skeleton-row-value[b-6xi1ypfhlv] {
    height: 6px;
    border-radius: 3px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
    animation-delay: 0.1s;
}

.skeleton-toggle[b-6xi1ypfhlv] {
    width: 54px;
    height: 8px;
    margin-top: 2px;
    border-radius: 3px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
    animation-delay: 0.2s;
}

/* Estado de carga de los módulos del menú principal. Idea: sv4-342. */
.menu-skeleton[b-6xi1ypfhlv] {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.menu-skeleton-row[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
}

.menu-skeleton-row-child[b-6xi1ypfhlv] {
    padding-left: 37px;
}

.menu-skeleton-toggle[b-6xi1ypfhlv] {
    flex: 0 0 10px;
    height: 10px;
    border-radius: 2px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
}

.menu-skeleton-icon[b-6xi1ypfhlv] {
    flex: 0 0 14px;
    height: 14px;
    border-radius: 3px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
}

.menu-skeleton-text[b-6xi1ypfhlv] {
    height: 7px;
    border-radius: 3px;
    background-color: var(--sidebar-hover);
    animation: user-card-pulse-b-6xi1ypfhlv 1.2s ease-in-out infinite;
    animation-delay: 0.1s;
}

.menu-skeleton-row:nth-of-type(1) .menu-skeleton-text[b-6xi1ypfhlv] { width: 68%; }
.menu-skeleton-row:nth-of-type(2) .menu-skeleton-text[b-6xi1ypfhlv] { width: 52%; }
.menu-skeleton-row:nth-of-type(3) .menu-skeleton-text[b-6xi1ypfhlv] { width: 61%; }
.menu-skeleton-row:nth-of-type(4) .menu-skeleton-text[b-6xi1ypfhlv] { width: 45%; }
.menu-skeleton-row:nth-of-type(5) .menu-skeleton-text[b-6xi1ypfhlv] { width: 72%; }
.menu-skeleton-row:nth-of-type(6) .menu-skeleton-text[b-6xi1ypfhlv] { width: 50%; }
.menu-skeleton-row:nth-of-type(7) .menu-skeleton-text[b-6xi1ypfhlv] { width: 64%; }
.menu-skeleton-row:nth-of-type(8) .menu-skeleton-text[b-6xi1ypfhlv] { width: 42%; }

/* Accesibilidad: sin animación cuando el usuario prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .skeleton-avatar[b-6xi1ypfhlv],
    .skeleton-line[b-6xi1ypfhlv],
    .skeleton-row-label[b-6xi1ypfhlv],
    .skeleton-row-value[b-6xi1ypfhlv],
    .skeleton-toggle[b-6xi1ypfhlv],
    .menu-skeleton-toggle[b-6xi1ypfhlv],
    .menu-skeleton-icon[b-6xi1ypfhlv],
    .menu-skeleton-text[b-6xi1ypfhlv] {
        animation: none;
    }
}

@keyframes user-card-pulse-b-6xi1ypfhlv {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

/* Fila de bienvenida: la insignia y el botón de cerrar sesión comparten la misma fila */
.welcome-row[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 15px;
}

.welcome-row .welcome-badge[b-6xi1ypfhlv] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 5px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-row .logout-container[b-6xi1ypfhlv] {
    padding: 0;
    flex: 0 0 auto;
}

.welcome-badge[b-6xi1ypfhlv] {
    background-color: var(--sidebar-bg-overlay);
    color: var(--sidebar-text);
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    margin: 10px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--sidebar-border);
}

.sede-selector[b-6xi1ypfhlv] {
    padding: 0 15px 15px;
}

.sede-label[b-6xi1ypfhlv] {
    display: block;
    font-size: 0.75rem;
    color: var(--sidebar-user-label);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.form-select-sm-custom[b-6xi1ypfhlv] {
    width: 100%;
    background-color: var(--sidebar-bg-overlay);
    border: 1px solid var(--sidebar-border);
    color: var(--sidebar-text);
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.form-select-sm-custom:focus[b-6xi1ypfhlv] {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.3);
}

.logout-container[b-6xi1ypfhlv] {
    padding: 0 15px 15px;
    text-align: right;
}

.btn-logout-custom[b-6xi1ypfhlv] {
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
    border: 1px solid #a93226;
    color: white;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.btn-logout-custom:hover[b-6xi1ypfhlv] {
    background: linear-gradient(to bottom, #ec7063, #e74c3c);
    transform: translateY(-1px);
}

/* Modules Section */
.modules-header[b-6xi1ypfhlv] {
    background-color: var(--sidebar-bg-overlay);
    padding: 8px 15px;
    color: var(--sidebar-header-color);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--sidebar-border);
    border-bottom: 1px solid var(--sidebar-border);
}

.modules-tree[b-6xi1ypfhlv] {
    padding: 10px 0;
}


.suros-watermark-bottom[b-6xi1ypfhlv] {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    opacity: 0.3;
}

.watermark-img[b-6xi1ypfhlv] {
    width: 80px;
    filter: grayscale(100%);
}

.tab-title[b-6xi1ypfhlv] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    height: 36px !important;
}

/* El botón de favoritos (.fav-star-btn) está definido en MenuTreeNode.razor.css */

/* Buscador de módulos */
.module-search-wrapper[b-6xi1ypfhlv] {
    position: relative;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    background-color: var(--sidebar-bg-overlay);
    border-bottom: 1px solid var(--sidebar-border);
}

.module-search-icon[b-6xi1ypfhlv] {
    position: absolute;
    left: 14px;
    font-size: 0.7rem;
    color: var(--sidebar-user-label);
    pointer-events: none;
    opacity: 0.6;
}

.module-search-input[b-6xi1ypfhlv] {
    width: 100%;
    background-color: var(--sidebar-hover);
    border: 1px solid transparent;
    color: var(--sidebar-text);
    padding: 4px 24px 4px 22px;
    font-size: 0.75rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.module-search-input:focus[b-6xi1ypfhlv] {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}

.module-search-input[b-6xi1ypfhlv]::placeholder {
    color: var(--sidebar-user-label);
    opacity: 0.5;
    font-size: 0.7rem;
}

.module-search-clear[b-6xi1ypfhlv] {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--sidebar-user-label);
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.65rem;
    opacity: 0.6;
    transition: opacity 0.15s;
    line-height: 1;
}

.module-search-clear:hover[b-6xi1ypfhlv] {
    opacity: 1;
    color: #e74c3c;
}

.module-search-empty[b-6xi1ypfhlv] {
    text-align: center;
    padding: 20px 15px;
    color: var(--sidebar-user-label);
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.6;
}

/* El resaltado de búsqueda (.module-search-highlight) está definido en MenuTreeNode.razor.css */

/* ============================================================
   Panel colapsado (solo iconos)
   ============================================================ */

.sidebar-collapsed[b-6xi1ypfhlv] {
    width: 60px;
    overflow: visible;
    z-index: 200;
}

.sidebar-collapsed .sidebar-header[b-6xi1ypfhlv] {
    padding: 10px 6px;
}

.sidebar-collapsed .nav-system-title span:first-child[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .nav-system-title[b-6xi1ypfhlv] {
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.sidebar-collapsed .nav-system-title .d-flex[b-6xi1ypfhlv] {
    gap: 4px;
}

.sidebar-collapsed .nav-system-title .d-flex i[b-6xi1ypfhlv] {
    font-size: 0.95rem;
}

.sidebar-collapsed .nav-system-title .d-flex .me-3[b-6xi1ypfhlv] {
    margin-right: 0 !important;
}

.sidebar-collapsed .soft-project-logo[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .user-card[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .user-info-panel[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .welcome-badge[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .sede-selector[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .modules-header span[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .modules-header[b-6xi1ypfhlv] {
    justify-content: center;
    padding: 8px 0;
}

.sidebar-collapsed .module-search-wrapper[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .modules-tree[b-6xi1ypfhlv] {
    padding: 6px 0;
}

.sidebar-collapsed .menu-skeleton-row[b-6xi1ypfhlv] {
    justify-content: center;
    padding: 7px 0;
}

.sidebar-collapsed .menu-skeleton-toggle[b-6xi1ypfhlv],
.sidebar-collapsed .menu-skeleton-text[b-6xi1ypfhlv] {
    display: none;
}

/* Las reglas del árbol en panel colapsado (.sidebar-collapsed .tree-*) están en MenuTreeNode.razor.css */

.sidebar-collapsed .suros-watermark-bottom[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .welcome-row[b-6xi1ypfhlv] {
    display: block;
    margin: 0;
}

.sidebar-collapsed .logout-container[b-6xi1ypfhlv] {
    padding: 8px 0;
    text-align: center;
}

.sidebar-collapsed .btn-logout-custom .logout-text[b-6xi1ypfhlv] {
    display: none;
}

.sidebar-collapsed .btn-logout-custom[b-6xi1ypfhlv] {
    background: none;
    border: none;
    box-shadow: none;
    font-size: 1.1rem;
    padding: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    justify-content: center;
    color: var(--sidebar-text);
    opacity: 0.7;
    transition: all 0.15s;
}

.sidebar-collapsed .btn-logout-custom:hover[b-6xi1ypfhlv] {
    opacity: 1;
    background: rgba(255,255,255,0.1);
}

/* ============================================================
   Modal de Actualizar Foto de Perfil
   ============================================================ */

.photo-upload-modal[b-6xi1ypfhlv] {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.photo-upload-modal .modal-header[b-6xi1ypfhlv] {
    border-bottom: 1px solid #eef0f3;
    padding: 16px 20px;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.photo-upload-modal .modal-title[b-6xi1ypfhlv] {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-upload-modal .modal-body[b-6xi1ypfhlv] {
    padding: 24px 20px;
    background: #f8fafc;
}

.photo-upload-modal .modal-footer[b-6xi1ypfhlv] {
    border-top: 1px solid #eef0f3;
    padding: 12px 20px;
    background: #ffffff;
}

/* Zona de carga elegante */
.upload-zone[b-6xi1ypfhlv] {
    border: 2px dashed #c3cdd8;
    border-radius: 12px;
    background: #ffffff;
    padding: 32px 20px;
    text-align: center;
    transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.upload-zone:hover[b-6xi1ypfhlv] {
    border-color: #0d6efd;
    background: #f0f6ff;
}

.upload-zone.dragging[b-6xi1ypfhlv] {
    border-color: #0d6efd;
    background: #e8f1ff;
    transform: scale(1.01);
}

.upload-zone-label[b-6xi1ypfhlv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    cursor: pointer;
    margin: 0;
}

.upload-zone-label i[b-6xi1ypfhlv] {
    font-size: 2.2rem;
    color: #0d6efd;
    margin-bottom: 6px;
}

.upload-zone-label strong[b-6xi1ypfhlv] {
    font-size: 0.9rem;
    color: #343a40;
    font-weight: 600;
}

.upload-zone-label small[b-6xi1ypfhlv] {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Avatares de vista previa */
.preview-label[b-6xi1ypfhlv] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
    text-align: center;
}

.avatar-preview[b-6xi1ypfhlv] {
    margin: 0 auto;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    background: #e9ecef;
    overflow: hidden;
    position: relative;
}

.avatar-preview img[b-6xi1ypfhlv] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-preview-circle[b-6xi1ypfhlv] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.avatar-preview-rect[b-6xi1ypfhlv] {
    width: 96px;
    height: 112px;
    border-radius: 6px;
}

/* Tarjeta de información del archivo */
.file-info-card[b-6xi1ypfhlv] {
    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-info-header[b-6xi1ypfhlv] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.file-icon[b-6xi1ypfhlv] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #e8f1ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.file-info-name[b-6xi1ypfhlv] {
    min-width: 0;
    flex: 1;
}

.file-info-name strong[b-6xi1ypfhlv] {
    display: block;
    font-size: 0.82rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-info-name small[b-6xi1ypfhlv] {
    font-size: 0.7rem;
    color: #8a93a1;
}

.file-info-meta[b-6xi1ypfhlv] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.75rem;
    color: #6c757d;
    border-top: 1px dashed #e6e9ee;
    padding-top: 8px;
}

.file-info-meta span[b-6xi1ypfhlv] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.file-info-meta i[b-6xi1ypfhlv] {
    color: #0d6efd;
}

/* Estado de carga y subida */
.upload-progress[b-6xi1ypfhlv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 0;
}

.upload-progress-ring[b-6xi1ypfhlv] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8f1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.upload-progress-bar[b-6xi1ypfhlv] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}
/* /Presentation/Components/Pages/MenuTreeNode.razor.rz.scp.css */
.tree-item[b-z6qzndqg26] {
    cursor: pointer;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--sidebar-text);
    transition: background-color 0.15s;
    user-select: none;
}

.tree-item:hover[b-z6qzndqg26] {
    background-color: var(--sidebar-hover);
    color: var(--sidebar-text);
}

.tree-icon[b-z6qzndqg26] {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    color: #f1c40f; /* Folder color */
}

.tree-toggle[b-z6qzndqg26] {
    width: 14px;
    margin-right: 4px;
    font-size: 0.7rem;
    color: var(--sidebar-user-label);
    transition: transform 0.2s;
}

.tree-toggle.expanded[b-z6qzndqg26] {
    transform: rotate(90deg);
}

.tree-text[b-z6qzndqg26] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-children[b-z6qzndqg26] {
    padding-left: 10px;
    display: none;
    background-color: var(--sidebar-bg-overlay);
}

.tree-children.expanded[b-z6qzndqg26] {
    display: block;
}

.tree-item.leaf .tree-icon[b-z6qzndqg26] {
    color: #2ecc71; /* Item color */
}

/* Items no disponibles (sin PAGI_URL2 - migración pendiente) */
.tree-item.disabled[b-z6qzndqg26] {
    cursor: default;
    opacity: 0.5;
}
.tree-item.disabled:hover[b-z6qzndqg26] {
    background-color: transparent;
}
.tree-item.disabled .tree-text[b-z6qzndqg26] {
    font-style: italic;
}
.tree-item.disabled .tree-icon[b-z6qzndqg26] {
    color: #95a5a6;
}

/* Favoritos: estrella en items del menú */
.fav-star-btn[b-z6qzndqg26] {
    background: none;
    border: none;
    padding: 2px 4px;
    font-size: 0.7rem;
    color: #888;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.15s ease;
    line-height: 1;
    flex-shrink: 0;
    margin-left: auto;
}
.fav-star-btn:hover[b-z6qzndqg26] {
    opacity: 1;
    color: #f1c40f;
}
.fav-star-btn.active[b-z6qzndqg26] {
    opacity: 1;
    color: #f1c40f;
}

/* Resaltado de coincidencias de búsqueda */
.module-search-highlight[b-z6qzndqg26] {
    background-color: #f1c40f;
    color: #2c3e50;
    padding: 0 1px;
    border-radius: 2px;
    font-weight: 600;
}

/* ============================================================
   Panel colapsado (solo iconos)
   ============================================================ */

.sidebar-collapsed .tree-item[b-z6qzndqg26] {
    padding: 6px 0;
    justify-content: center;
}

.sidebar-collapsed .tree-icon[b-z6qzndqg26] {
    margin-right: 0;
    width: auto;
    font-size: 1.1rem;
    transform: translateX(-4px);
}

.sidebar-collapsed .tree-text[b-z6qzndqg26] {
    display: none;
}

.sidebar-collapsed .tree-toggle[b-z6qzndqg26] {
    display: none;
}

.sidebar-collapsed .fav-star-btn[b-z6qzndqg26] {
    display: none;
}

.sidebar-collapsed .tree-item small[b-z6qzndqg26] {
    display: none;
}

.sidebar-collapsed .tree-children[b-z6qzndqg26] {
    position: relative;
    left: 0;
    width: 220px;
    min-width: 220px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid var(--sidebar-border);
    border-radius: 6px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.35);
    padding: 6px 0;
    z-index: 210;
    margin: 2px 0;
}

[data-theme="light"] .sidebar-collapsed .tree-children[b-z6qzndqg26] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
}

.sidebar-collapsed .tree-children .tree-text[b-z6qzndqg26] {
    display: inline;
    white-space: nowrap;
    font-size: 0.78rem;
}

.sidebar-collapsed .tree-children .tree-item[b-z6qzndqg26] {
    justify-content: flex-start;
    padding: 5px 12px;
    gap: 6px;
}

.sidebar-collapsed .tree-children .tree-icon[b-z6qzndqg26] {
    margin-right: 6px;
    width: 18px;
    font-size: 0.8rem;
}

.sidebar-collapsed .tree-children .fav-star-btn[b-z6qzndqg26] {
    display: inline-flex;
    opacity: 0.3;
}

.sidebar-collapsed .tree-children .tree-item small[b-z6qzndqg26] {
    display: inline;
}
/* /Presentation/Components/Pages/Monitoreo/AgendaEspecialistaDetalle.razor.rz.scp.css */
/* ============================================================
   Detalle de la agenda del especialista — Idea: sv4-328
   ============================================================ */

.aed-panel[b-je1k5gudb9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px 10px;
    min-height: 0;
}

/* ===== Barra de la agenda ===== */

.aed-toolbar[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 6px 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* ===== Estadísticas y filtros ===== */

.aed-filters[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 2px;
}

.aed-metric[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.70rem;
    color: #475569;
}

.aed-metric strong[b-je1k5gudb9] {
    color: #1e40af;
}

.aed-metric-danger[b-je1k5gudb9] {
    border-color: #fecaca;
    background: #fef2f2;
}

.aed-metric-danger strong[b-je1k5gudb9] {
    color: #dc2626;
}

.aed-metric-success[b-je1k5gudb9] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.aed-metric-success strong[b-je1k5gudb9] {
    color: #15803d;
}

.aed-metric-bloqueado[b-je1k5gudb9] {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.aed-metric-bloqueado strong[b-je1k5gudb9] {
    color: #475569;
}

.aed-chips[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.aed-chip[b-je1k5gudb9] {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    font-size: 0.68rem;
    height: 24px;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.aed-chip:hover[b-je1k5gudb9] {
    border-color: #1a73e8;
    color: #1a73e8;
}

.aed-chip.active[b-je1k5gudb9] {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #ffffff;
    font-weight: 500;
}

/* ===== Botones de la barra de la agenda ===== */

/* Todos los botones de la barra comparten la misma caja: el contenido se centra
   vertical y horizontalmente con line-height 1 para que el icono y el texto no
   queden desalineados. */
.aed-btn[b-je1k5gudb9] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px !important;
    font-size: 0.75rem;
    line-height: 1 !important;
    white-space: nowrap;
}

.aed-btn i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    font-size: 0.68rem;
}

.aed-btn:disabled[b-je1k5gudb9] {
    opacity: 0.65;
}

.aed-link-btn[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 !important;
    font-size: 0.70rem;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
}

.aed-link-btn i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    font-size: 0.66rem;
}

/* Botones de solo icono de la columna Acciones: caja cuadrada con el icono
   centrado en ambos ejes. */
.aed-accion[b-je1k5gudb9] {
    width: 24px;
    height: 24px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    background: none;
    color: #6b7280;
    line-height: 1 !important;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.12s;
    flex-shrink: 0;
}

.aed-accion i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 0.78rem;
}

.aed-accion:hover[b-je1k5gudb9] {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.aed-accion:disabled[b-je1k5gudb9] {
    opacity: 0.45;
    pointer-events: none;
}

/* ===== Grid ===== */

.aed-grid-card[b-je1k5gudb9] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

/* Cabecera de la card "Registros" — mismo patrón que la grid de agendas. */
.aed-grid-head[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.aed-grid-head h6[b-je1k5gudb9] {
    font-size: 0.82rem;
    color: #1f2937;
}

.aed-grid-head .badge[b-je1k5gudb9] {
    border-radius: 3px;
    font-weight: 500;
}

.aed-grid-scroll[b-je1k5gudb9] {
    max-height: 58vh;
    overflow: auto;
}

/* Fila de filtros por columna — misma altura y estilo que la grid de agendas. */
.aed-grid .aed-filter-row th[b-je1k5gudb9] {
    padding: 2px;
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
    overflow: visible;
}

.aed-grid .aed-col-input[b-je1k5gudb9] {
    width: 100%;
    min-width: 0;
    height: 20px;
    padding: 0 4px;
    font-size: 0.64rem;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #ffffff;
}

.aed-filter-icon[b-je1k5gudb9] {
    font-size: 0.58rem;
    color: #94a3b8;
}

.aed-grid[b-je1k5gudb9] {
    font-size: 0.72rem;
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Cabecera fija como bloque: títulos y filtros por columna permanecen
   visibles al desplazar la grid y no tapan la primera fila de datos. */
.aed-head[b-je1k5gudb9] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f8fafc;
}

.aed-grid thead th[b-je1k5gudb9] {
    background: #f8fafc;
    font-size: 0.66rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    padding: 6px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aed-th-sort[b-je1k5gudb9] {
    cursor: pointer;
    user-select: none;
}

.aed-th-sort i[b-je1k5gudb9] {
    margin-left: 4px;
    font-size: 0.58rem;
    color: #94a3b8;
}

.aed-th-sort i.fa-sort-up[b-je1k5gudb9],
.aed-th-sort i.fa-sort-down[b-je1k5gudb9] {
    color: #1a73e8;
}

.aed-grid tbody td[b-je1k5gudb9] {
    padding: 4px 6px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.aed-col-check[b-je1k5gudb9] { width: 30px; text-align: center; }
.aed-col-turno[b-je1k5gudb9] { width: 48px; text-align: center; }
.aed-col-hora[b-je1k5gudb9] { width: 50px; text-align: center; }
.aed-col-jornada[b-je1k5gudb9] { width: 88px; }
.aed-col-especialidad[b-je1k5gudb9] { width: 118px; }
.aed-col-doc[b-je1k5gudb9] { width: 84px; }
.aed-col-paciente[b-je1k5gudb9] { width: 170px; }
.aed-col-eps[b-je1k5gudb9] { width: 110px; }
.aed-col-contrato[b-je1k5gudb9] { width: 74px; }
.aed-col-regimen[b-je1k5gudb9] { width: 76px; }
.aed-col-proc[b-je1k5gudb9] { width: 170px; }
.aed-col-tipo[b-je1k5gudb9] { width: 84px; }
.aed-col-nota[b-je1k5gudb9] { width: 96px; }
.aed-col-estado[b-je1k5gudb9] { width: 136px; }
.aed-col-recordatorio[b-je1k5gudb9] { width: 108px; }

/* Badge de recordatorio: icono y texto centrados verticalmente (idea sv4-328). */
.aed-col-recordatorio .aed-rec-badge[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 6px;
    font-size: 0.58rem;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.aed-col-recordatorio .aed-rec-badge i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    font-size: 0.62rem;
    line-height: 1;
    vertical-align: 0;
}
.aed-col-acciones[b-je1k5gudb9] { width: 60px; }

.aed-grid .cell-truncate[b-je1k5gudb9] {
    max-width: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Estados de la fila ===== */

.aed-row-cancelada[b-je1k5gudb9] {
    background: #fef2f2 !important;
}

.aed-row-cancelada > td[b-je1k5gudb9] {
    background: #fef2f2 !important;
}

.aed-row-cancelada:hover > *[b-je1k5gudb9] {
    background: #fee2e2 !important;
}

.aed-row-cancelada .aed-texto-cancelado[b-je1k5gudb9] {
    text-decoration: line-through;
    color: #b91c1c;
}

.aed-row-hueco[b-je1k5gudb9] {
    background: #f0fdf4 !important;
}

.aed-row-hueco > td[b-je1k5gudb9] {
    background: #f0fdf4 !important;
}

.aed-row-hueco:hover > *[b-je1k5gudb9] {
    background: #dcfce7 !important;
}

.aed-row-bloqueado[b-je1k5gudb9] {
    background: #f1f5f9 !important;
}

.aed-row-bloqueado > td[b-je1k5gudb9] {
    background: #f1f5f9 !important;
    color: #64748b;
}

.aed-row-bloqueado:hover > *[b-je1k5gudb9] {
    background: #e2e8f0 !important;
}

.aed-row-bloqueado .aed-texto-bloqueado[b-je1k5gudb9] {
    color: #64748b;
    font-style: italic;
}

.aed-chip-turno[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    padding: 1px 6px;
    border: 1px dashed #fca5a5;
    border-radius: 999px;
    background: #ffffff;
    color: #b91c1c;
    font-size: 0.56rem;
}

/* ===== Estado vacío ===== */

.aed-empty[b-je1k5gudb9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
    color: #475569;
}

/* ===== Histórico ===== */

.aed-timeline[b-je1k5gudb9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aed-timeline-item[b-je1k5gudb9] {
    border: 1px solid #e5e7eb;
    border-left: 3px solid #1a73e8;
    border-radius: 6px;
    padding: 6px 8px;
    background: #ffffff;
}

.aed-timeline-content[b-je1k5gudb9] {
    margin-top: 3px;
    font-size: 0.68rem;
    color: #475569;
    background: #f8fafc;
    border-radius: 4px;
    padding: 4px 6px;
    max-height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
}

/* ===== Métricas del resultado ===== */

.aed-resultado-metric[b-je1k5gudb9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1 1 0;
    padding: 8px 6px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.aed-resultado-value[b-je1k5gudb9] {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
}

.aed-resultado-label[b-je1k5gudb9] {
    font-size: 0.62rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ============================================================
   Interruptores — bloque canónico .suros-switch del proyecto
   (SUROS.Framework/CONTRACTS/FORM.md). El tamaño del interruptor lo
   define Bootstrap (2em x 1em): no se sobrescribe.
   ============================================================ */

.suros-switch[b-je1k5gudb9] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.suros-switch .form-check-input[b-je1k5gudb9] {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.suros-switch .form-check-label[b-je1k5gudb9] {
    cursor: pointer;
    margin-bottom: 0;
}

/* ===== Responsive ===== */

/* Columnas ocultas por el selector de columnas. */
.aed-col-oculta[b-je1k5gudb9] {
    display: none !important;
}

@media (max-width: 767px) {
    .aed-toolbar[b-je1k5gudb9],
    .aed-filters[b-je1k5gudb9] {
        flex-direction: column;
        align-items: stretch;
    }

    .aed-grid-scroll[b-je1k5gudb9] {
        max-height: 50vh;
    }
}

/* ============================================================
   Modal de envío de recordatorios — etiquetas, destinatarios y
   vista previa con los datos reales de la cita (idea sv4-328).
   ============================================================ */

.aed-modal-badge[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.68rem;
    line-height: 1 !important;
    white-space: nowrap;
}

.aed-modal-badge i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    line-height: 1;
}

.aed-modal-badge strong[b-je1k5gudb9] {
    font-weight: 600;
}

.aed-modal-badge-ok[b-je1k5gudb9] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.aed-modal-badge-er[b-je1k5gudb9] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.aed-section-title[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1f2937;
}

.aed-section-title > i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #1a73e8;
    line-height: 1;
}

.aed-section-title .badge[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    line-height: 1;
}

.aed-destinatarios[b-je1k5gudb9] {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.aed-destinatarios table[b-je1k5gudb9] {
    margin-bottom: 0;
}

.aed-destinatarios thead th[b-je1k5gudb9] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    font-size: 0.64rem;
    color: #475569;
    font-weight: 600;
    padding: 5px 6px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.aed-destinatarios tbody td[b-je1k5gudb9] {
    padding: 4px 6px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.aed-dest-row[b-je1k5gudb9] {
    cursor: pointer;
}

.aed-dest-row.active[b-je1k5gudb9] {
    background: #eff6ff;
    box-shadow: inset 3px 0 0 #1a73e8;
}

.aed-dest-row.active > td[b-je1k5gudb9] {
    background: #eff6ff;
}

.aed-dest-row-off[b-je1k5gudb9] {
    opacity: 0.75;
}

.aed-dest-mark[b-je1k5gudb9] {
    font-size: 0.66rem;
    flex-shrink: 0;
}

.aed-dest-sub[b-je1k5gudb9] {
    font-size: 0.62rem;
    color: #64748b;
}

.aed-preview-paciente[b-je1k5gudb9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
    margin-bottom: 6px;
    border: 1px solid #dbefe2;
    border-radius: 6px;
    background: #f6fdf8;
}

.aed-preview-avatar[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d1fae5;
    color: #047857;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.aed-preview-nombre[b-je1k5gudb9] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.aed-preview-datos[b-je1k5gudb9] {
    font-size: 0.64rem;
    color: #64748b;
    line-height: 1.2;
}

/* Burbuja tipo WhatsApp con el texto real del recordatorio */
.aed-wa-preview[b-je1k5gudb9] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f2f5;
}

.aed-wa-top[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    background: #075e54;
    color: #ffffff;
}

.aed-wa-avatar[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #128c7e;
    color: #ffffff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.aed-wa-title[b-je1k5gudb9] {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

.aed-wa-sub[b-je1k5gudb9] {
    font-size: 0.6rem;
    color: #d1fae5;
    line-height: 1.2;
}

.aed-wa-body[b-je1k5gudb9] {
    padding: 10px;
    max-height: 320px;
    overflow-y: auto;
    background-image: radial-gradient(#dfe3e6 0.5px, transparent 0.5px);
    background-size: 8px 8px;
}

.aed-wa-bubble[b-je1k5gudb9] {
    background: #ffffff;
    border-radius: 8px 8px 8px 2px;
    padding: 8px 9px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.aed-wa-header[b-je1k5gudb9] {
    font-size: 0.66rem;
    font-weight: 600;
    color: #075e54;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.aed-wa-text[b-je1k5gudb9] {
    font-size: 0.68rem;
    color: #1f2937;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.aed-wa-time[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    margin-top: 3px;
    font-size: 0.56rem;
    color: #64748b;
}

.aed-wa-time i[b-je1k5gudb9] {
    color: #1a73e8;
}

.aed-wa-foot[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 4px 8px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    font-size: 0.58rem;
    color: #475569;
}

/* ============================================================
   Badges de la barra de la agenda — texto e icono centrados
   verticalmente en una caja de 22px (idea sv4-328).
   ============================================================ */

.aed-badge[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.68rem;
    line-height: 1 !important;
    white-space: nowrap;
}

.aed-badge i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.66rem;
    line-height: 1;
}

.aed-badge-neutral[b-je1k5gudb9] {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #475569;
}

.aed-badge-primary[b-je1k5gudb9] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.aed-badge-info[b-je1k5gudb9] {
    background: #ecfeff;
    border-color: #a5f3fc;
    color: #0e7490;
}

/* ============================================================
   Selector de columnas de la grid — mismo mecanismo que las
   grids de la aplicación: botón con menú de checkboxes.
   ============================================================ */

.aed-col-selector[b-je1k5gudb9] {
    position: relative;
}

.aed-col-count[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 9px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.56rem;
    line-height: 1;
}

.aed-col-backdrop[b-je1k5gudb9] {
    position: fixed;
    inset: 0;
    z-index: 1040;
}

.aed-col-menu[b-je1k5gudb9] {
    position: absolute;
    right: 0;
    top: 32px;
    z-index: 1050;
    min-width: 180px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.aed-col-menu-title[b-je1k5gudb9] {
    padding: 2px 6px 5px;
    font-size: 0.66rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.aed-col-option[b-je1k5gudb9] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    color: #1f2937;
    cursor: pointer;
}

.aed-col-option:hover[b-je1k5gudb9] {
    background: #f1f5f9;
}

.aed-col-menu-actions[b-je1k5gudb9] {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #e5e7eb;
}

/* ============================================================
   Modal de envío — centrado de iconos en sus contenedores
   (título, badges, títulos de sección, avatares y botones).
   Los <i> heredan margen y altura de reglas globales; aquí se
   normalizan para que el glifo quede centrado en la caja.
   ============================================================ */

.aed-envio-modal .modal-title > i[b-je1k5gudb9],
.aed-envio-modal .aed-modal-badge > i[b-je1k5gudb9],
.aed-envio-modal .aed-section-title > i[b-je1k5gudb9],
.aed-envio-modal .aed-wa-avatar > i[b-je1k5gudb9],
.aed-envio-modal .aed-preview-avatar > i[b-je1k5gudb9],
.aed-envio-modal .aed-btn > i[b-je1k5gudb9],
.aed-envio-modal .aed-wa-foot span > i[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.aed-envio-modal .aed-wa-avatar[b-je1k5gudb9],
.aed-envio-modal .aed-preview-avatar[b-je1k5gudb9] {
    line-height: 1;
    padding: 0;
}

.aed-envio-modal .aed-wa-menu[b-je1k5gudb9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    line-height: 1 !important;
}
/* /Presentation/Components/Pages/Monitoreo/AgendaMonitor.razor.rz.scp.css */
/* ── Contenedor principal (exacto como Configuración Mensajería) ── */
.editor-container[b-i2o6tvkta5] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-i2o6tvkta5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-i2o6tvkta5] {
    font-size: 13px;
}

.editor-header-right[b-i2o6tvkta5] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Title bar: filtros al nivel del título (como Plantillas) ── */
.editor-title-bar[b-i2o6tvkta5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-i2o6tvkta5],
.editor-title-bar .fw-semibold[b-i2o6tvkta5],
.editor-title-bar small[b-i2o6tvkta5] {
    color: #1a1d23 !important;
}

/* ── Toolbar de filtros (compacto y uniforme 26px, patrón Campañas sv4-195) ── */
.agenda-filters[b-i2o6tvkta5] {
    gap: 6px;
}

.agenda-filters .input-group[b-i2o6tvkta5] {
    flex-wrap: nowrap;
    height: 26px;
}

.agenda-filters .input-group .input-group-text[b-i2o6tvkta5] {
    height: 26px;
    border: 1px solid #dee2e6;
    border-right: none;
    background-color: #fff;
    color: #6b7280;
    padding: 0 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.agenda-filters .input-group .form-control[b-i2o6tvkta5],
.agenda-filters .input-group select.form-control[b-i2o6tvkta5] {
    height: 26px;
    border: 1px solid #dee2e6;
    border-left: none;
    background-color: #fff;
    padding: 0 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    box-shadow: none;
    color: #1a1d23;
    overflow: visible;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Inputs de fecha nativos: misma altura y tipografía que selects */
.agenda-filters .input-group input[type="date"].form-control[b-i2o6tvkta5] {
    height: 26px;
    font-size: 0.75rem;
    line-height: 1.4;
    padding: 0 8px;
    min-height: 0;
}

.agenda-filters .input-group .form-control:focus[b-i2o6tvkta5],
.agenda-filters .input-group select.form-control:focus[b-i2o6tvkta5],
.agenda-filters .input-group input[type="date"].form-control:focus[b-i2o6tvkta5] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.agenda-filters .input-group:focus-within .input-group-text[b-i2o6tvkta5] {
    border-color: #86b7fe;
}

.agenda-filters .agenda-filters-sep[b-i2o6tvkta5] {
    line-height: 26px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.agenda-filters .agenda-filters-btn[b-i2o6tvkta5] {
    height: 26px;
    font-size: 0.75rem;
    padding: 0 8px;
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(13, 110, 253, 0.2);
    border-radius: 0.25rem;
}

/* ── Contenido (fondo gris, scroll) ── */
.editor-tab-content[b-i2o6tvkta5] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Tabla con layout fijo — patrón premium Campañas sv4-195 ── */
.agenda-monitor-table[b-i2o6tvkta5] {
    table-layout: fixed;
    width: 100%;
    font-size: 0.72rem;
}

.agenda-monitor-table .am-col-id[b-i2o6tvkta5] { width: 54px; }
.agenda-monitor-table .am-col-fecha[b-i2o6tvkta5] { width: 84px; }
.agenda-monitor-table .am-col-inicio[b-i2o6tvkta5] { width: 48px; }
.agenda-monitor-table .am-col-fin[b-i2o6tvkta5] { width: 48px; }
.agenda-monitor-table .am-col-desc[b-i2o6tvkta5] { width: 180px; }
.agenda-monitor-table .am-col-tiempo[b-i2o6tvkta5] { width: 58px; }
.agenda-monitor-table .am-col-doctor[b-i2o6tvkta5] { width: 150px; }
.agenda-monitor-table .am-col-especialidad[b-i2o6tvkta5] { width: 118px; }
.agenda-monitor-table .am-col-rangos[b-i2o6tvkta5] { width: 42px; }
.agenda-monitor-table .am-col-num[b-i2o6tvkta5] { width: 52px; }
.agenda-monitor-table .am-col-estado[b-i2o6tvkta5] { width: 104px; }
.agenda-monitor-table .am-col-acciones[b-i2o6tvkta5] { width: 156px; }

/* Cabecera fija como bloque: las dos filas (títulos y filtros) permanecen
   visibles al desplazar la grid y no tapan la primera fila de datos. */
.agenda-monitor-table .am-head[b-i2o6tvkta5] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f8fafc;
}

.agenda-monitor-table .am-head th[b-i2o6tvkta5] {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.agenda-monitor-table .am-head tr:nth-child(2) th[b-i2o6tvkta5] {
    background: #f1f5f9;
}

.agenda-monitor-table .cell-truncate[b-i2o6tvkta5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 1px;
}

.agenda-monitor-table .cell-date[b-i2o6tvkta5] {
    font-weight: 600;
    font-size: 0.72rem;
}

.agenda-monitor-table td .badge[b-i2o6tvkta5] {
    font-size: 0.60rem;
    font-weight: 500;
    padding: 3px 7px;
}

/* ── Botones de acción de la fila ──
   Mismo patrón que .btn-action de Gestión de Funcionarios: caja cuadrada,
   fondo y borde transparentes, icono centrado en ambos ejes y hover suave.
   El icono anula el margen que hereda de las reglas globales de .btn i. */
.am-action[b-i2o6tvkta5] {
    width: 24px;
    height: 24px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    background: none;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1 !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.12s;
    flex-shrink: 0;
}

.am-action i[b-i2o6tvkta5],
.am-action .bi[b-i2o6tvkta5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 0.78rem;
}

.am-action:hover[b-i2o6tvkta5] {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.am-action.text-primary:hover[b-i2o6tvkta5] { color: #0d6efd; }
.am-action.text-info:hover[b-i2o6tvkta5] { color: #0dcaf0; }
.am-action.text-success:hover[b-i2o6tvkta5] { color: #198754; }

.am-action.disabled[b-i2o6tvkta5],
.am-action:disabled[b-i2o6tvkta5] {
    opacity: 0.45;
    pointer-events: none;
}

.agenda-monitor-table .text-danger[b-i2o6tvkta5],
.agenda-monitor-table .text-success[b-i2o6tvkta5],
.agenda-monitor-table .text-warning[b-i2o6tvkta5] {
    font-weight: 500;
}

/* ── Grid premium (sv4-195): filas delgadas con hover suave, patrón Mensajes ── */
.agenda-monitor-table-card .table > :not(caption) > * > *[b-i2o6tvkta5] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.agenda-monitor-table-card .table-hover tbody tr:hover > *[b-i2o6tvkta5] {
    background: #f8fafc !important;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .editor-tab-content[b-i2o6tvkta5] {
        padding: 12px 16px 16px;
    }
}

/* ── Cards de historial de envíos masivos ── */

/* ── Modales con alto fijo 80vh ── */
/* Se conserva modal-dialog-centered de Bootstrap para el centrado vertical;
   aquí solo se fija el alto al 80% del viewport (anulando el min-height de Bootstrap) */
.bulk-wizard-dialog[b-i2o6tvkta5],
.history-dialog[b-i2o6tvkta5] {
    height: 80vh;
    min-height: 80vh;
    max-height: 80vh;
}

.bulk-wizard-content[b-i2o6tvkta5],
.history-content[b-i2o6tvkta5] {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.bulk-wizard-body[b-i2o6tvkta5],
.history-body[b-i2o6tvkta5] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ── Cards de métricas del asistente con patrón de burbujas ── */
.bulk-metrics-row[b-i2o6tvkta5] {
    margin: 0;
}

.bulk-metrics-row > [class*="col-"][b-i2o6tvkta5] {
    padding-left: 4px;
    padding-right: 4px;
}

.metric-bubble-card[b-i2o6tvkta5] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 6px 8px;
    border-radius: 0.5rem;
    line-height: 1.2;
    text-align: center;
}

/* Fondo oscuro y borde por variante */
.metric-bubble-card.bubble-primary[b-i2o6tvkta5] {
    background: linear-gradient(135deg, #0a58ca 0%, #0d6efd 100%);
    border: 1px solid #0a58ca;
}

.metric-bubble-card.bubble-success[b-i2o6tvkta5] {
    background: linear-gradient(135deg, #146c43 0%, #198754 100%);
    border: 1px solid #146c43;
}

.metric-bubble-card.bubble-danger[b-i2o6tvkta5] {
    background: linear-gradient(135deg, #b02a37 0%, #dc3545 100%);
    border: 1px solid #b02a37;
}

.metric-bubble-card.bubble-info[b-i2o6tvkta5] {
    background: linear-gradient(135deg, #0e8fa8 0%, #0dcaf0 100%);
    border: 1px solid #0e8fa8;
}

/* Burbujas decorativas de fondo (blancas translúcidas para verse sobre fondo oscuro) */
.metric-bubble-card[b-i2o6tvkta5]::before,
.metric-bubble-card[b-i2o6tvkta5]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10) 55%, transparent 72%);
}

/* Posición por defecto: burbuja grande arriba-derecha + pequeña abajo-izquierda */
.metric-bubble-card[b-i2o6tvkta5]::before {
    width: 66px;
    height: 66px;
    top: -28px;
    right: -22px;
}

.metric-bubble-card[b-i2o6tvkta5]::after {
    width: 34px;
    height: 34px;
    bottom: -14px;
    left: -10px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.22), transparent 65%);
}

/* Cada variante rota el sentido de las burbujas para no verse todas iguales */
.metric-bubble-card.bubble-success[b-i2o6tvkta5]::before {
    top: auto;
    right: auto;
    bottom: -28px;
    left: -22px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10) 55%, transparent 72%);
}

.metric-bubble-card.bubble-success[b-i2o6tvkta5]::after {
    bottom: auto;
    left: auto;
    top: -14px;
    right: -10px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.22), transparent 65%);
}

.metric-bubble-card.bubble-danger[b-i2o6tvkta5]::before {
    top: -28px;
    right: auto;
    left: -22px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10) 55%, transparent 72%);
}

.metric-bubble-card.bubble-danger[b-i2o6tvkta5]::after {
    bottom: auto;
    left: auto;
    top: auto;
    right: -10px;
    bottom: -14px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.22), transparent 65%);
}

.metric-bubble-card.bubble-info[b-i2o6tvkta5]::before {
    top: auto;
    right: auto;
    bottom: -28px;
    right: -22px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10) 55%, transparent 72%);
}

.metric-bubble-card.bubble-info[b-i2o6tvkta5]::after {
    bottom: auto;
    left: auto;
    top: -14px;
    left: -10px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.22), transparent 65%);
}

.metric-bubble-value[b-i2o6tvkta5] {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.metric-bubble-label[b-i2o6tvkta5] {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
}

/* ── Stepper del asistente (pasos centrados) ── */
.bulk-steps[b-i2o6tvkta5] {
    gap: 14px;
}

/* Badge de fecha del encabezado: centrado vertical con el título y el botón cerrar */
.bulk-date-badge[b-i2o6tvkta5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    font-size: 0.68rem;
    padding: 5px 10px;
    line-height: 1;
    white-space: nowrap;
}

.bulk-step[b-i2o6tvkta5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

/* Caja del número del paso: centrado perfecto del dígito */
.bulk-step-badge[b-i2o6tvkta5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    background-color: #adb5bd;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.bulk-step-badge.active[b-i2o6tvkta5] {
    background-color: #0d6efd;
}

.bulk-step-label[b-i2o6tvkta5] {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
}

.bulk-step-label.current[b-i2o6tvkta5] {
    font-weight: 600;
    color: #212529;
}

/* Flecha entre pasos: centrada verticalmente con el resto del stepper */
.bulk-step-arrow[b-i2o6tvkta5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    font-size: 0.7rem;
    line-height: 1;
    flex-shrink: 0;
}

.history-campaign-card[b-i2o6tvkta5] {
    border-radius: 0.5rem;
    transition: box-shadow 0.15s ease;
}

.history-campaign-card.border-primary[b-i2o6tvkta5] {
    border-color: #0d6efd !important;
}

.history-campaign-card .min-width-0[b-i2o6tvkta5] {
    min-width: 0;
}

/* Métricas de estado por campaña (se extienden a todo el ancho) */
.history-metrics-row[b-i2o6tvkta5] {
    margin: 0;
}

.history-metrics-row > [class*="col-"][b-i2o6tvkta5] {
    padding-left: 3px;
    padding-right: 3px;
}

.history-metric[b-i2o6tvkta5] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 4px 8px;
    border-radius: 0.375rem;
    line-height: 1.2;
    text-align: center;
}

.history-metric-value[b-i2o6tvkta5] {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
}

.history-metric-label[b-i2o6tvkta5] {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

/* Selector de campañas (master-detail) */
.history-campaign-pills[b-i2o6tvkta5] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.history-campaign-pill[b-i2o6tvkta5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 5px 10px;
    font-size: 0.75rem;
    background: #fff;
    color: #212529;
    cursor: pointer;
    transition: all 0.12s;
    flex-shrink: 0;
}

.history-campaign-pill:hover[b-i2o6tvkta5] {
    border-color: #86b7fe;
    background: #f1f7ff;
}

.history-campaign-pill.active[b-i2o6tvkta5] {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 1px 3px rgba(13, 110, 253, 0.35);
}

.history-campaign-pill .pill-badge[b-i2o6tvkta5] {
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 1px 6px;
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
}

/* Chips de filtro por estado */
.history-filter-chips[b-i2o6tvkta5] {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
}

.history-filter-chip[b-i2o6tvkta5] {
    border: 1px solid #dee2e6;
    background: #fff;
    color: #6c757d;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.68rem;
    cursor: pointer;
    transition: all 0.12s;
}

.history-filter-chip:hover[b-i2o6tvkta5] {
    border-color: #adb5bd;
    color: #212529;
}

.history-filter-chip.active[b-i2o6tvkta5] {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Tabla de mensajes del historial */
.history-messages-table[b-i2o6tvkta5] {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    font-size: 0.8rem;
}

.history-messages-table .table[b-i2o6tvkta5] {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.history-messages-table thead th[b-i2o6tvkta5] {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #6c757d;
    white-space: nowrap;
}

.history-messages-table tbody td[b-i2o6tvkta5] {
    font-size: 0.78rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.history-messages-table tbody tr[b-i2o6tvkta5] {
    cursor: pointer;
}

.history-messages-table tbody tr:hover[b-i2o6tvkta5] {
    background-color: #f8f9fa;
}

.history-messages-table tbody tr:last-child td[b-i2o6tvkta5] {
    border-bottom: none;
}

/* Scrollbar sutil para la tabla de mensajes */
.history-messages-table[b-i2o6tvkta5]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.history-messages-table[b-i2o6tvkta5]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.history-messages-table[b-i2o6tvkta5]::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

.history-messages-table[b-i2o6tvkta5]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* ===========================
   MODAL DETALLE MENSAJE - ESTILOS
   (patrón replicado de Mensajes.razor.css)
   =========================== */
.history-detail .modal-info-card[b-i2o6tvkta5] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.history-detail .modal-info-label[b-i2o6tvkta5] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.history-detail .modal-info-label i[b-i2o6tvkta5] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.history-detail .modal-info-value[b-i2o6tvkta5] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.history-detail .modal-info-sub[b-i2o6tvkta5] {
    font-size: 0.8rem;
    color: #6c757d;
}

.history-detail .modal-timeline[b-i2o6tvkta5] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.history-detail .modal-timeline-header[b-i2o6tvkta5] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.history-detail .modal-timeline-header i[b-i2o6tvkta5] {
    color: #0d6efd;
}

.history-detail .modal-timeline-body[b-i2o6tvkta5] {
    padding: 12px 14px;
}

.history-detail .timeline-item[b-i2o6tvkta5] {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 12px;
}

.history-detail .timeline-item:not(:last-child)[b-i2o6tvkta5]::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.history-detail .timeline-item:last-child[b-i2o6tvkta5] {
    padding-bottom: 0;
}

.history-detail .timeline-dot[b-i2o6tvkta5] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #e9ecef;
    position: relative;
    z-index: 1;
}

.history-detail .timeline-content[b-i2o6tvkta5] {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.history-detail .timeline-label[b-i2o6tvkta5] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
}

.history-detail .timeline-time[b-i2o6tvkta5] {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 1px;
}

.history-detail .modal-content-box[b-i2o6tvkta5] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.history-detail .modal-content-header[b-i2o6tvkta5] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.history-detail .modal-content-header i[b-i2o6tvkta5] {
    color: #0d6efd;
}

.history-detail .modal-content-text[b-i2o6tvkta5] {
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #212529;
    white-space: pre-wrap;
    max-height: 160px;
    overflow-y: auto;
    word-break: break-word;
}

.history-detail .modal-content-text[b-i2o6tvkta5]::-webkit-scrollbar {
    width: 6px;
}

.history-detail .modal-content-text[b-i2o6tvkta5]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.history-detail .modal-content-text[b-i2o6tvkta5]::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

.history-detail .modal-content-text[b-i2o6tvkta5]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto (idea sv4-328) ===== */
.editor-tabs.nav-tabs[b-i2o6tvkta5] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}
.editor-tabs .nav-item[b-i2o6tvkta5] { margin: 0 !important; padding: 0 !important; position: relative; display: flex; align-items: stretch; }
.editor-tabs .nav-item:first-child[b-i2o6tvkta5] { margin: 0 !important; padding: 0 !important; }
.editor-tabs .nav-link[b-i2o6tvkta5] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.editor-tabs .nav-link:hover[b-i2o6tvkta5] { color: #202124 !important; background: rgba(0,0,0,0.04) !important; }
.editor-tabs .nav-link.active[b-i2o6tvkta5] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}
.editor-tabs .nav-link.active[b-i2o6tvkta5]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}
.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-i2o6tvkta5]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}
.editor-tabs .nav-link i[b-i2o6tvkta5] { font-size: 14px; width: 16px; text-align: center; color: inherit; }

/* ── Novedad del médico — sv4-335 ── */
.novedad-modal-dialog[b-i2o6tvkta5] {
    max-width: 940px;
    width: calc(100% - 2rem);
}

.novedad-modal-content[b-i2o6tvkta5] {
    border-radius: 10px;
    overflow: hidden;
}

.novedad-modal-body[b-i2o6tvkta5] {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding: 16px;
    background: #fbfcfe;
}

.novedad-layout[b-i2o6tvkta5] { align-items: stretch; }

.novedad-metric[b-i2o6tvkta5] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
    height: 100%;
}

.novedad-metric-value[b-i2o6tvkta5] { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.novedad-metric-label[b-i2o6tvkta5] { font-size: 0.68rem; color: #6b7280; text-transform: uppercase; letter-spacing: .02em; }

.novedad-agenda-card[b-i2o6tvkta5] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
}

.novedad-agenda-title[b-i2o6tvkta5] { font-size: 0.75rem; font-weight: 700; color: #374151; margin-bottom: 6px; }

.novedad-agenda-row[b-i2o6tvkta5] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
    padding: 3px 0;
    border-top: 1px dashed #eef2f7;
}

.novedad-agenda-row:first-of-type[b-i2o6tvkta5] { border-top: 0; }
.novedad-agenda-row span[b-i2o6tvkta5] { color: #6b7280; }
.novedad-agenda-row strong[b-i2o6tvkta5] { color: #111827; font-weight: 600; text-align: right; }

.novedad-preview-card[b-i2o6tvkta5] {
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
}

.novedad-preview-head[b-i2o6tvkta5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.novedad-preview-empty[b-i2o6tvkta5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 280px;
    color: #94a3b8;
    text-align: center;
    padding: 24px;
}

.novedad-preview-empty i[b-i2o6tvkta5] { color: #cbd5e1; }
/* /Presentation/Components/Pages/Monitoreo/MonitorAgendamientoVivo.razor.rz.scp.css */
.editor-container[b-spdha414lh] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-spdha414lh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-spdha414lh] {
    font-size: 13px;
}

.editor-header-right[b-spdha414lh] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Indicador de conexión ── */
.badge-conexion[b-spdha414lh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 999px;
}

.badge-conexion-on[b-spdha414lh] {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.35);
}

.badge-conexion-off[b-spdha414lh] {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.35);
}

/* ── Title bar con filtros ── */
.editor-title-bar[b-spdha414lh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-spdha414lh],
.editor-title-bar .fw-semibold[b-spdha414lh],
.editor-title-bar small[b-spdha414lh] {
    color: #1a1d23 !important;
}

/* Filtros — estandarizado contra RecordatoriosRecepcionPanel (Demanda Inducida):
   label 0.68rem/600, inputs 30px/0.74rem/3px radius/#d1d5db, botones 30px/0.74rem/600 */
.vivo-filters[b-spdha414lh] {
    gap: 8px;
}

.vivo-filters .form-label[b-spdha414lh] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.vivo-filters .form-control.form-control-sm[b-spdha414lh],
.vivo-filters input[type="date"].form-control[b-spdha414lh],
.vivo-filters .form-select.form-select-sm[b-spdha414lh] {
    height: 30px;
    font-size: 0.74rem;
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    line-height: 1.4;
    box-shadow: none;
    min-height: 0;
}

.vivo-filters .form-control:focus[b-spdha414lh],
.vivo-filters .form-select:focus[b-spdha414lh] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.vivo-filters .vivo-filters-btn[b-spdha414lh] {
    height: 30px;
    font-size: 0.74rem;
    padding: 0 12px;
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ── Contenido ── */
.editor-tab-content[b-spdha414lh] {
    background: #f8f9fa;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Indicadores ── */
.vivo-kpi[b-spdha414lh] {
    border-left: 3px solid #0d6efd;
    border-radius: 0.375rem;
}

.vivo-kpi-ok[b-spdha414lh] {
    border-left-color: #198754;
}

.vivo-kpi-pend[b-spdha414lh] {
    border-left-color: #ffc107;
}

.vivo-kpi-label[b-spdha414lh] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b7280;
    font-weight: 600;
}

.vivo-kpi-value[b-spdha414lh] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1d23;
    line-height: 1.2;
    margin-top: 2px;
}

/* ── Cards estadísticas filtrables — patrón Mensajes Enviados (Mensajes.razor) ── */
.stat-card-filterable[b-spdha414lh] {
    cursor: pointer;
    user-select: none;
}

.stat-card-filterable:focus-visible[b-spdha414lh] {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}

.stat-card-filterable-active[b-spdha414lh] {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(13, 110, 253, 0.55) !important;
    transform: translateY(-2px);
}

.stat-card-badge-active[b-spdha414lh] {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.stat-card-export-btn[b-spdha414lh] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 6px;
    background: rgba(255,255,255,0.85);
    color: #198754;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.9;
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.stat-card-export-btn:hover[b-spdha414lh] {
    opacity: 1;
    transform: scale(1.08);
    background: #ffffff;
}

.stat-card-export-btn:focus-visible[b-spdha414lh] {
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
    opacity: 1;
}

.stat-card-export-btn-light[b-spdha414lh] {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.55);
    color: #ffffff;
}

.stat-card-export-btn-light:hover[b-spdha414lh] {
    background: rgba(255,255,255,0.4);
}

/* ── Listas de alertas y eventos ── */
.vivo-alertas[b-spdha414lh],
.vivo-eventos[b-spdha414lh] {
    list-style: none;
    padding-left: 0;
    font-size: 0.82rem;
}

.vivo-alertas li[b-spdha414lh],
.vivo-eventos li[b-spdha414lh] {
    padding: 3px 0;
    border-bottom: 1px dashed #eceef2;
}

.vivo-alertas li:last-child[b-spdha414lh],
.vivo-eventos li:last-child[b-spdha414lh] {
    border-bottom: none;
}

.vivo-eventos li[b-spdha414lh] {
    font-size: 0.8rem;
}

/* ── Citas en vivo — 6 días hábiles en la misma fila — idea: monitoreo-vivo-citas-en-vivo ── */
.vivo-semana-toolbar[b-spdha414lh] {
    flex-wrap: wrap;
}

.vivo-semana-grid[b-spdha414lh] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.vivo-dia-card[b-spdha414lh] {
    min-width: 0;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15,23,42,0.05) !important;
}

.vivo-dia-header[b-spdha414lh] {
    min-height: 44px;
    border-bottom: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
}

.vivo-dia-hoy[b-spdha414lh] {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22), 0 2px 6px rgba(15,23,42,0.07) !important;
    border-color: rgba(34, 197, 94, 0.45) !important;
}

.vivo-dia-lista[b-spdha414lh] {
    max-height: 420px;
    min-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.vivo-dia-lista[b-spdha414lh]::-webkit-scrollbar {
    width: 6px;
}

.vivo-dia-lista[b-spdha414lh]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

.vivo-dia-lista[b-spdha414lh]::-webkit-scrollbar-track {
    background: #f8fafc;
}

.vivo-eventos-dia[b-spdha414lh] {
    padding: 6px 6px 6px 6px;
    margin: 0;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vivo-eventos-dia li.vivo-fila[b-spdha414lh] {
    padding: 7px 9px !important;
    border: 1.5px solid #cbd5e1;
    border-left-width: 4px;
    border-left-style: solid;
    border-radius: 6px;
    font-size: 0.72rem;
    line-height: 1.25;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15,23,42,0.04);
    transition: background 0.2s ease, border-left-color 0.2s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vivo-eventos-dia li.vivo-fila:hover[b-spdha414lh] {
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.10), 0 1px 3px rgba(15,23,42,0.06);
    transform: translateY(-0.5px);
    border-color: #b8c4d6;
}

.vivo-eventos-dia li.vivo-fila:last-child[b-spdha414lh] {
    border-bottom: 1.5px solid #cbd5e1;
}

.vivo-fila-detalle[b-spdha414lh] {
    margin-top: 2px;
    min-width: 0;
}

/* Animación parpadeante 20s — idea: monitoreo-vivo-animacion-20s — tenue, no fastidiosa, respeta per-specialty bg al finalizar */
.vivo-fila-nueva[b-spdha414lh] {
    animation: vivoPulse-b-spdha414lh 20s ease-in-out;
    border-left-color: #22c55e !important;
}

@keyframes vivoPulse-b-spdha414lh {
    0%   { background: #fffbeb; border-left-color: #f59e0b; box-shadow: inset 0 0 0 1px rgba(245,158,11,0.15); }
    5%   { background: #ffffff; border-left-color: #22c55e; box-shadow: none; }
    10%  { background: #fffbeb; border-left-color: #f59e0b; }
    15%  { background: #ffffff; border-left-color: #22c55e; }
    20%  { background: #fffbeb; border-left-color: #f59e0b; }
    25%  { background: #ffffff; border-left-color: #22c55e; }
    30%  { background: #fffbeb; border-left-color: #f59e0b; }
    35%  { background: #ffffff; border-left-color: #22c55e; }
    40%  { background: #fffbeb; border-left-color: #f59e0b; }
    45%  { background: #ffffff; border-left-color: #22c55e; }
    50%  { background: #fef3c7; border-left-color: #f59e0b; }
    70%  { background: #ffffff; border-left-color: #22c55e; }
    85%  { background: #f0fdf4; border-left-color: #22c55e; }
    100% { background: #ffffff; border-left-color: transparent; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
    .vivo-fila-nueva[b-spdha414lh] {
        animation: none;
        background: #f0fdf4 !important;
        border-left-color: #22c55e !important;
    }
}

/* ── Footer progreso por especialidad — idea: monitoreo-vivo-progreso-especialidad ── */
.vivo-progreso-footer[b-spdha414lh] {
    border-top: 1.5px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.vivo-progreso-lista[b-spdha414lh] {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.vivo-progreso-lista[b-spdha414lh]::-webkit-scrollbar {
    width: 6px;
}

.vivo-progreso-lista[b-spdha414lh]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

.vivo-progreso-item .progress.vivo-progreso-bar[b-spdha414lh] {
    height: 7px !important;
    background: #e2e8f0 !important;
    border-radius: 999px !important;
}

.vivo-progreso-item .progress-bar[b-spdha414lh] {
    transition: width 0.45s ease;
}

/* Responsive: mantiene 6 en fila pero permite scroll horizontal si el contenedor es muy angosto */
@media (max-width: 1280px) {
    .vivo-semana-grid[b-spdha414lh] {
        gap: 6px;
    }
}

@media (max-width: 1100px) {
    .editor-tab-content[b-spdha414lh] {
        overflow-x: auto;
    }
    .vivo-semana-grid[b-spdha414lh] {
        min-width: 860px;
    }
}

/* ===== MODO EXPANDIDO — Citas en vivo a pantalla completa — idea: monitoreo-vivo-expandido ===== */
/* Inspirado en #gestion-demanda-inducida.modo-expandido — mismo patrón, scoped a #monitor-agendamiento-vivo */
#monitor-agendamiento-vivo.modo-expandido-vivo[b-spdha414lh] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1045 !important;
    background: #f8f9fa !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden !important;
    animation: vivoExpandIn-b-spdha414lh .18s ease;
}

@keyframes vivoExpandIn-b-spdha414lh { from { opacity:.85; transform:scale(.98);} to { opacity:1; transform:scale(1);} }

#monitor-agendamiento-vivo.modo-expandido-vivo .editor-header[b-spdha414lh],
#monitor-agendamiento-vivo.modo-expandido-vivo .editor-title-bar[b-spdha414lh] {
    display: none !important;
}

#monitor-agendamiento-vivo.modo-expandido-vivo .editor-tabs.nav-tabs[b-spdha414lh] {
    display: none !important;
}

#monitor-agendamiento-vivo.modo-expandido-vivo .editor-tab-content[b-spdha414lh] {
    flex: 1 1 auto !important;
    height: calc(100vh - 36px) !important;
    max-height: calc(100vh - 36px) !important;
    overflow: auto !important;
    background: #f8f9fa !important;
    padding: 16px 20px 20px !important;
}

#monitor-agendamiento-vivo.modo-expandido-vivo .vivo-semana-grid[b-spdha414lh] {
    height: calc(100vh - 110px) !important;
    align-items: stretch !important;
}

#monitor-agendamiento-vivo.modo-expandido-vivo .vivo-dia-card[b-spdha414lh] {
    min-height: 0 !important;
    height: 100% !important;
}

#monitor-agendamiento-vivo.modo-expandido-vivo .vivo-dia-lista[b-spdha414lh] {
    max-height: none !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    height: calc(100vh - 340px) !important;
}

#monitor-agendamiento-vivo.modo-expandido-vivo .vivo-dia-card .card-body[b-spdha414lh] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

/* ── Tabla — estandarizada contra RecordatoriosRecepcionPanel (Demanda Inducida):
   th 0.68rem/600/#475569/6px 8px/sticky/#f8fafc, td 0.72rem/4px 8px/#1f2937/fila 32px/#f1f5f9, badge 0.60rem/2px 6px/3px */
.vivo-table[b-spdha414lh] {
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.vivo-table .vc-id[b-spdha414lh] { width: 6%; }
.vivo-table .vc-paciente[b-spdha414lh] { width: 15%; }
.vivo-table .vc-medico[b-spdha414lh] { width: 13%; }
.vivo-table .vc-especialidad[b-spdha414lh] { width: 13%; }
.vivo-table .vc-hora[b-spdha414lh] { width: 7%; }
.vivo-table .vc-registro[b-spdha414lh] { width: 9%; }
.vivo-table .vc-antelacion[b-spdha414lh] { width: 8%; }
.vivo-table .vc-estado[b-spdha414lh] { width: 11%; }
.vivo-table .vc-rec[b-spdha414lh] { width: 8%; }
.vivo-table .vc-asist[b-spdha414lh] { width: 10%; }

.vivo-table thead th[b-spdha414lh] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 6px 8px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 2;
}

.vivo-table td[b-spdha414lh] {
    font-size: 0.72rem;
    color: #1f2937;
    padding: 4px 8px;
    border-bottom: 1px solid #f1f5f9;
    height: 32px;
    vertical-align: middle;
}

.vivo-table .cell-truncate[b-spdha414lh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vivo-table td .badge[b-spdha414lh] {
    font-size: 0.60rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.vivo-table tbody tr:hover[b-spdha414lh] {
    background: #f8fafc !important;
}

/* ===== PESTAÑAS — patrón .editor-tabs del proyecto ===== */
.editor-tabs.nav-tabs[b-spdha414lh] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-spdha414lh] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-spdha414lh] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-spdha414lh] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-spdha414lh] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-spdha414lh] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-spdha414lh] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-spdha414lh]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-spdha414lh]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-spdha414lh] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== SALUD DEL PROCESO ===== */

/* Escala semafórica: cada nivel define sus tokens y los componentes los consumen,
   de modo que distintivos, banner e icono comparten siempre el mismo color. */
.salud-nivel-0[b-spdha414lh] {
    --salud-texto: #15803d;
    --salud-fondo: rgba(22, 163, 74, 0.10);
    --salud-borde: rgba(22, 163, 74, 0.40);
}

.salud-nivel-1[b-spdha414lh] {
    --salud-texto: #b45309;
    --salud-fondo: rgba(234, 179, 8, 0.12);
    --salud-borde: rgba(234, 179, 8, 0.45);
}

.salud-nivel-2[b-spdha414lh] {
    --salud-texto: #b91c1c;
    --salud-fondo: rgba(220, 38, 38, 0.10);
    --salud-borde: rgba(220, 38, 38, 0.40);
}

.salud-badge[b-spdha414lh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 3px 9px;
    border-radius: 4px;
    white-space: nowrap;
    color: var(--salud-texto, #6b7280);
    background: var(--salud-fondo, rgba(107, 114, 128, 0.10));
    border: 1px solid var(--salud-borde, rgba(107, 114, 128, 0.35));
}

/* Banner de estado global: el borde izquierdo refuerza el semáforo */
.salud-banner[b-spdha414lh] {
    border-left: 4px solid var(--salud-borde, #cbd5e1) !important;
}

.salud-icono-circulo[b-spdha414lh] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    color: var(--salud-texto, #6b7280);
    background: var(--salud-fondo, rgba(107, 114, 128, 0.10));
}

/* Fichas de detalle: etiqueta corta y valor legible */
.salud-dl[b-spdha414lh] {
    display: grid;
    grid-template-columns: 92px 1fr;
    row-gap: 3px;
    column-gap: 10px;
    font-size: 0.8rem;
}

.salud-dl dt[b-spdha414lh] {
    color: #6b7280;
    font-weight: 500;
}

.salud-dl dd[b-spdha414lh] {
    margin: 0;
    color: #1a1d23;
    word-break: break-word;
}
/* /Presentation/Components/Pages/Monitoreo/Rda/RdaConsultasPanel.razor.rz.scp.css */
/* ============================================================
   Panel de consultas y logs RDA (rda-134)
   Sigue el layout estándar .editor-container / .editor-header /
   .editor-title-bar / .editor-tab-content del proyecto.
   ============================================================ */

.editor-container[b-ajqmsky72m] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-ajqmsky72m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-ajqmsky72m] {
    font-size: 13px;
}

.editor-header-right[b-ajqmsky72m] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-ajqmsky72m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-ajqmsky72m],
.editor-title-bar .fw-semibold[b-ajqmsky72m],
.editor-title-bar small[b-ajqmsky72m] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-ajqmsky72m] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Tarjetas de indicadores ── */
.rda-kpi-card[b-ajqmsky72m] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .12s ease, transform .12s ease, border-color .12s ease;
}

.rda-kpi-card:hover[b-ajqmsky72m] {
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 0.8rem rgba(15, 23, 42, .08);
}

.rda-kpi-card.selected[b-ajqmsky72m] {
    border-color: #2563eb;
    box-shadow: 0 0 0 .16rem rgba(37, 99, 235, .16);
}

.rda-kpi-icon[b-ajqmsky72m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font-size: .8rem;
    flex-shrink: 0;
}

.rda-kpi-body[b-ajqmsky72m] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.rda-kpi-label[b-ajqmsky72m] {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #64748b;
    font-weight: 600;
}

.rda-kpi-value[b-ajqmsky72m] {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
}

.rda-kpi-total .rda-kpi-icon[b-ajqmsky72m] { background: #eff6ff; color: #1d4ed8; }
.rda-kpi-ok .rda-kpi-icon[b-ajqmsky72m] { background: #dcfce7; color: #15803d; }
.rda-kpi-error .rda-kpi-icon[b-ajqmsky72m] { background: #fee2e2; color: #b91c1c; }
.rda-kpi-warn .rda-kpi-icon[b-ajqmsky72m] { background: #fef3c7; color: #b45309; }
.rda-kpi-retry .rda-kpi-icon[b-ajqmsky72m] { background: #ede9fe; color: #6d28d9; }
.rda-kpi-muted .rda-kpi-icon[b-ajqmsky72m] { background: #f1f5f9; color: #475569; }

/* ── Filtros ── */
.rda-filter-card[b-ajqmsky72m] {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
}

.rda-label[b-ajqmsky72m] {
    margin-bottom: 2px;
    font-size: .66rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.rda-filter-card .form-control-sm[b-ajqmsky72m],
.rda-filter-card .form-select-sm[b-ajqmsky72m] {
    height: 28px;
    font-size: .75rem;
}

/* Filtros en una sola línea: etiqueta y control en el mismo renglón, y desplazamiento
   horizontal en pantallas angostas para no romper la fila. */
.rda-filter-row[b-ajqmsky72m] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.rda-filter-item[b-ajqmsky72m] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

.rda-filter-label[b-ajqmsky72m] {
    font-size: .66rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}

.rda-filter-search[b-ajqmsky72m] {
    flex: 1 1 auto;
    min-width: 150px;
}

.rda-filter-search .form-control[b-ajqmsky72m] {
    flex: 1 1 auto;
    min-width: 110px;
}

.rda-filter-actions[b-ajqmsky72m] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

.rda-filter-actions .btn[b-ajqmsky72m] {
    height: 28px;
    font-size: .75rem;
    padding: 0 10px;
    white-space: nowrap;
}

.rda-filter-total[b-ajqmsky72m] {
    display: inline-flex;
    align-items: center;
    height: 28px;
    border-radius: 3px;
    font-size: .70rem;
    white-space: nowrap;
}

/* ── Tabla ── */
.rda-table-card[b-ajqmsky72m] {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    overflow: hidden;
}

.rda-card-header[b-ajqmsky72m] {
    padding: 8px 12px !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.rda-table-wrap[b-ajqmsky72m] {
    max-height: 58vh;
    overflow: auto;
}

.rda-table[b-ajqmsky72m] {
    font-size: .74rem;
    min-width: 1250px;
}

.rda-table thead th[b-ajqmsky72m] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    padding: 6px 8px;
    font-size: .67rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.rda-table tbody td[b-ajqmsky72m] {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.rda-table.table-hover tbody tr:hover > *[b-ajqmsky72m] {
    background: #f8fafc !important;
}

.rda-btn-icon[b-ajqmsky72m] {
    height: 24px;
    width: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* ── Badges de estado ── */
.rda-badge-ok[b-ajqmsky72m] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}

.rda-badge-error[b-ajqmsky72m] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
}

.rda-badge-warn[b-ajqmsky72m] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-weight: 600;
}

.rda-badge-neutral[b-ajqmsky72m] {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    font-weight: 600;
}

.rda-badge-control[b-ajqmsky72m] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    font-weight: 600;
}

/* ── Modal de detalle (estándar 90vw x 90vh) ── */
.rda-modal[b-ajqmsky72m] {
    z-index: 2055;
}

.rda-modal .modal-content[b-ajqmsky72m] {
    border: 1px solid #dbe1e8;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .25);
}

.rda-dl[b-ajqmsky72m] {
    margin: 0;
    font-size: .78rem;
}

.rda-dl dt[b-ajqmsky72m] {
    color: #64748b;
    font-weight: 600;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-top: 8px;
}

.rda-dl dt:first-child[b-ajqmsky72m] {
    margin-top: 0;
}

.rda-dl dd[b-ajqmsky72m] {
    margin: 1px 0 0;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.rda-error-box[b-ajqmsky72m] {
    padding: 10px 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
}

.rda-code[b-ajqmsky72m] {
    max-height: 52vh;
    overflow: auto;
    margin: 0;
    padding: 12px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 6px;
    font-size: .72rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.rda-empty-payload[b-ajqmsky72m] {
    padding: 20px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    font-size: .8rem;
}

/* ============================================================
   PESTAÑAS — bloque canónico .editor-tabs del proyecto
   (se replica por el aislamiento CSS de Blazor)
   ============================================================ */

.editor-tabs.nav-tabs[b-ajqmsky72m] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.editor-tabs .nav-item[b-ajqmsky72m] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-link[b-ajqmsky72m] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all .15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-ajqmsky72m] {
    color: #202124 !important;
    background: rgba(0, 0, 0, .04) !important;
}

.editor-tabs .nav-link.active[b-ajqmsky72m] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06) !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-ajqmsky72m]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-ajqmsky72m]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-ajqmsky72m] {
    font-size: 14px;
    width: 16px;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .editor-tab-content[b-ajqmsky72m] {
        padding: 12px 14px 16px;
    }

    .rda-table-wrap[b-ajqmsky72m] {
        max-height: 52vh;
    }

    .rda-modal .modal-dialog[b-ajqmsky72m] {
        margin: .5rem;
    }
}
/* /Presentation/Components/Pages/Monitoreo/Rda/RdaDashboardPanel.razor.rz.scp.css */
/* ============================================================
   Dashboard de RDA (rda-dashboard)
   Sigue el layout estándar .editor-container / .editor-header /
   .editor-title-bar / .editor-tab-content del proyecto y las
   medidas del panel de trazas de envío RDA.
   ============================================================ */

.editor-container[b-6g6hm0uvix] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-6g6hm0uvix] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-6g6hm0uvix] {
    font-size: 13px;
}

.editor-header-right[b-6g6hm0uvix] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-6g6hm0uvix] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-6g6hm0uvix],
.editor-title-bar .fw-semibold[b-6g6hm0uvix],
.editor-title-bar small[b-6g6hm0uvix] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-6g6hm0uvix] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Tarjetas ── */
.rda-dash-card[b-6g6hm0uvix] {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    overflow: hidden;
}

.rda-dash-card .card-header[b-6g6hm0uvix] {
    padding: 8px 12px !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb !important;
}

/* ── KPIs ── */
.rda-kpi-card[b-6g6hm0uvix] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rda-kpi-icon[b-6g6hm0uvix] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
}

.rda-kpi-icon-total[b-6g6hm0uvix] { background: #eff6ff; color: #1d4ed8; }
.rda-kpi-icon-ok[b-6g6hm0uvix] { background: #dcfce7; color: #15803d; }
.rda-kpi-icon-error[b-6g6hm0uvix] { background: #fee2e2; color: #b91c1c; }
.rda-kpi-icon-warn[b-6g6hm0uvix] { background: #fef3c7; color: #b45309; }
.rda-kpi-icon-retry[b-6g6hm0uvix] { background: #ede9fe; color: #6d28d9; }
.rda-kpi-icon-time[b-6g6hm0uvix] { background: #ecfeff; color: #0891b2; }

.rda-kpi-label[b-6g6hm0uvix] {
    font-size: .66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #64748b;
}

.rda-kpi-value[b-6g6hm0uvix] {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1f2937;
}

/* ── Filtros ── */
.rda-dash-card .form-control-sm[b-6g6hm0uvix],
.rda-dash-card .form-select-sm[b-6g6hm0uvix] {
    height: 28px;
    font-size: .75rem;
}

.rda-dash-card .btn-sm[b-6g6hm0uvix] {
    height: 28px;
    font-size: .75rem;
    padding: 0 10px;
    white-space: nowrap;
}

/* ── Distribución por tipo ── */
.rda-tipo-card[b-6g6hm0uvix] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    height: 100%;
}

/* ── Errores por origen ── */
.rda-origen-card[b-6g6hm0uvix] {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.rda-origen-card:hover[b-6g6hm0uvix] {
    border-color: #93c5fd;
    box-shadow: 0 2px 6px rgba(37, 99, 235, .08);
}

.rda-origen-card.selected[b-6g6hm0uvix] {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
}

.rda-origen-icon[b-6g6hm0uvix] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    flex-shrink: 0;
}

.rda-origen-body[b-6g6hm0uvix] { display: flex; flex-direction: column; min-width: 0; }
.rda-origen-label[b-6g6hm0uvix] { font-size: .66rem; color: #475569; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.rda-origen-value[b-6g6hm0uvix] { font-size: 1.02rem; font-weight: 700; color: #1f2937; line-height: 1.1; }
.rda-origen-value small[b-6g6hm0uvix] { font-size: .62rem; font-weight: 500; color: #94a3b8; }

.rda-origen-medica[b-6g6hm0uvix] { background: #eff6ff; color: #1d4ed8; }
.rda-origen-recepcion[b-6g6hm0uvix] { background: #dcfce7; color: #15803d; }
.rda-origen-paciente[b-6g6hm0uvix] { background: #fef9c3; color: #a16207; }
.rda-origen-ministerio[b-6g6hm0uvix] { background: #fee2e2; color: #b91c1c; }
.rda-origen-maestros[b-6g6hm0uvix] { background: #ede9fe; color: #6d28d9; }
.rda-origen-otros[b-6g6hm0uvix] { background: #f1f5f9; color: #475569; }

.rda-origen-badge[b-6g6hm0uvix] {
    display: inline-flex;
    align-items: center;
    font-size: .66rem;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.rda-badge-error[b-6g6hm0uvix] { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.rda-badge-warn[b-6g6hm0uvix] { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.rda-badge-neutral[b-6g6hm0uvix] { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.rda-badge-control[b-6g6hm0uvix] { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.rda-badge-resource[b-6g6hm0uvix] { background: #dcfce7; color: #15803d; border-color: #a7f3d0; }

/* ── Tabla de errores ── */
.rda-errores-table[b-6g6hm0uvix] {
    font-size: .74rem;
    min-width: 1180px;
}

.rda-errores-table thead th[b-6g6hm0uvix] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    padding: 6px 8px;
    font-size: .67rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.rda-errores-table tbody td[b-6g6hm0uvix] {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.rda-errores-table.table-hover tbody tr:hover > *[b-6g6hm0uvix] {
    background: #f8fafc !important;
}

/* ── Centinela del scroll infinito ── */
.rda-sentinel[b-6g6hm0uvix] {
    min-height: 44px;
    border-top: 1px solid #f1f5f9;
}

/* ============================================================
   PESTAÑAS — bloque canónico .editor-tabs del proyecto
   (se replica por el aislamiento CSS de Blazor)
   ============================================================ */

.editor-tabs.nav-tabs[b-6g6hm0uvix] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.editor-tabs .nav-item[b-6g6hm0uvix] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-link[b-6g6hm0uvix] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all .15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-6g6hm0uvix] {
    color: #202124 !important;
    background: rgba(0, 0, 0, .04) !important;
}

.editor-tabs .nav-link.active[b-6g6hm0uvix] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06) !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-6g6hm0uvix]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-6g6hm0uvix]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-6g6hm0uvix] {
    font-size: 14px;
    width: 16px;
}
/* /Presentation/Components/Pages/Monitoreo/Rda/RdaEnviosPanel.razor.rz.scp.css */
/* ============================================================
   Panel de trazas de envío RDA (rda-134)
   Sigue el layout estándar .editor-container / .editor-header /
   .editor-title-bar / .editor-tab-content del proyecto.
   ============================================================ */

.editor-container[b-o6szu8nvd8] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-o6szu8nvd8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-o6szu8nvd8] {
    font-size: 13px;
}

.editor-header-right[b-o6szu8nvd8] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-o6szu8nvd8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-title-bar h4[b-o6szu8nvd8],
.editor-title-bar .fw-semibold[b-o6szu8nvd8],
.editor-title-bar small[b-o6szu8nvd8] {
    color: #1a1d23 !important;
}

.editor-tab-content[b-o6szu8nvd8] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Tarjetas de indicadores ── */
.rda-kpi-card[b-o6szu8nvd8] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .12s ease, transform .12s ease, border-color .12s ease;
}

.rda-kpi-card:hover[b-o6szu8nvd8] {
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 0.8rem rgba(15, 23, 42, .08);
}

.rda-kpi-card.selected[b-o6szu8nvd8] {
    border-color: #2563eb;
    box-shadow: 0 0 0 .16rem rgba(37, 99, 235, .16);
}

.rda-kpi-icon[b-o6szu8nvd8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font-size: .8rem;
    flex-shrink: 0;
}

.rda-kpi-body[b-o6szu8nvd8] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.rda-kpi-label[b-o6szu8nvd8] {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #64748b;
    font-weight: 600;
}

.rda-kpi-value[b-o6szu8nvd8] {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
}

.rda-kpi-total .rda-kpi-icon[b-o6szu8nvd8] { background: #eff6ff; color: #1d4ed8; }
.rda-kpi-ok .rda-kpi-icon[b-o6szu8nvd8] { background: #dcfce7; color: #15803d; }
.rda-kpi-error .rda-kpi-icon[b-o6szu8nvd8] { background: #fee2e2; color: #b91c1c; }
.rda-kpi-warn .rda-kpi-icon[b-o6szu8nvd8] { background: #fef3c7; color: #b45309; }
.rda-kpi-retry .rda-kpi-icon[b-o6szu8nvd8] { background: #ede9fe; color: #6d28d9; }

/* ── Filtros ── */
.rda-filter-card[b-o6szu8nvd8] {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
}

.rda-label[b-o6szu8nvd8] {
    margin-bottom: 2px;
    font-size: .66rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.rda-filter-card .form-control-sm[b-o6szu8nvd8],
.rda-filter-card .form-select-sm[b-o6szu8nvd8] {
    height: 28px;
    font-size: .75rem;
}

/* Filtros en una sola línea: etiqueta y control en el mismo renglón, y desplazamiento
   horizontal en pantallas angostas para no romper la fila. */
.rda-filter-row[b-o6szu8nvd8] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.rda-filter-item[b-o6szu8nvd8] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

.rda-filter-label[b-o6szu8nvd8] {
    font-size: .66rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}

.rda-filter-search[b-o6szu8nvd8] {
    flex: 1 1 auto;
    min-width: 150px;
}

.rda-filter-search .form-control[b-o6szu8nvd8] {
    flex: 1 1 auto;
    min-width: 110px;
}

.rda-filter-actions[b-o6szu8nvd8] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

.rda-filter-actions .btn[b-o6szu8nvd8] {
    height: 28px;
    font-size: .75rem;
    padding: 0 10px;
    white-space: nowrap;
}

/* ── Tabla ── */
.rda-table-card[b-o6szu8nvd8] {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    overflow: hidden;
}

.rda-card-header[b-o6szu8nvd8] {
    padding: 8px 12px !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.rda-table-wrap[b-o6szu8nvd8] {
    max-height: 58vh;
    overflow: auto;
}

.rda-table[b-o6szu8nvd8] {
    font-size: .74rem;
    min-width: 1180px;
}

.rda-table thead th[b-o6szu8nvd8] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    padding: 6px 8px;
    font-size: .67rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.rda-table tbody td[b-o6szu8nvd8] {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.rda-table.table-hover tbody tr:hover > *[b-o6szu8nvd8] {
    background: #f8fafc !important;
}

.rda-btn-icon[b-o6szu8nvd8] {
    height: 24px;
    width: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* ── Badges de estado ── */
.rda-badge-ok[b-o6szu8nvd8] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}

.rda-badge-error[b-o6szu8nvd8] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
}

.rda-badge-warn[b-o6szu8nvd8] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-weight: 600;
}

.rda-badge-neutral[b-o6szu8nvd8] {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    font-weight: 600;
}

.rda-badge-control[b-o6szu8nvd8] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    font-weight: 600;
}

/* ── Modal de detalle (estándar 90vw x 90vh) ── */
.rda-modal[b-o6szu8nvd8] {
    z-index: 2055;
}

.rda-modal .modal-content[b-o6szu8nvd8] {
    border: 1px solid #dbe1e8;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .25);
}

/* Diagnóstico rápido del envío */
.rda-diag-strip[b-o6szu8nvd8] {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
}

.rda-diag-item[b-o6szu8nvd8] {
    display: flex;
    flex-direction: column;
    min-width: 130px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    line-height: 1.2;
}

.rda-diag-item span[b-o6szu8nvd8] {
    font-size: .62rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.rda-diag-item b[b-o6szu8nvd8] {
    font-size: .8rem;
    color: #1f2937;
}

.rda-diag-item .rda-diag-badge[b-o6szu8nvd8] {
    align-self: flex-start;
    font-size: .7rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 2px 7px;
    border-radius: 3px;
}

/* Recursos FHIR del bundle */
.rda-resources-wrap[b-o6szu8nvd8] {
    max-height: calc(90vh - 280px);
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
}

.rda-resources-table[b-o6szu8nvd8] {
    min-width: 980px;
    font-size: .72rem;
}

.rda-resources-table thead th[b-o6szu8nvd8] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    padding: 6px 8px;
    font-size: .67rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.rda-resources-table tbody td[b-o6szu8nvd8] {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.rda-badge-resource[b-o6szu8nvd8] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    font-weight: 600;
}

/* Respuesta del Ministerio */
.rda-response-grid[b-o6szu8nvd8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}

.rda-response-item[b-o6szu8nvd8] {
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    line-height: 1.25;
}

.rda-response-item span[b-o6szu8nvd8] {
    display: block;
    font-size: .62rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.rda-response-item b[b-o6szu8nvd8] {
    display: block;
    font-size: .78rem;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.rda-details summary[b-o6szu8nvd8] {
    cursor: pointer;
    color: #1d4ed8;
    font-size: .78rem;
    font-weight: 600;
}

.rda-dl[b-o6szu8nvd8] {
    margin: 0;
    font-size: .78rem;
}

.rda-dl dt[b-o6szu8nvd8] {
    color: #64748b;
    font-weight: 600;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-top: 8px;
}

.rda-dl dt:first-child[b-o6szu8nvd8] {
    margin-top: 0;
}

.rda-dl dd[b-o6szu8nvd8] {
    margin: 1px 0 0;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.rda-error-box[b-o6szu8nvd8] {
    padding: 10px 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
}

.rda-code[b-o6szu8nvd8] {
    max-height: 60vh;
    overflow: auto;
    margin: 0;
    padding: 12px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 6px;
    font-size: .72rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.rda-empty-payload[b-o6szu8nvd8] {
    padding: 20px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    font-size: .8rem;
}

/* ============================================================
   PESTAÑAS — bloque canónico .editor-tabs del proyecto
   (se replica por el aislamiento CSS de Blazor)
   ============================================================ */

.editor-tabs.nav-tabs[b-o6szu8nvd8] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.editor-tabs .nav-item[b-o6szu8nvd8] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-link[b-o6szu8nvd8] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all .15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-o6szu8nvd8] {
    color: #202124 !important;
    background: rgba(0, 0, 0, .04) !important;
}

.editor-tabs .nav-link.active[b-o6szu8nvd8] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06) !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-o6szu8nvd8]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-o6szu8nvd8]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-o6szu8nvd8] {
    font-size: 14px;
    width: 16px;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .editor-tab-content[b-o6szu8nvd8] {
        padding: 12px 14px 16px;
    }

    .rda-table-wrap[b-o6szu8nvd8] {
        max-height: 52vh;
    }

    .rda-modal .modal-dialog[b-o6szu8nvd8] {
        margin: .5rem;
    }
}
/* /Presentation/Components/Pages/Monitoreo/TrazabilidadDashboard.razor.rz.scp.css */
/* ── Contenedor principal ── */
.editor-container[b-2ycp8i0qu4] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* ── Header con breadcrumb ── */
.editor-header[b-2ycp8i0qu4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-2ycp8i0qu4] {
    font-size: 13px;
}

.editor-header-right[b-2ycp8i0qu4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Title bar ── */
.editor-title-bar[b-2ycp8i0qu4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-2ycp8i0qu4],
.editor-title-bar .fw-semibold[b-2ycp8i0qu4],
.editor-title-bar small[b-2ycp8i0qu4] {
    color: #1a1d23 !important;
}

/* ── Contenido (fondo gris, scroll) ── */
.editor-tab-content[b-2ycp8i0qu4] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ═══════════════════════════════════════════════
   Estilos específicos de trazabilidad (preservados)
   ═══════════════════════════════════════════════ */

.message-cell[b-2ycp8i0qu4] {
    position: relative;
    max-width: 500px;
    min-width: 300px;
}

.message-content[b-2ycp8i0qu4] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.message-popover[b-2ycp8i0qu4] {
    display: none;
    position: absolute;
    bottom: 80%;
    left: 0;
    width: max-content;
    max-width: 600px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    white-space: normal;
    color: #212529;
    font-size: 0.9rem;
}

.message-cell:hover .message-popover[b-2ycp8i0qu4] {
    display: block;
}

.badge-op[b-2ycp8i0qu4] {
    font-weight: 600;
    border: 1px solid rgba(17, 24, 39, 0.12);
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
}

.badge-op-blue[b-2ycp8i0qu4] { background: #dbeafe; color: #1e3a8a; }
.badge-op-green[b-2ycp8i0qu4] { background: #dcfce7; color: #166534; }
.badge-op-red[b-2ycp8i0qu4] { background: #fee2e2; color: #991b1b; }
.badge-op-amber[b-2ycp8i0qu4] { background: #fef3c7; color: #92400e; }
.badge-op-cyan[b-2ycp8i0qu4] { background: #cffafe; color: #155e75; }
.badge-op-purple[b-2ycp8i0qu4] { background: #ede9fe; color: #5b21b6; }
.badge-op-gray[b-2ycp8i0qu4] { background: #f3f4f6; color: #374151; }
.badge-op-pink[b-2ycp8i0qu4] { background: #fce7f3; color: #9d174d; }

.tipo-op-filter-btn[b-2ycp8i0qu4] {
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.tipo-op-card[b-2ycp8i0qu4] {
    cursor: pointer;
    border: 1px solid rgba(17, 24, 39, 0.06);
    transition: transform 80ms ease, box-shadow 80ms ease;
}

.tipo-op-card:hover[b-2ycp8i0qu4] {
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.08);
}

.tipo-op-card.selected[b-2ycp8i0qu4] {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 0.15rem rgba(16, 185, 129, 0.18);
}

/* ── Sobreescritura de padding global en botones de toolbar — estandarizados 26px sv4-198 ── */
.btn-primary.btn-sm[b-2ycp8i0qu4],
.btn-outline-primary.btn-sm[b-2ycp8i0qu4] {
    padding: 0 8px;
    border: 1px solid transparent;
    font-weight: 400;
    height: 26px;
    font-size: 0.75rem;
}

.btn-outline-primary.btn-sm[b-2ycp8i0qu4] {
    border-color: #0d6efd;
}

/* ── Grid premium (sv4-198): filas delgadas con hover suave, patrón Mensajes ── */
.trazabilidad-table-card .table > :not(caption) > * > *[b-2ycp8i0qu4] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.trazabilidad-table-card .table-hover tbody tr:hover > *[b-2ycp8i0qu4] {
    background: #f8fafc !important;
}

/* ── Tamaño de texto estándar tablas (0.8rem) ── */
.editor-tab-content .table[b-2ycp8i0qu4] {
    font-size: 0.8rem;
}

.editor-tab-content .table .small[b-2ycp8i0qu4] {
    font-size: 0.7rem;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .editor-tab-content[b-2ycp8i0qu4] {
        padding: 12px 16px 16px;
    }
}
/* /Presentation/Components/Pages/Paciente/NewPatientComponent.razor.rz.scp.css */
.disabled-input-container[b-3quvkzukyh] {
    pointer-events: none;
    opacity: 0.4;
}

.camera-overlay[b-3quvkzukyh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#patientCameraFeed[b-3quvkzukyh] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.camera-controls[b-3quvkzukyh] {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.btn-capture[b-3quvkzukyh] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-capture:active[b-3quvkzukyh] {
    transform: scale(0.95);
    background-color: #eee;
}

.btn-capture i[b-3quvkzukyh] {
    font-size: 24px;
    color: #333;
}

.step-content[b-3quvkzukyh] {
    max-height: 68vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .step-content[b-3quvkzukyh] {
        max-height: 72vh;
    }
}

@media (max-width: 480px) {
    .step-content[b-3quvkzukyh] {
        max-height: 74vh;
    }
}
/* /Presentation/Components/Pages/Paciente/PacienteManager.razor.rz.scp.css */
.editor-container[b-60kanedag1] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.editor-header[b-60kanedag1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-60kanedag1] {
    font-size: 13px;
}

.editor-header-right[b-60kanedag1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-title-bar[b-60kanedag1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-60kanedag1],
.editor-title-bar .fw-semibold[b-60kanedag1],
.editor-title-bar small[b-60kanedag1] {
    color: #1a1d23 !important;
}

/* ── Buscadores tipo sidebar ── */

.mgr-search-wrapper[b-60kanedag1] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
}

.mgr-search-icon[b-60kanedag1] {
    position: absolute;
    left: 13px;
    font-size: 0.65rem;
    color: #9ca3af;
    pointer-events: none;
}

.mgr-search-input[b-60kanedag1] {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #374151;
    padding: 4px 22px 4px 22px;
    font-size: 0.73rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s;
}

.mgr-search-input:focus[b-60kanedag1] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
    background: #fff;
}

.mgr-search-input[b-60kanedag1]::placeholder {
    color: #9ca3af;
    opacity: 0.6;
    font-size: 0.7rem;
}

.mgr-search-clear[b-60kanedag1] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1;
}

.mgr-search-clear:hover[b-60kanedag1] {
    opacity: 1;
    color: #dc2626;
}

.mgr-search-empty[b-60kanedag1] {
    text-align: center;
    padding: 16px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* ============================================================
   Split horizontal: empresas panel (izq) + grid de pacientes (der)
   ============================================================ */

.func-split-body[b-60kanedag1] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #f8f9fa;
}

/* ── Panel derecho: Grid de Pacientes ── */

.func-grid-panel[b-60kanedag1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.func-grid-toolbar[b-60kanedag1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 7px 14px;
    border-bottom: 1px solid #e2e4e9;
    background: #fff;
    flex-shrink: 0;
}

.func-grid-wrapper[b-60kanedag1] {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
}

.func-grid-wrapper[b-60kanedag1]::-webkit-scrollbar {
    width: 5px;
}

.func-grid-wrapper[b-60kanedag1]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.func-grid-wrapper[b-60kanedag1]::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* ── Cabecera de la tabla ── */

.func-grid-header[b-60kanedag1] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ── Filas de la tabla ── */

.func-grid-row[b-60kanedag1] {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f3f4f6;
    gap: 6px;
    transition: background 0.12s;
    min-height: 40px;
    font-size: 0.8rem;
}

.func-grid-row:hover[b-60kanedag1] {
    background: #f9fafb;
}

.func-grid-row.inactive[b-60kanedag1] {
    opacity: 0.55;
    background: #f9fafb;
}

/* ── Columnas de paciente ── */

.pac-col-doc[b-60kanedag1] {
    width: 140px;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pac-col-name[b-60kanedag1] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: #374151;
    font-weight: 500;
}

.pac-col-eps[b-60kanedag1] {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.pac-col-genero[b-60kanedag1] {
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

.pac-col-estado[b-60kanedag1] {
    width: 90px;
    flex-shrink: 0;
    text-align: center;
}

.pac-col-actions[b-60kanedag1] {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0.2;
    transition: opacity 0.15s;
}

.func-grid-row:hover .pac-col-actions[b-60kanedag1] {
    opacity: 1;
}

/* ── Badge de contacto en grid ── */

.func-contact-badge[b-60kanedag1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 0.55rem;
    flex-shrink: 0;
    cursor: default;
    transition: all 0.12s;
}

.func-contact-badge:hover[b-60kanedag1] {
    background: #e8f0fe;
    color: #1a73e8;
}

/* ── Footer del grid ── */

.func-grid-footer[b-60kanedag1] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
    flex-shrink: 0;
    gap: 8px;
}

.func-grid-footer-count[b-60kanedag1] {
    font-size: 0.72rem;
    color: #6b7280;
}

.func-grid-footer-count i[b-60kanedag1] {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ── Panel izquierdo: Empresas ── */

.func-role-panel[b-60kanedag1] {
    width: 340px;
    min-width: 340px;
    max-width: 380px;
    border-right: 1px solid #e2e4e9;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.func-role-header[b-60kanedag1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e4e9;
    background: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.func-role-header i[b-60kanedag1] {
    color: #1a73e8;
    font-size: 0.82rem;
}

.func-role-list[b-60kanedag1] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.func-role-list[b-60kanedag1]::-webkit-scrollbar {
    width: 4px;
}

.func-role-list[b-60kanedag1]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.func-role-item[b-60kanedag1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    color: #374151;
}

.func-role-item:hover[b-60kanedag1] {
    background: #f3f4f6;
}

.func-role-item.active[b-60kanedag1] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.func-role-item i[b-60kanedag1] {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.func-role-item.active i[b-60kanedag1] {
    color: #1a73e8;
}

.func-role-name[b-60kanedag1] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.func-role-count-badge[b-60kanedag1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.func-role-item.active .func-role-count-badge[b-60kanedag1] {
    background: #d2e3fc;
    color: #1557b0;
}

.func-role-footer[b-60kanedag1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    color: #9ca3af;
    border-top: 1px solid #e2e4e9;
    background: #f9fafb;
}

.func-role-footer i[b-60kanedag1] {
    font-size: 0.7rem;
}

/* ── Estrella de favorito ── */

.func-role-star[b-60kanedag1] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.15s;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.func-role-item:hover .func-role-star[b-60kanedag1] {
    opacity: 0.6;
}

.func-role-star:hover[b-60kanedag1] {
    opacity: 1 !important;
    color: #f59e0b;
}

.func-role-star.active[b-60kanedag1] {
    opacity: 1;
    color: #f59e0b;
}

/* ── Botones de acción ── */

.btn-action[b-60kanedag1] {
    background: none;
    border: 1px solid transparent;
    color: #6b7280;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.12s;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.btn-action:hover[b-60kanedag1] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-action.text-danger:hover[b-60kanedag1] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ============================================================
   Compact form: controles del formulario de pacientes
   ============================================================ */

.func-compact-form .form-control-sm[b-60kanedag1],
.func-compact-form .form-select-sm[b-60kanedag1] {
    height: 28px;
    font-size: 0.84rem;
    padding: 2px 8px;
    line-height: 1.3;
    border-radius: 3px;
}

.func-compact-form .form-label[b-60kanedag1] {
    font-size: 0.74rem;
    margin-bottom: 1px;
    color: #4b5563;
    font-weight: 500;
}

.func-compact-form .section-title[b-60kanedag1] {
    font-size: 0.81rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 3px;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.func-compact-form .section-title i[b-60kanedag1] {
    font-size: 0.76rem;
    margin-right: 4px;
}

.func-compact-form .section-body[b-60kanedag1] {
    margin-bottom: 6px;
}

.func-compact-form .compact-badge[b-60kanedag1] {
    font-size: 0.66rem;
    font-weight: 500;
    padding: 2px 8px;
    line-height: 1.4;
}

.func-compact-form .compact-tag[b-60kanedag1] {
    font-size: 0.68rem;
    padding: 5px 10px;
    border-radius: 4px;
}

.func-compact-form .compact-btn-add[b-60kanedag1] {
    font-size: 0.68rem;
    padding: 1px 6px;
    height: 22px;
    line-height: 1;
}

.func-compact-form .compact-badge-remove[b-60kanedag1] {
    font-size: 0.51rem;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}

.func-compact-form .compact-badge-remove:hover[b-60kanedag1] {
    opacity: 1;
}

.func-compact-form .compact-search[b-60kanedag1] {
    height: 24px;
    font-size: 0.71rem;
    padding: 1px 6px;
    border-radius: 3px;
}

.func-compact-form .compact-panel[b-60kanedag1] {
    padding: 4px 6px;
    border-radius: 4px;
}

.func-compact-form .form-check-label[b-60kanedag1] {
    font-size: 0.81rem;
}

/* ── Zona de carga de archivos (cards elegantes como en FuncionarioManager) ── */

.file-upload-zone[b-60kanedag1] {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.file-upload-btn[b-60kanedag1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px dashed #c4c4c4;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 1;
    pointer-events: none;
}

.file-upload-zone:hover .file-upload-btn[b-60kanedag1] {
    border-color: #1a73e8;
    color: #1a73e8;
    background: #f0f7ff;
}

.file-upload-btn i[b-60kanedag1] {
    font-size: 0.8rem;
    color: #9ca3af;
    transition: color 0.15s;
}

.file-upload-zone:hover .file-upload-btn i[b-60kanedag1] {
    color: #1a73e8;
}

.delete-btn-overlay[b-60kanedag1] {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 3;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.65rem;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.12s;
    opacity: 0;
}

.doc-card:hover .delete-btn-overlay[b-60kanedag1] {
    opacity: 1;
}

.delete-btn-overlay:hover[b-60kanedag1] {
    background: #fef2f2;
    border-color: #fca5a5;
}

/* Solo casillas y radios: los interruptores (role="switch") conservan el
   tamaño de Bootstrap (2em x 1em) definido en el patrón .suros-switch. */
.func-compact-form .form-check-input:not([role="switch"])[b-60kanedag1] {
    margin-top: 2px;
    width: 0.9rem;
    height: 0.9rem;
}

/* ============================================================
   TABS
   ============================================================ */

.func-compact-form .editor-tabs.nav-tabs[b-60kanedag1] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 0 1px 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 38px;
    flex-shrink: 0;
    min-height: 38px;
}

.func-compact-form .editor-tabs .nav-item[b-60kanedag1] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.func-compact-form .editor-tabs .nav-link[b-60kanedag1] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 38px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.func-compact-form .editor-tabs .nav-link:hover[b-60kanedag1] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.func-compact-form .editor-tabs .nav-link.active[b-60kanedag1] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 38px !important;
    padding: 0 16px !important;
    margin: 0 !important;
}

.func-compact-form .editor-tabs .nav-link.active[b-60kanedag1]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.func-compact-form .editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-60kanedag1]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #dadce0;
}

.func-compact-form .editor-tabs .nav-link i[b-60kanedag1] {
    font-size: 14px;
    width: 15px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO DE PESTAÑA ===== */

.func-compact-form .func-tab-content[b-60kanedag1] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px 16px;
}

/* ── Barra de favoritos (empresas) ── */

.mgr-fav-bar[b-60kanedag1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.mgr-fav-bar-icon[b-60kanedag1] {
    font-size: 0.65rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.mgr-fav-pill[b-60kanedag1] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    font-size: 0.75rem;
    color: #92400e;
    cursor: pointer;
    transition: all 0.12s;
    white-space: nowrap;
}

.mgr-fav-pill:hover[b-60kanedag1] {
    background: #fef3c7;
    border-color: #f59e0b;
}

.mgr-fav-pill.active[b-60kanedag1] {
    background: #f59e0b;
    border-color: #d97706;
    color: #fff;
}

.mgr-fav-pill i[b-60kanedag1] {
    font-size: 0.6rem;
}

.mgr-fav-pill-remove[b-60kanedag1] {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-size: 0.55rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.mgr-fav-pill-remove:hover[b-60kanedag1] {
    opacity: 1;
}

/* ── Centinela de scroll infinito ── */
.scroll-sentinel[b-60kanedag1] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    gap: 4px;
    color: #6b7280;
    font-size: 0.75rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileActivityTimeline.razor.rz.scp.css */
/* ProfileActivityTimeline (per-001) — Estilos aislados */
.profile-timeline[b-1mfetmmu83] {
    position: relative;
    padding-left: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-border-color, #d1d5db) transparent;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar {
    width: 5px;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar-track {
    background: transparent;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar-thumb {
    background: var(--bs-border-color, #d1d5db);
    border-radius: 10px;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary-color, #9ca3af);
}

.profile-timeline[b-1mfetmmu83]::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color, #e5e7eb);
}

.timeline-item[b-1mfetmmu83] {
    position: relative;
    padding-bottom: 1.25rem;
}

.timeline-item:last-child[b-1mfetmmu83] {
    padding-bottom: 0;
}

.timeline-dot[b-1mfetmmu83] {
    position: absolute;
    left: -1.5rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.timeline-dot.dot-success[b-1mfetmmu83] { background: #10B981; }
.timeline-dot.dot-primary[b-1mfetmmu83] { background: #3B82F6; }
.timeline-dot.dot-danger[b-1mfetmmu83]  { background: #EF4444; }
.timeline-dot.dot-info[b-1mfetmmu83]    { background: #06B6D4; }
.timeline-dot.dot-warning[b-1mfetmmu83] { background: #F59E0B; }
.timeline-dot.dot-secondary[b-1mfetmmu83] { background: #6B7280; }

.timeline-content[b-1mfetmmu83] {
    padding-left: 0.5rem;
}

.profile-empty-section[b-1mfetmmu83] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileAuditoria.razor.rz.scp.css */
.profile-card[b-s77n8vhirc] {
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.profile-card:hover[b-s77n8vhirc] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.profile-section-header[b-s77n8vhirc] {
    background: transparent;
    font-weight: 600;
    font-size: 0.925rem;
    border-bottom: 1px solid var(--bs-border-color, #e5e7eb);
    padding: 0.75rem 1rem;
}

.profile-empty-section[b-s77n8vhirc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}

/* ── Grid premium (sv4-199): filas delgadas con hover suave, patrón Mensajes ── */
.auditoria-table-card .table > :not(caption) > * > *[b-s77n8vhirc] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.auditoria-table-card .table-hover tbody tr:hover > *[b-s77n8vhirc] {
    background: #f8fafc !important;
}

.table-responsive .table thead th[b-s77n8vhirc] {
    white-space: nowrap;
}

.table-responsive .table tbody td[b-s77n8vhirc] {
    vertical-align: middle;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileGeneralInfo.razor.rz.scp.css */
/* ProfileGeneralInfo (per-001) — Estilos aislados */
.info-field[b-5mvyul716o] {
    margin-bottom: 0.5rem;
}

.info-field small[b-5mvyul716o] {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.15rem;
}

.info-field .info-value[b-5mvyul716o] {
    font-size: 0.925rem;
    color: var(--bs-body-color, #111827);
    word-break: break-word;
}

.profile-empty-section[b-5mvyul716o] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileKPIs.razor.rz.scp.css */
/* ProfileKPIs (per-001) — Estilos aislados para KPI Cards + Skeleton Loader */

/* KPI Cards base */
.kpi-card[b-qwe88nyvn2] {
    background: var(--bs-card-bg, #fff);
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 10px;
    padding: 1rem 1rem 1rem 1.25rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover[b-qwe88nyvn2] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kpi-header[b-qwe88nyvn2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.kpi-header i[b-qwe88nyvn2] {
    font-size: 1.1rem;
    min-width: 18px;
    text-align: center;
}

.kpi-label[b-qwe88nyvn2] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6b7280);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.kpi-value[b-qwe88nyvn2] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bs-body-color, #111827);
    line-height: 1.2;
    padding-left: calc(18px + 0.75rem);
}

.kpi-trend[b-qwe88nyvn2] {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    padding-left: calc(18px + 0.75rem);
}

.kpi-trend.trend-up[b-qwe88nyvn2] {
    color: #10B981;
}

.kpi-trend.trend-down[b-qwe88nyvn2] {
    color: #EF4444;
}

/* Small unidad */
.kpi-card small[b-qwe88nyvn2] {
    display: block;
    margin-top: 0.15rem;
    padding-left: calc(18px + 0.75rem);
}

/* Skeleton Loader */
.kpi-skeleton[b-qwe88nyvn2] {
    pointer-events: none;
}

.skeleton-icon[b-qwe88nyvn2] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite;
}

.skeleton-label[b-qwe88nyvn2] {
    width: 60%;
    height: 12px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite;
}

.skeleton-value[b-qwe88nyvn2] {
    width: 40%;
    height: 28px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    margin: 0.5rem 0;
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite 0.1s;
}

.skeleton-trend[b-qwe88nyvn2] {
    width: 30%;
    height: 12px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite 0.2s;
}

@keyframes skeleton-pulse-b-qwe88nyvn2 {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* KPI Tooltip */
.kpi-card[b-qwe88nyvn2] {
    position: relative;
}

.kpi-tooltip[b-qwe88nyvn2] {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-dark, #1f2937);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kpi-tooltip[b-qwe88nyvn2]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bs-dark, #1f2937);
}

.kpi-card:hover .kpi-tooltip[b-qwe88nyvn2] {
    display: block;
}

/* Empty section */
.profile-empty-section[b-qwe88nyvn2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}

/* Responsive: móvil */
@media (max-width: 767.98px) {
    .kpi-card[b-qwe88nyvn2] {
        padding: 0.75rem 0.75rem 0.75rem 1rem;
    }

    .kpi-value[b-qwe88nyvn2] {
        font-size: 1.25rem;
        padding-left: calc(18px + 0.5rem);
    }

    .kpi-trend[b-qwe88nyvn2] {
        padding-left: calc(18px + 0.5rem);
    }

    .kpi-card small[b-qwe88nyvn2] {
        padding-left: calc(18px + 0.5rem);
    }
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileProductivity.razor.rz.scp.css */
/* ProfileProductivity (per-001) — Estilos aislados */
.prod-card[b-hi0y861o5r] {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-card-bg, #fff);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.prod-card:hover[b-hi0y861o5r] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prod-card-success[b-hi0y861o5r] { border-left: 4px solid #10B981; }
.prod-card-primary[b-hi0y861o5r] { border-left: 4px solid #3B82F6; }
.prod-card-info[b-hi0y861o5r]    { border-left: 4px solid #06B6D4; }
.prod-card-danger[b-hi0y861o5r]  { border-left: 4px solid #EF4444; }

.profile-empty-section[b-hi0y861o5r] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileRoles.razor.rz.scp.css */
/* ProfileRoles (per-001) — Estilos aislados para badges de roles */

.role-badge[b-mu3psetacc] {
    position: relative;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.role-badge:hover[b-mu3psetacc] {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.role-tooltip[b-mu3psetacc] {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-dark, #1f2937);
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.role-tooltip[b-mu3psetacc]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bs-dark, #1f2937);
}

.role-badge:hover .role-tooltip[b-mu3psetacc] {
    display: block;
}

.profile-empty-section[b-mu3psetacc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileSecurity.razor.rz.scp.css */
/* ProfileSecurity (per-001) v2 — Estilos aislados con info enriquecida */

.profile-security-table th[b-8rfg5c1xjl] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    border-bottom-width: 1px;
}

.profile-security-table td[b-8rfg5c1xjl] {
    vertical-align: middle;
    font-size: 0.82rem;
}

.profile-security-table tr.table-active[b-8rfg5c1xjl] {
    background-color: #f0f7ff;
}

.ip-badge[b-8rfg5c1xjl] {
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.device-info[b-8rfg5c1xjl] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Badges de estado (Activa / Cerrada) con más padding vertical */
.profile-security-table .badge[b-8rfg5c1xjl] {
    padding: 0.5em 0.9em !important;
    font-size: 0.75rem;
}

/* Badge de SO más espaciado */
.so-badge[b-8rfg5c1xjl] {
    font-size: 0.7rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
    border: 1px solid #e5e7eb;
}

/* Badge de conteo en el header */
.profile-section-header .badge[b-8rfg5c1xjl] {
    padding: 0.45em 0.75em !important;
}

.profile-empty-section[b-8rfg5c1xjl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}

/* Responsive: en móviles, ocultar columna Duración */
@media (max-width: 768px) {
    .profile-security-table th:nth-child(2)[b-8rfg5c1xjl],
    .profile-security-table td:nth-child(2)[b-8rfg5c1xjl] {
        display: none;
    }
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileSettings.razor.rz.scp.css */
/* ProfileSettings (per-001) — Estilos aislados */
.fw-medium[b-xzcc3egul2] {
    font-weight: 500;
}

.profile-empty-section[b-xzcc3egul2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileSidebar.razor.rz.scp.css */
/* Profile Sidebar - per-001 Enterprise User Profile Dashboard */
.profile-sidebar[b-1k3qf2w5s0] {
    position: sticky;
    top: 1rem;
    background: var(--bs-card-bg, #fff);
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.profile-sidebar:hover[b-1k3qf2w5s0] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Avatar */
.profile-avatar-container[b-1k3qf2w5s0] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-light, #f8f9fa);
}

.profile-avatar[b-1k3qf2w5s0] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nombre */
.profile-name[b-1k3qf2w5s0] {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--bs-body-color, #111827);
    line-height: 1.3;
}

/* Rol */
.profile-role[b-1k3qf2w5s0] {
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6b7280);
}

/* Empresa */
.profile-company[b-1k3qf2w5s0] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #9ca3af);
}

/* Estadísticas */
.profile-stats[b-1k3qf2w5s0] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item[b-1k3qf2w5s0] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.stat-icon[b-1k3qf2w5s0] {
    width: 18px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #9ca3af);
    flex-shrink: 0;
}

.stat-info[b-1k3qf2w5s0] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stat-label[b-1k3qf2w5s0] {
    color: var(--bs-secondary-color, #9ca3af);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.stat-value[b-1k3qf2w5s0] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-body-color, #111827);
}

/* bg-purple personalizado (Invitado) */
.bg-purple[b-1k3qf2w5s0] {
    background-color: #8B5CF6 !important;
    color: #fff !important;
}
/* /Presentation/Components/Pages/Perfil/ProfilePhotos.razor.rz.scp.css */
/* ProfilePhotos (per-002) — Estilos de tabs y cards de imagen embebido en UserProfile */

/* ===== TABS ===== */
.editor-tabs.nav-tabs[b-ti9tarayxy] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-ti9tarayxy] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-link[b-ti9tarayxy] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-ti9tarayxy] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-ti9tarayxy] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-link.active[b-ti9tarayxy]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-ti9tarayxy]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-ti9tarayxy] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== TAB CONTENT ===== */
.photo-tab-content[b-ti9tarayxy] {
    background: #f8f9fa;
    border-top: none;
    min-height: 300px;
    position: relative;
}

.photo-tab-pane[b-ti9tarayxy] {
    padding: 20px 24px 24px;
}

/* ===== CARDS DE IMAGEN ===== */
.inst-split-card[b-ti9tarayxy] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.inst-split-card:hover[b-ti9tarayxy] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

.inst-split-header[b-ti9tarayxy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.inst-split-header h6[b-ti9tarayxy] {
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.inst-split-header h6 i[b-ti9tarayxy] {
    color: #1a73e8;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.inst-date-badge[b-ti9tarayxy] {
    font-size: 0.65rem;
    color: #9ca3af;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.inst-split-body[b-ti9tarayxy] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.inst-preview-zone[b-ti9tarayxy] {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    border-right: 1px solid #f0f0f0;
}

.inst-preview-img[b-ti9tarayxy] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 130px;
    position: relative;
}

.inst-preview-img img[b-ti9tarayxy] {
    max-height: 110px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.inst-preview-img img:hover[b-ti9tarayxy] {
    transform: scale(1.03);
}

.inst-placeholder[b-ti9tarayxy] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    min-height: 130px;
    color: #d1d5db;
}

.inst-placeholder i[b-ti9tarayxy] {
    font-size: 2.2rem;
    color: #d1d5db;
}

.inst-placeholder span[b-ti9tarayxy] {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.inst-img-meta[b-ti9tarayxy] {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.inst-meta-badge[b-ti9tarayxy] {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.editor-tab-content .badge[b-ti9tarayxy] {
    padding-top: 0.4em !important;
    padding-bottom: 0.4em !important;
}

.inst-actions[b-ti9tarayxy] {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.inst-btn[b-ti9tarayxy] {
    font-size: 0.75rem;
    border-radius: 3px;
    padding: 5px 12px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    font-weight: 500;
    line-height: 1.4;
}

.inst-btn-primary[b-ti9tarayxy] {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.inst-btn-primary:hover:not(.disabled)[b-ti9tarayxy] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.inst-btn-danger[b-ti9tarayxy] {
    background: #fff;
    border-color: #fecaca;
    color: #dc2626;
}

.inst-btn-danger:hover:not(.disabled)[b-ti9tarayxy] {
    background: #fef2f2;
    border-color: #fca5a5;
}

.inst-btn.disabled[b-ti9tarayxy] {
    opacity: 0.5;
    cursor: not-allowed;
}

.inst-info-zone[b-ti9tarayxy] {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    gap: 8px;
    background: #fafafa;
}

.inst-info-header[b-ti9tarayxy] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.inst-info-header i[b-ti9tarayxy] {
    color: #1a73e8;
    font-size: 0.75rem;
}

.inst-info-item[b-ti9tarayxy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inst-info-label[b-ti9tarayxy] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
}

.inst-info-label i[b-ti9tarayxy] {
    width: 14px;
    text-align: center;
    font-size: 0.65rem;
    color: #1a73e8;
}

.inst-info-desc[b-ti9tarayxy] {
    margin: 0 0 0 19px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.45;
}

.inst-info-tip[b-ti9tarayxy] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding: 6px 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    font-size: 0.68rem;
    color: #92400e;
    line-height: 1.4;
}

.inst-info-tip i[b-ti9tarayxy] {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-top: 1px;
    flex-shrink: 0;
}
/* /Presentation/Components/Pages/Perfil/UserProfile.razor.rz.scp.css */
/* ===== PESTAÑAS — EXACTO InstitucionPanel ===== */
.editor-tabs.nav-tabs[b-z1o8hx8zf3] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

.editor-tabs .nav-item[b-z1o8hx8zf3] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

.editor-tabs .nav-item:first-child[b-z1o8hx8zf3] {
    margin: 0 !important;
    padding: 0 !important;
}

.editor-tabs .nav-link[b-z1o8hx8zf3] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-z1o8hx8zf3] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-z1o8hx8zf3] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.editor-tabs .nav-item:first-child .nav-link.active[b-z1o8hx8zf3] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.editor-tabs .nav-link.active[b-z1o8hx8zf3]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-z1o8hx8zf3]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-z1o8hx8zf3] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ===== CONTENIDO CON TABS — EXACTO InstitucionPanel ===== */
.tab-content.editor-tab-content[b-z1o8hx8zf3] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.tab-content.editor-tab-content > *[b-z1o8hx8zf3] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

/* ── Contenedor principal (mismo que InstitucionPanel) ── */
.editor-container[b-z1o8hx8zf3] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* ── Header con breadcrumb ── */
.editor-header[b-z1o8hx8zf3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-z1o8hx8zf3] {
    font-size: 13px;
}

.editor-header-right[b-z1o8hx8zf3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Title bar ── */
.editor-title-bar[b-z1o8hx8zf3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-z1o8hx8zf3],
.editor-title-bar .fw-semibold[b-z1o8hx8zf3],
.editor-title-bar small[b-z1o8hx8zf3] {
    color: #1a1d23 !important;
}

/* ── Loading y error states deben ser estáticos, no absolute ── */
.tab-content.editor-tab-content > .d-flex[b-z1o8hx8zf3],
.tab-content.editor-tab-content > .alert[b-z1o8hx8zf3] {
    position: static;
    padding: 0;
    margin: 0;
}

/* ── Grid layout: Content + Sidebar dentro del tab ── */
.profile-layout[b-z1o8hx8zf3] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    height: 100%;
}

@media (max-width: 1199.98px) {
    .profile-layout[b-z1o8hx8zf3] {
        grid-template-columns: 1fr;
    }

    .profile-sidebar-col[b-z1o8hx8zf3] {
        order: -1;
    }
}

/* ── Sidebar sticky ── */
.profile-sidebar-col[b-z1o8hx8zf3] {
    position: sticky;
    top: 0;
}

/* ── Separación entre secciones dentro del contenido ── */
.profile-content > section[b-z1o8hx8zf3],
.profile-content > .card[b-z1o8hx8zf3],
.profile-content[b-z1o8hx8zf3] >  section,
.profile-content[b-z1o8hx8zf3] >  .card {
    margin-bottom: 20px;
}

/* ── Separación entre secciones del perfil ── */
.profile-content[b-z1o8hx8zf3]  section {
    margin-bottom: 20px;
}

/* ── Cards ── */
.profile-card[b-z1o8hx8zf3] {
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.profile-card:hover[b-z1o8hx8zf3] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.profile-section-header[b-z1o8hx8zf3] {
    background: transparent;
    font-weight: 600;
    font-size: 0.925rem;
    border-bottom: 1px solid var(--bs-border-color, #e5e7eb);
    padding: 0.75rem 1rem;
}

/* ── Avatar con iniciales ── */
.profile-initials-avatar[b-z1o8hx8zf3] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D8ABC, #0A6E94);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid var(--bs-border-color, #e5e7eb);
}

.profile-initials-avatar span[b-z1o8hx8zf3] {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* /Presentation/Components/Pages/UsuariosEnLineaPanel.razor.rz.scp.css */
.usuarios-en-linea-panel[b-q971x9prtl] {
    width: 250px;
    background-image: var(--sidebar-gradient);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: width 0.3s ease;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    border-left: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

/* ── Header ── */
.usuarios-en-linea-header[b-q971x9prtl] {
    background-color: var(--sidebar-bg-overlay);
    padding: 10px 12px;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 44px;
}

.usuarios-en-linea-title-group[b-q971x9prtl] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.usuarios-en-linea-title[b-q971x9prtl] {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sidebar-header-color);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usuarios-en-linea-count[b-q971x9prtl] {
    background-color: var(--sidebar-hover);
    color: var(--sidebar-text);
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    flex-shrink: 0;
}

.usuarios-en-linea-live-dot[b-q971x9prtl] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.8);
    flex-shrink: 0;
}

.usuarios-en-linea-toggle[b-q971x9prtl] {
    background: none;
    border: none;
    color: var(--sidebar-text);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}

.usuarios-en-linea-toggle:hover[b-q971x9prtl] {
    background-color: var(--sidebar-hover);
}

/* ── Body ── */
.usuarios-en-linea-body[b-q971x9prtl] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
}

.usuarios-en-linea-body[b-q971x9prtl]::-webkit-scrollbar {
    width: 6px;
}

.usuarios-en-linea-body[b-q971x9prtl]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.usuarios-en-linea-body[b-q971x9prtl]::-webkit-scrollbar-thumb {
    background: var(--sidebar-hover);
    border-radius: 3px;
}

.usuarios-en-linea-body[b-q971x9prtl]::-webkit-scrollbar-thumb:hover {
    background: var(--sidebar-hover);
}

/* ── Item ── */
.usuarios-en-linea-item[b-q971x9prtl] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: default;
    transition: background-color 0.15s;
}

.usuarios-en-linea-item:hover[b-q971x9prtl] {
    background-color: var(--sidebar-hover);
}

.usuarios-en-linea-avatar[b-q971x9prtl] {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: visible;
    background-color: var(--sidebar-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}

.usuarios-en-linea-avatar img[b-q971x9prtl] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sidebar-border);
}

.usuarios-en-linea-inicial[b-q971x9prtl] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sidebar-text);
    background-color: var(--sidebar-hover);
    border: 2px solid var(--sidebar-border);
}

.usuarios-en-linea-presence[b-q971x9prtl] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 2px var(--sidebar-border);
}

.usuarios-en-linea-info[b-q971x9prtl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.usuarios-en-linea-nombre[b-q971x9prtl] {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--sidebar-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usuarios-en-linea-rol[b-q971x9prtl] {
    font-size: 0.64rem;
    color: var(--sidebar-sub-header-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Empty state ── */
.usuarios-en-linea-empty[b-q971x9prtl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 8px;
    color: var(--sidebar-sub-header-color);
    font-size: 0.72rem;
    text-align: center;
}

.usuarios-en-linea-empty i[b-q971x9prtl] {
    font-size: 1.4rem;
    opacity: 0.6;
}

/* ── Footer ── */
.usuarios-en-linea-footer[b-q971x9prtl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-top: 1px solid var(--sidebar-border);
    background-color: var(--sidebar-bg-overlay);
    font-size: 0.66rem;
    color: var(--sidebar-sub-header-color);
    white-space: nowrap;
}

.usuarios-en-linea-footer .online[b-q971x9prtl] {
    color: #22c55e;
}

.usuarios-en-linea-footer .offline[b-q971x9prtl] {
    color: #f59e0b;
}

/* ── Colapsado ── */
.usuarios-en-linea-collapsed[b-q971x9prtl] {
    width: 52px;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-header[b-q971x9prtl] {
    justify-content: center;
    padding: 10px 6px;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-title-group[b-q971x9prtl] {
    display: none;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-toggle i[b-q971x9prtl] {
    transform: none;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-body[b-q971x9prtl] {
    padding: 8px 6px;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-item[b-q971x9prtl] {
    justify-content: center;
    padding: 4px 0;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-info[b-q971x9prtl] {
    display: none;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-empty span[b-q971x9prtl] {
    display: none;
}

.usuarios-en-linea-collapsed .usuarios-en-linea-footer span[b-q971x9prtl] {
    display: none;
}

/* ════════════════════════════════════════════
   TOASTS DE PRESENCIA — notificaciones de conexión/desconexión
   ════════════════════════════════════════════ */

.suros-presence-toasts[b-q971x9prtl] {
    position: fixed;
    top: 72px;
    right: 18px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
    max-width: min(380px, calc(100vw - 36px));
}

.suros-presence-toast[b-q971x9prtl] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left-width: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: surosToastIn-b-q971x9prtl 0.32s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
    pointer-events: auto;
}

.suros-presence-toast.connect[b-q971x9prtl] {
    border-left-color: #22c55e;
}

.suros-presence-toast.disconnect[b-q971x9prtl] {
    border-left-color: #ef4444;
}

.suros-presence-toast.leaving[b-q971x9prtl] {
    animation: surosToastOut-b-q971x9prtl 0.3s ease forwards;
}

/* Avatar del toast */
.suros-presence-toast-avatar[b-q971x9prtl] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.16);
}

.suros-presence-toast-avatar img[b-q971x9prtl] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suros-presence-toast-avatar span[b-q971x9prtl] {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
}

/* Cuerpo del toast */
.suros-presence-toast-body[b-q971x9prtl] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suros-presence-toast-body strong[b-q971x9prtl] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suros-presence-toast.connect .suros-presence-toast-body strong[b-q971x9prtl] {
    color: #4ade80;
}

.suros-presence-toast.disconnect .suros-presence-toast-body strong[b-q971x9prtl] {
    color: #f87171;
}

.suros-presence-toast-body span[b-q971x9prtl] {
    font-size: 0.74rem;
    color: rgba(248, 250, 252, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icono de estado del toast */
.suros-presence-toast-icon[b-q971x9prtl] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.suros-presence-toast.connect .suros-presence-toast-icon[b-q971x9prtl] {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

.suros-presence-toast.disconnect .suros-presence-toast-icon[b-q971x9prtl] {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

/* Animaciones */
@keyframes surosToastIn-b-q971x9prtl {
    from {
        opacity: 0;
        transform: translateX(48px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes surosToastOut-b-q971x9prtl {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
}

/* Variante tema claro */
[data-theme="light"] .suros-presence-toast[b-q971x9prtl] {
    background: rgba(255, 255, 255, 0.97);
    color: #0f172a;
    border-color: #e2e8f0;
    border-left-width: 4px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .suros-presence-toast-avatar[b-q971x9prtl] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

[data-theme="light"] .suros-presence-toast-avatar span[b-q971x9prtl] {
    color: #334155;
}

[data-theme="light"] .suros-presence-toast.connect .suros-presence-toast-body strong[b-q971x9prtl] {
    color: #15803d;
}

[data-theme="light"] .suros-presence-toast.disconnect .suros-presence-toast-body strong[b-q971x9prtl] {
    color: #b91c1c;
}

[data-theme="light"] .suros-presence-toast-body span[b-q971x9prtl] {
    color: #475569;
}

[data-theme="light"] .suros-presence-toast.connect .suros-presence-toast-icon[b-q971x9prtl] {
    background: rgba(34, 197, 94, 0.16);
    color: #16a34a;
}

[data-theme="light"] .suros-presence-toast.disconnect .suros-presence-toast-icon[b-q971x9prtl] {
    background: rgba(239, 68, 68, 0.14);
    color: #dc2626;
}

/* Toast tipo mensaje (acento azul) */
.suros-presence-toast.message[b-q971x9prtl] {
    border-left-color: #3b82f6;
}

.suros-presence-toast.message .suros-presence-toast-body strong[b-q971x9prtl] {
    color: #60a5fa;
}

.suros-presence-toast.message .suros-presence-toast-icon[b-q971x9prtl] {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
}

[data-theme="light"] .suros-presence-toast.message .suros-presence-toast-body strong[b-q971x9prtl] {
    color: #1d4ed8;
}

[data-theme="light"] .suros-presence-toast.message .suros-presence-toast-icon[b-q971x9prtl] {
    background: rgba(59, 130, 246, 0.14);
    color: #2563eb;
}

/* ════════════════════════════════════════════
   MENÚ CONTEXTUAL — click derecho sobre un usuario
   ════════════════════════════════════════════ */

.suros-context-backdrop[b-q971x9prtl] {
    position: fixed;
    inset: 0;
    z-index: 5090;
    background: transparent;
}

.suros-presence-context-layer[b-q971x9prtl] {
    position: fixed;
    z-index: 5100;
    transform: translateX(-100%) translateY(-25%);
    max-width: min(320px, calc(100vw - 24px));
}

.suros-presence-context[b-q971x9prtl] {
    background: rgba(15, 23, 42, 0.95);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 8px;
    min-width: 210px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: surosCtxIn-b-q971x9prtl 0.18s ease forwards;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

@keyframes surosCtxIn-b-q971x9prtl {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.suros-context-header[b-q971x9prtl] {
    padding: 4px 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.suros-context-title[b-q971x9prtl] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sidebar-header-color, #79c8ff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Botones del menú */
.suros-context-btn[b-q971x9prtl] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: none;
    color: #f8fafc;
    font-size: 0.78rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.12s;
}

.suros-context-btn i[b-q971x9prtl] {
    width: 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

.suros-context-btn:hover[b-q971x9prtl] {
    background: rgba(255, 255, 255, 0.10);
}

.suros-context-btn:hover i[b-q971x9prtl] {
    color: #60a5fa;
}

/* ── Modo mensaje ── */
.suros-context-input-row[b-q971x9prtl] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.suros-context-input[b-q971x9prtl] {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 0.78rem;
    padding: 8px 10px;
    outline: none;
    transition: border-color 0.15s;
}

.suros-context-input[b-q971x9prtl]::placeholder {
    color: rgba(248, 250, 252, 0.45);
}

.suros-context-input:focus[b-q971x9prtl] {
    border-color: #3b82f6;
}

.suros-context-send[b-q971x9prtl] {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background-color 0.15s;
    flex-shrink: 0;
}

.suros-context-send:hover[b-q971x9prtl] {
    background: #1d4ed8;
}

.suros-context-hint[b-q971x9prtl] {
    display: block;
    margin-top: 6px;
    font-size: 0.64rem;
    color: rgba(248, 250, 252, 0.5);
}

/* ── Modo información ── */
.suros-context-info[b-q971x9prtl] {
    min-width: 260px;
}

.suros-context-info-header[b-q971x9prtl] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.suros-context-info-avatar[b-q971x9prtl] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    border: 2px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.suros-context-info-avatar img[b-q971x9prtl] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suros-context-info-avatar span[b-q971x9prtl] {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
}

.suros-context-info-name[b-q971x9prtl] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.suros-context-info-name strong[b-q971x9prtl] {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suros-context-info-name span[b-q971x9prtl] {
    font-size: 0.7rem;
    color: rgba(248, 250, 252, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suros-context-close[b-q971x9prtl] {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: background-color 0.12s;
}

.suros-context-close:hover[b-q971x9prtl] {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.suros-context-info-body[b-q971x9prtl] {
    padding: 8px 4px 2px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suros-context-info-row[b-q971x9prtl] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.suros-context-info-row > i[b-q971x9prtl] {
    width: 16px;
    margin-top: 2px;
    text-align: center;
    color: #60a5fa;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.suros-context-info-row div[b-q971x9prtl] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.suros-context-info-row small[b-q971x9prtl] {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: rgba(248, 250, 252, 0.45);
}

.suros-context-info-row span[b-q971x9prtl] {
    font-size: 0.76rem;
    color: #f8fafc;
    word-break: break-word;
}

/* Variante tema claro para el menú contextual */
[data-theme="light"] .suros-presence-context[b-q971x9prtl] {
    background: rgba(255, 255, 255, 0.97);
    color: #0f172a;
    border-color: #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .suros-context-header[b-q971x9prtl] {
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .suros-context-title[b-q971x9prtl] {
    color: #1d4ed8;
}

[data-theme="light"] .suros-context-btn[b-q971x9prtl] {
    color: #0f172a;
}

[data-theme="light"] .suros-context-btn i[b-q971x9prtl] {
    color: #64748b;
}

[data-theme="light"] .suros-context-btn:hover[b-q971x9prtl] {
    background: #f1f5f9;
}

[data-theme="light"] .suros-context-btn:hover i[b-q971x9prtl] {
    color: #2563eb;
}

[data-theme="light"] .suros-context-input[b-q971x9prtl] {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

[data-theme="light"] .suros-context-input[b-q971x9prtl]::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .suros-context-hint[b-q971x9prtl] {
    color: #64748b;
}

[data-theme="light"] .suros-context-info-header[b-q971x9prtl] {
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .suros-context-info-avatar[b-q971x9prtl] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

[data-theme="light"] .suros-context-info-avatar span[b-q971x9prtl] {
    color: #334155;
}

[data-theme="light"] .suros-context-info-name span[b-q971x9prtl] {
    color: #64748b;
}

[data-theme="light"] .suros-context-close[b-q971x9prtl] {
    background: #f1f5f9;
    color: #64748b;
}

[data-theme="light"] .suros-context-info-row > i[b-q971x9prtl] {
    color: #2563eb;
}

[data-theme="light"] .suros-context-info-row small[b-q971x9prtl] {
    color: #64748b;
}

[data-theme="light"] .suros-context-info-row span[b-q971x9prtl] {
    color: #0f172a;
}
/* /Presentation/Components/Shared/CaptchaOverlay.razor.rz.scp.css */
.captcha-inline[b-pwveqjs091] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 6px 0;
}

.captcha-prompt[b-pwveqjs091] {
  font-weight: 700;
  font-size: 1.05rem;
  background: #f6f8ff;
  padding: 8px 12px;
  border-radius: 8px;
  color: #3d3d3d;
  min-width: 120px;
  text-align: center;
}

.captcha-input[b-pwveqjs091] {
  max-width: 110px;
}

.captcha-actions[b-pwveqjs091] {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.captcha-actions .btn[b-pwveqjs091] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  line-height: 1;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
  border-width: 1px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.captcha-actions .btn:hover[b-pwveqjs091] {
  filter: brightness(0.98);
}

.captcha-actions .btn:focus-visible[b-pwveqjs091] {
  outline: 3px solid rgba(102,126,234,.35);
  outline-offset: 2px;
}

.captcha-btn i[b-pwveqjs091] {
  font-size: 16px;
  color:white !important; 
  margin-left:8px;
}

.captcha-btn.compact[b-pwveqjs091] {
    height: 36px;
    padding: 0 12px;
    color: white !important;
    text-align:center;
}

@media (max-width: 420px) {
  .captcha-actions[b-pwveqjs091] { gap: 10px; }
  .captcha-actions .btn[b-pwveqjs091] { height: 36px; padding: 0 12px; }
  .captcha-input[b-pwveqjs091] { max-width: 100px; }
}
/* /Presentation/Components/Shared/CaquetaCoverageMap.razor.rz.scp.css */
.coverage-backdrop[b-4zmms3440x] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(1200px 800px at 80% 40%, rgba(59, 130, 246, 0.22), transparent 60%), rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.coverage-card[b-4zmms3440x] {
    width: min(860px, 90vw);
    border-radius: 1.25rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.92));
    box-shadow:
        0 30px 60px rgba(2, 6, 23, 0.8),
        0 0 0 1px rgba(148, 163, 184, 0.25);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.coverage-header[b-4zmms3440x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.coverage-title[b-4zmms3440x] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.coverage-title i[b-4zmms3440x] {
    color: #79c8ff;
}

.coverage-close[b-4zmms3440x] {
    background: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 0.6rem;
    cursor: pointer;
}

.coverage-stage[b-4zmms3440x] {
    position: relative;
    width: 100%;
    height: 520px;
    background:
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.24), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(37, 99, 235, 0.22), transparent 55%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88)),
        url("/images/logosuros.png");
    background-size:
        120% 120%,
        120% 120%,
        cover,
        48%;
    background-repeat: no-repeat;
    background-position:
        0% 0%,
        100% 100%,
        center,
        center;
    opacity: 0.98;
}

.coverage-svg[b-4zmms3440x] {
    width: 100%;
    height: 100%;
}

.link[b-4zmms3440x] {
    stroke: rgba(148, 163, 184, 0.6);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.link-to-cloud[b-4zmms3440x] {
    stroke: rgba(59, 130, 246, 0.9);
    stroke-width: 1.8;
}

.link-to-leader[b-4zmms3440x] {
    stroke: rgba(125, 211, 252, 0.9);
    stroke-width: 1.4;
    stroke-dasharray: 4 4;
}

.dot[b-4zmms3440x] {
    display: none;
}

.node-leader .dot[b-4zmms3440x] {
    display: none;
}

.node-leader .label[b-4zmms3440x] {
    font-weight: 700;
}

.leader-badge-rect[b-4zmms3440x] {
    fill: rgba(15, 23, 42, 0.95);
    stroke: rgba(96, 165, 250, 0.9);
    stroke-width: 1.2;
}

.leader-badge-text[b-4zmms3440x] {
    fill: #e5e7eb;
    font-size: 11px;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: middle;
}

/* Estilos de pines tipo etiqueta de ubicación */
.pin-body[b-4zmms3440x] {
    fill: #0ea5e9;
    stroke: #e0f2fe;
    stroke-width: 1.4;
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.5));
}

.pin-leader[b-4zmms3440x] {
    fill: #2563eb;
    stroke: #bfdbfe;
}

.pin-core[b-4zmms3440x] {
    fill: #e0f2fe;
}

.node:hover .pin-body[b-4zmms3440x] {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.08);
}

/* Tooltip */
.tip[b-4zmms3440x] {
    opacity: 0;
    transition: opacity 180ms ease-out;
    pointer-events: none;
}

.tip-rect[b-4zmms3440x] {
    fill: rgba(15, 23, 42, 0.94);
    stroke: rgba(96, 165, 250, 0.6);
    stroke-width: 1;
}

.tip-title[b-4zmms3440x] {
    fill: #e5e7eb;
    font-size: 12px;
    font-weight: 600;
}

.tip-sub[b-4zmms3440x] {
    fill: #9ca3af;
    font-size: 11px;
}

.node:hover .tip[b-4zmms3440x] {
    opacity: 1;
}

/* Nube tecnológica */
.cloud-main[b-4zmms3440x] {
    stroke: rgba(148, 163, 184, 0.6);
    stroke-width: 1.2;
}

.cloud-chip[b-4zmms3440x] {
    fill: rgba(248, 250, 252, 0.9);
    stroke: rgba(148, 163, 184, 0.8);
    stroke-width: 0.8;
}

.cloud-link[b-4zmms3440x] {
    stroke: rgba(59, 130, 246, 0.8);
    stroke-width: 1.1;
    stroke-linecap: round;
}

.label[b-4zmms3440x] {
    fill: #e5e7eb;
    font-size: 12px;
    text-anchor: middle;
    dominant-baseline: hanging;
    paint-order: stroke;
    stroke: rgba(15, 23, 42, 0.8);
    stroke-width: 2px;
}

.suros-footer-social-link--map[b-4zmms3440x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .coverage-stage[b-4zmms3440x] { height: 440px; }
}
/* /Presentation/Components/Shared/CiudadSelect.razor.rz.scp.css */
.ciudad-select[b-zbps9u95o6] {
    position: relative;
    width: 100%;
}

.ciudad-select-input[b-zbps9u95o6] {
    font-size: 0.78rem;
    padding: 4px 28px 4px 10px;
    height: 34px;
    border-color: #d1d5db;
    border-radius: 3px;
}

.ciudad-select-input:focus[b-zbps9u95o6] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}

.ciudad-select-clear[b-zbps9u95o6] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    line-height: 1;
    z-index: 2;
}

.ciudad-select-clear:hover[b-zbps9u95o6] {
    color: #dc2626;
}

.ciudad-select-dropdown[b-zbps9u95o6] {
    position: absolute;
    z-index: 1060;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-height: 240px;
    overflow-y: auto;
    margin-top: 2px;
}

.ciudad-select-option[b-zbps9u95o6] {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.1s;
}

.ciudad-select-option:last-child[b-zbps9u95o6] {
    border-bottom: none;
}

.ciudad-select-option:hover[b-zbps9u95o6] {
    background: #f3f4f6;
}

.ciudad-select-option.active[b-zbps9u95o6] {
    background: #e8f0fe;
}

.ciudad-select-nombre[b-zbps9u95o6] {
    font-size: 0.78rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.2;
}

.ciudad-select-departamento[b-zbps9u95o6] {
    font-size: 0.66rem;
    color: #6b7280;
    line-height: 1.2;
}

.ciudad-select-option.active .ciudad-select-nombre[b-zbps9u95o6] {
    color: #1a73e8;
}

.ciudad-select-empty[b-zbps9u95o6] {
    text-align: center;
    padding: 12px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.ciudad-select-dropdown[b-zbps9u95o6]::-webkit-scrollbar {
    width: 4px;
}

.ciudad-select-dropdown[b-zbps9u95o6]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}
/* /Presentation/Components/Shared/ClientsLogoSlider.razor.rz.scp.css */
.cms-clients-slider[b-3ng1brvuvg] {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    overflow: visible;
    padding-block: 1rem;
}

.cms-clients-slider-track[b-3ng1brvuvg] {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    width: max-content;
    animation: cms-clients-scroll-b-3ng1brvuvg 28s linear infinite;
}

.cms-clients-slider:hover .cms-clients-slider-track[b-3ng1brvuvg] {
    animation-play-state: paused;
}

.cms-clients-slider-item[b-3ng1brvuvg] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem 0.5rem;
    border-radius: 0.8rem;
    background: radial-gradient(circle at top left, #ffffff, #ffffff);
    box-shadow:
        0 18px 35px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.6),
        0 6px 25px rgba(255, 255, 255, 0.14);
    transform: translateY(0) scale(1);
    transition:
        transform 220ms ease-out,
        box-shadow 220ms ease-out,
        background 220ms ease-out;
    overflow: visible;
}

.cms-clients-slider-item[b-3ng1brvuvg]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(60% 70% at 30% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 60%),
        radial-gradient(70% 60% at 70% 70%, rgba(255, 255, 255, 0.45) 0%, transparent 62%);
    filter: blur(10px);
    opacity: 0.38;
    transform: scale(0.98);
    pointer-events: none;
    animation: cms-card-glow-b-3ng1brvuvg 4.8s ease-in-out infinite;
    transition:
        opacity 220ms ease-out,
        transform 220ms ease-out,
        filter 220ms ease-out;
}

.cms-clients-slider-item:hover[b-3ng1brvuvg] {
    transform: translateY(-8px) scale(1.12);
    box-shadow:
        0 26px 55px rgba(15, 23, 42, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        0 10px 35px rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle at top left, #ffffff, #e5f0ff);
}

.cms-clients-slider-item:hover[b-3ng1brvuvg]::after {
    opacity: 0.55;
    transform: scale(1);
    filter: blur(12px);
}

.cms-clients-slider-item img[b-3ng1brvuvg] {
    display: block;
    max-height: 54px;
    max-width: 190px;
    filter: grayscale(0.1);
    opacity: 0.9;
    transition:
        transform 180ms ease-out,
        filter 180ms ease-out,
        opacity 180ms ease-out;
}

.cms-clients-slider-item img:hover[b-3ng1brvuvg] {
    transform: translateY(-3px) scale(1.06);
    filter: grayscale(0);
    opacity: 1;
}

.cms-client-overlay[b-3ng1brvuvg] {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    min-width: 280px;
    max-width: 360px;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 0, #1e40af 0, transparent 55%),
        #020617;
    color: #eaf2ff;
    box-shadow:
        0 22px 55px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(30, 64, 175, 0.8);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 160ms ease-out,
        transform 160ms ease-out;
    z-index: 20;
}

.cms-clients-slider-item:hover .cms-client-overlay[b-3ng1brvuvg] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cms-client-overlay-header[b-3ng1brvuvg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.cms-client-name[b-3ng1brvuvg] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e5f0ff;
}

.cms-client-years[b-3ng1brvuvg] {
    font-size: 0.78rem;
    color: #c7d2fe;
}

.cms-client-overlay-body[b-3ng1brvuvg] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem 0.5rem;
}

.cms-client-detail[b-3ng1brvuvg] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.76rem;
.cms-detail-icon {
    width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 0.8rem;
}

    color: #bfdbfe;
    opacity: 0.95;
    color: #bfdbfe;
    opacity: 0.95;
    min-width: 70px;
    opacity: 0.9;[b-3ng1brvuvg]
}

@keyframes cms-clients-scroll-b-3ng1brvuvg {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .cms-clients-slider[b-3ng1brvuvg] {
        margin-top: 1.5rem;
    }

    .cms-clients-slider-track[b-3ng1brvuvg] {
        gap: 1.75rem;
    }

    .cms-clients-slider-item img[b-3ng1brvuvg] {
        max-height: 38px;
        max-width: 150px;
    }
}

@keyframes cms-card-glow-b-3ng1brvuvg {
    0% {
        opacity: 0.34;
        filter: blur(9px);
        transform: scale(0.98);
    }
    50% {
        opacity: 0.52;
        filter: blur(12px);
        transform: scale(1);
    }
    100% {
        opacity: 0.34;
        filter: blur(9px);
        transform: scale(0.98);
    }
}
/* /Presentation/Components/Shared/Editor/EditorCanvas/EditorCanvas.razor.rz.scp.css */
/* EditorCanvas.razor.css — Estilos del lienzo de edición */

.editor-canvas-container[b-6ijyhtx3uq] {
    flex-grow: 1;
    overflow-y: auto;
    padding: 12px;
    background: #fff;
    position: relative; /* necesario para que el sticky de la toolbar se posicione correctamente */
}

/* ── Wrapper sticky de la toolbar ── */
.toolbar-sticky-wrapper[b-6ijyhtx3uq] {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: -12px -12px 12px -12px; /* contrarresta el padding del container para que la toolbar ocupe todo el ancho */
}

/* --- Estado vacío --- */
.canvas-empty-state[b-6ijyhtx3uq] {
    min-height: 250px;
    cursor: pointer;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 40px 20px;
    color: #6b7280 !important;
}

.canvas-empty-state *[b-6ijyhtx3uq] {
    color: #6b7280 !important;
}

.canvas-empty-state:hover[b-6ijyhtx3uq] {
    border-color: #2563eb;
    background: #f0f4ff;
}

/* --- Lista de bloques --- */
.canvas-blocks[b-6ijyhtx3uq] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Bloque individual --- */
.canvas-block[b-6ijyhtx3uq] {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.15s ease;
    position: relative;
    background: #fff;
}

.canvas-block:hover[b-6ijyhtx3uq] {
    border-color: #e2e4e9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.canvas-block.selected[b-6ijyhtx3uq] {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

.canvas-block.drag-over[b-6ijyhtx3uq] {
    border-color: #2563eb;
    background: #f0f4ff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
    transform: scale(1.01);
}

/* --- Barra de acciones del bloque --- */
.block-actions-bar[b-6ijyhtx3uq] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.canvas-block:hover .block-actions-bar[b-6ijyhtx3uq],
.canvas-block.selected .block-actions-bar[b-6ijyhtx3uq] {
    opacity: 1;
}

.block-drag-handle[b-6ijyhtx3uq] {
    cursor: grab;
    color: #9ca3af;
    font-size: 16px;
    letter-spacing: -2px;
    user-select: none;
}

.block-drag-handle:active[b-6ijyhtx3uq] {
    cursor: grabbing;
}

.block-type-badge[b-6ijyhtx3uq] {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.block-actions-right[b-6ijyhtx3uq] {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.block-actions-right .btn-link[b-6ijyhtx3uq] {
    font-size: 14px;
    text-decoration: none;
}

/* --- Contenido del bloque: Texto --- */
.block-content[b-6ijyhtx3uq] {
    min-height: 24px;
    outline: none;
    color: #1a1d23 !important;
}

.block-content *[b-6ijyhtx3uq] {
    color: #1a1d23 !important;
}

.block-text[b-6ijyhtx3uq] {
    font-size: 14px;
    line-height: 1.6;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fafafa;
    color: #1a1d23 !important;
}

.block-text:focus[b-6ijyhtx3uq] {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

/* --- Separador --- */
.block-separator[b-6ijyhtx3uq] {
    text-align: center;
    padding: 4px 0;
}

.block-separator hr[b-6ijyhtx3uq] {
    margin: 4px 0;
    border-color: #d1d5db;
}

/* --- Salto --- */
.block-salto[b-6ijyhtx3uq] {
    text-align: center;
    padding: 8px;
    color: #9ca3af;
    font-size: 12px;
}

/* --- Footer --- */
.block-footer[b-6ijyhtx3uq] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px;
}

.footer-preview[b-6ijyhtx3uq] {
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.footer-preview-text[b-6ijyhtx3uq] {
    font-size: 12px;
    color: #667781;
}

/* --- Lista --- */
.block-lista[b-6ijyhtx3uq] {
    font-size: 14px;
    line-height: 1.6;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fffbeb;
    font-family: 'Courier New', monospace;
    color: #1a1d23 !important;
}

.block-lista:focus[b-6ijyhtx3uq] {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(245,158,11,0.15);
}

/* --- Condicional --- */
.block-condicional[b-6ijyhtx3uq] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px;
}

.condicional-header[b-6ijyhtx3uq],
.condicional-footer[b-6ijyhtx3uq] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.condicional-footer[b-6ijyhtx3uq] {
    margin-bottom: 0;
    margin-top: 8px;
}

.condicional-tag[b-6ijyhtx3uq] {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.condicional-tag.abierto[b-6ijyhtx3uq] {
    color: #16a34a;
    background: #dcfce7;
}

.condicional-tag.cerrado[b-6ijyhtx3uq] {
    color: #dc2626;
    background: #fef2f2;
}

.condicional-var-input[b-6ijyhtx3uq] {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    max-width: 200px;
}

.condicional-body[b-6ijyhtx3uq] {
    min-height: 40px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e2e4e9;
    outline: none;
    font-size: 13px;
    line-height: 1.5;
    color: #1a1d23 !important;
}

.condicional-body:focus[b-6ijyhtx3uq] {
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.1);
}

/* --- Botón --- */
.block-boton[b-6ijyhtx3uq] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.block-boton input[b-6ijyhtx3uq] {
    font-size: 13px;
    color: #1a1d23 !important;
}

/* Vista real del botón (chip estilo WhatsApp según su tipo) */
.boton-preview[b-6ijyhtx3uq] {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 10px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.wa-button-chip[b-6ijyhtx3uq] {
    background: #ffffff;
    color: #008069 !important;
    border: 1px solid #008069;
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: default;
    white-space: nowrap;
}

/* Base de botones de ancho completo (estilo WhatsApp) */
.wa-btn[b-6ijyhtx3uq] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.wa-btn-text[b-6ijyhtx3uq] {
    font-size: 12px;
}

.wa-btn i[b-6ijyhtx3uq] {
    font-size: 0.8rem;
}

/* Botón estilo WhatsApp: fila de ancho completo, sin fondo ni borde,
   ícono según tipo + texto verde teal */
.wa-btn-quick[b-6ijyhtx3uq] {
    justify-content: center;
    background: transparent;
    border: none;
    padding: 7px 4px;
    color: #008069 !important;
    font-weight: 500;
}

.wa-btn-quick i[b-6ijyhtx3uq] {
    color: #008069 !important;
    font-size: 0.8rem;
}

/* Divisor entre botones consecutivos */
.wa-btn-quick + .wa-btn-quick[b-6ijyhtx3uq] {
    border-top: 1px solid #ece5dd;
}

.boton-url-hint[b-6ijyhtx3uq] {
    font-size: 11px;
    color: #64748b;
    font-family: 'Courier New', monospace;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Configuración del botón */
.boton-config[b-6ijyhtx3uq] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.boton-field-icon[b-6ijyhtx3uq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    background: #e2e8f0;
    border-radius: 4px;
    color: #475569;
    font-size: 12px;
}

.boton-field-help[b-6ijyhtx3uq] {
    font-size: 10px;
    white-space: nowrap;
    color: #94a3b8;
}

/* --- Chips de variables inline --- */
.variable-chip-inline[b-6ijyhtx3uq] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.variable-chip-inline:hover[b-6ijyhtx3uq] {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* --- Botón de agregar bloque --- */
.canvas-blocks + .text-center[b-6ijyhtx3uq] {
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
}

/* --- Transiciones de bloques --- */
.canvas-block[b-6ijyhtx3uq] {
    animation: blockFadeIn-b-6ijyhtx3uq 0.2s ease;
}

@keyframes blockFadeIn-b-6ijyhtx3uq {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Preview markdown en contenteditable --- */
.block-content strong[b-6ijyhtx3uq],
.block-content em[b-6ijyhtx3uq],
.block-content s[b-6ijyhtx3uq] {
    color: #1a1d23 !important;
}

.block-content strong[b-6ijyhtx3uq] {
    font-weight: 700;
}

.block-content em[b-6ijyhtx3uq] {
    font-style: italic;
}

.block-content s[b-6ijyhtx3uq] {
    text-decoration: line-through;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .block-actions-bar[b-6ijyhtx3uq] {
        opacity: 1;
    }
}
/* /Presentation/Components/Shared/Editor/EditorCanvas/ToolbarFormato.razor.rz.scp.css */
/* ToolbarFormato.razor.css — Estilos scoped al componente ToolbarFormato */

/* ── Toolbar ── */
.toolbar-formato[b-0um3x8yu0a] {
    position: relative;
    border-radius: 8px 8px 0 0;
    gap: 2px !important;
}

/* Botones ghost: reset completo del <button> nativo */
.toolbar-icn-btn[b-0um3x8yu0a] {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 6px;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.12s ease;
    font-family: inherit;
    line-height: 1;
    user-select: none;
}

.toolbar-icn-btn:hover[b-0um3x8yu0a] {
    background: #eef2ff;
    color: #4f46e5;
}

.toolbar-icn-btn:active[b-0um3x8yu0a] {
    background: #e0e7ff;
    color: #4338ca;
}

/* Quitar flecha del dropdown-toggle (emoji) */
.toolbar-icn-btn.dropdown-toggle[b-0um3x8yu0a]::after {
    display: none !important;
}

.toolbar-formato .vr[b-0um3x8yu0a] {
    opacity: 0.3;
    height: 20px;
    align-self: center;
}

/* ── Emoji Picker: dropdown ── */
.emoji-picker-dropdown[b-0um3x8yu0a] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    padding: 10px;
    margin-top: 6px;
    min-width: 268px;
}

.emoji-grid[b-0um3x8yu0a] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

/* Reset completo del <button> para emojis — sin bordes negros */
.emoji-picker-dropdown .emoji-btn[b-0um3x8yu0a] {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.1s ease;
    line-height: 1;
}

.emoji-picker-dropdown .emoji-btn:hover[b-0um3x8yu0a] {
    background: #f3f4f6;
    transform: scale(1.25);
}

.emoji-picker-dropdown .emoji-btn:active[b-0um3x8yu0a] {
    transform: scale(0.9);
    background: #e5e7eb;
}
/* /Presentation/Components/Shared/Editor/EditorPlantillaBase.razor.rz.scp.css */
.editor-container[b-rds0svqv79] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* --- Header superior --- */
.editor-header[b-rds0svqv79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-rds0svqv79] {
    font-size: 13px;
}

.editor-header-right[b-rds0svqv79] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- Toast de acciones (patrón Configuración de Aplicación) --- */
.inst-header-actions[b-rds0svqv79] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.inst-toast[b-rds0svqv79] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-rds0svqv79] {
    font-size: 0.8rem;
}

.inst-toast-success[b-rds0svqv79] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-rds0svqv79] {
    color: #059669;
}

.inst-toast-error[b-rds0svqv79] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-rds0svqv79] {
    color: #dc2626;
}

.inst-toast-warning[b-rds0svqv79] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.inst-toast-warning i[b-rds0svqv79] {
    color: #d97706;
}

/* --- Barra de título --- */
.editor-title-bar[b-rds0svqv79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-rds0svqv79],
.editor-title-bar .fw-semibold[b-rds0svqv79],
.editor-title-bar small[b-rds0svqv79] {
    color: #1a1d23 !important;
}

/* Contenedor ul.nav-tabs */
.editor-tabs.nav-tabs[b-rds0svqv79] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

/* Cada li.nav-item — reset total, primer hijo igual a los demás */
.editor-tabs .nav-item[b-rds0svqv79] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Forzar a que el primer nav-item sea IDÉNTICO a los demás */
.editor-tabs .nav-item:first-child[b-rds0svqv79] {
    margin: 0 !important;
    padding: 0 !important;
}

/* Neutralizar Bootstrap .nav-link dentro de nuestras tabs del editor.
   Ahora se usa <div> (no <button>) para evitar user-agent styles del botón.
   Altura explícita 44px para que todas las tabs tengan exactamente el mismo alto. */
.editor-tabs .nav-link[b-rds0svqv79] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-rds0svqv79] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-rds0svqv79] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

/* Primer nav-link activo = idéntico a los demás nav-link activos */
.editor-tabs .nav-item:first-child .nav-link.active[b-rds0svqv79] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

/* Línea delgada azul abajo del tab activo (tipo Material Design) */
.editor-tabs .nav-link.active[b-rds0svqv79]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

/* Separador sutil entre tabs inactivos */
.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-rds0svqv79]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-rds0svqv79] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

.editor-tab-content[b-rds0svqv79] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative; /* para que los hijos con absolute se posicionen contra este */
}

/* Cada panel interno llena el 100% con position:absolute, inset:0.
   Esto NO depende de que el padre tenga "altura definida" en términos CSS;
   position:absolute siempre resuelve contra el padding-box del padre posicionado. */
.editor-tab-content > *[b-rds0svqv79] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
}

/* === Layout 3 Columnas (pestaña Diseñador) === */
.editor-three-columns[b-rds0svqv79] {
    display: grid;
    grid-template-columns: 301px 1fr 360px;
    gap: 0;
    height: 100%;
    overflow: hidden;
}

/* El panel central del editor debe ocupar todo el espacio vertical */
.editor-panel-center[b-rds0svqv79] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.editor-canvas-container[b-rds0svqv79] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* --- Panel izquierdo: Variables + Componentes --- */
.editor-panel-left[b-rds0svqv79] {
    background: #fff;
    border-right: 1px solid #e2e4e9;
    overflow-y: auto;
    padding: 12px;
}

.editor-panel-left[b-rds0svqv79]::-webkit-scrollbar {
    width: 6px;
}

.editor-panel-left[b-rds0svqv79]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* --- Barra de estadísticas debajo del editor --- */
.editor-stats-bar[b-rds0svqv79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e2e4e9;
    font-size: 12px;
}

.editor-stats-bar i[b-rds0svqv79] {
    margin-right: 4px;
}

/* --- Panel derecho: Vista previa + Detalles --- */
.editor-panel-right[b-rds0svqv79] {
    background: #fff;
    border-left: 1px solid #e2e4e9;
    overflow-y: auto;
    padding: 12px;
}

.editor-panel-right[b-rds0svqv79]::-webkit-scrollbar {
    width: 6px;
}

.editor-panel-right[b-rds0svqv79]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* --- Responsive --- */
@media (max-width: 1440px) {
    .editor-three-columns[b-rds0svqv79] {
        grid-template-columns: 260px 1fr 320px;
    }
}

@media (max-width: 1024px) {
    .editor-three-columns[b-rds0svqv79] {
        grid-template-columns: 240px 1fr;
    }
    .editor-panel-right[b-rds0svqv79] {
        display: none; /* Se muestra como bottom sheet o modal */
    }
}

/* --- Indicador de autosave --- */
.autosave-indicator[b-rds0svqv79] {
    position: fixed;
    bottom: 40px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 1050;
    transition: all 0.3s ease;
}

.autosave-indicator.dirty[b-rds0svqv79] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.autosave-indicator.saved[b-rds0svqv79] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* --- Atajos de teclado --- */
.keyboard-shortcuts-footer[b-rds0svqv79] {
    flex-shrink: 0;
}

.keyboard-shortcuts-footer kbd[b-rds0svqv79] {
    display: inline-block;
    padding: 2px 7px;
    font-size: 10.5px;
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    background: #e8eaed;
    color: #1a1d23;
    border: 1px solid #c4c7cc;
    border-radius: 4px;
    box-shadow: 0 1px 0 #c4c7cc, inset 0 1px 0 rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .editor-three-columns[b-rds0svqv79] {
        grid-template-columns: 1fr;
    }
    .editor-panel-left[b-rds0svqv79] {
        display: none; /* Se muestra como sidebar colapsable */
    }
    .editor-header[b-rds0svqv79] {
        flex-direction: column;
        align-items: stretch;
    }
    .editor-header-right[b-rds0svqv79] {
        justify-content: flex-end;
    }
}

/* --- Transiciones --- */
.editor-panel-left[b-rds0svqv79],
.editor-panel-center[b-rds0svqv79],
.editor-panel-right[b-rds0svqv79] {
    transition: all 0.3s ease;
}
/* /Presentation/Components/Shared/Editor/Panels/PanelBloques.razor.rz.scp.css */
/* PanelBloques.razor.css */
.panel-bloques[b-zf2i241ewf] {
    margin-bottom: 12px;
}

.panel-title[b-zf2i241ewf] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.panel-title i[b-zf2i241ewf] {
    margin-right: 6px;
    color: #2563eb;
}

.bloques-grid[b-zf2i241ewf] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

/* Botón ghost: sin borde, sin fondo, solo ícono + label */
.bloque-item[b-zf2i241ewf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    min-height: 56px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    font-family: inherit;
}

.bloque-item:hover[b-zf2i241ewf] {
    background: #f3f4f6;
    color: #1f2937;
    transform: translateY(-1px);
}

.bloque-item:active[b-zf2i241ewf] {
    background: #e5e7eb;
    transform: translateY(0);
}

.bloque-icono[b-zf2i241ewf] {
    font-size: 16px;
    margin-bottom: 2px;
    line-height: 1.3;
}

.bloque-label[b-zf2i241ewf] {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 500;
}
/* /Presentation/Components/Shared/Editor/Panels/PanelDetallesPlantilla.razor.rz.scp.css */
/* PanelDetallesPlantilla.razor.css */
.panel-detalles[b-adzvzhe88c] {
    font-size: 13px;
}

.panel-title[b-adzvzhe88c] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.panel-title i[b-adzvzhe88c] {
    margin-right: 6px;
    color: #2563eb;
}

.detalle-item[b-adzvzhe88c] {
    margin-bottom: 8px;
}

.detalle-label[b-adzvzhe88c] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detalle-value[b-adzvzhe88c] {
    font-size: 13px;
    color: #1a1d23;
    word-break: break-all;
}

.text-monospace[b-adzvzhe88c] {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}
/* /Presentation/Components/Shared/Editor/Panels/PanelVistaPrevia.razor.rz.scp.css */
/* PanelVistaPrevia.razor.css */
.panel-vista-previa[b-r460ailhlt] {
    font-size: 13px;
}

.panel-title[b-r460ailhlt] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.panel-title i[b-r460ailhlt] {
    margin-right: 6px;
    color: #2563eb;
}

/* Frame WhatsApp */
.whatsapp-frame[b-r460ailhlt] {
    background: #e5ddd5;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #25D366;
    max-width: 320px;
    margin: 0 auto;
}

.wa-header[b-r460ailhlt] {
    background: #075E54 !important;
    color: #ffffff !important;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-header *[b-r460ailhlt] {
    color: #ffffff !important;
}

.wa-back[b-r460ailhlt] {
    font-size: 16px;
    cursor: pointer;
}

.wa-header-info[b-r460ailhlt] {
    flex-grow: 1;
}

.wa-header-title[b-r460ailhlt] {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.wa-header-status[b-r460ailhlt] {
    font-size: 11px;
    opacity: 0.8;
}

.wa-menu[b-r460ailhlt] {
    cursor: pointer;
}

.wa-body[b-r460ailhlt] {
    min-height: 200px;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    background-color: #e5ddd5 !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23e5ddd5"/><circle cx="50" cy="50" r="50" fill="%23d4c9b8" opacity="0.2"/></svg>');
}
.wa-body[b-r460ailhlt]::-webkit-scrollbar { width: 6px; }
.wa-body[b-r460ailhlt]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.wa-body[b-r460ailhlt]::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.wa-body[b-r460ailhlt]::-webkit-scrollbar-track { background: transparent; }

.wa-message[b-r460ailhlt] {
    display: flex;
    justify-content: flex-start;
}

.wa-bubble[b-r460ailhlt] {
    background: #ffffff !important;
    color: #1a1d23 !important;
    border-radius: 8px;
    padding: 8px 12px;
    max-width: 280px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 13px;
    line-height: 1.5;
}

/* Cuerpo del mensaje dentro de la burbuja */
.wa-bubble-body[b-r460ailhlt] {
    word-wrap: break-word;
    white-space: normal;
}

/* Separador entre el cuerpo y los botones (estilo WhatsApp) */
.wa-bubble-divider[b-r460ailhlt] {
    border-top: 1px solid #e5ddd5;
    margin: 8px 0 6px;
}

/* Botones QUICK_REPLY/URL/Teléfono: filas de ancho completo estilo WhatsApp,
   sin fondo ni borde, ícono + texto verde teal, separadas por divisor gris */
.wa-buttons[b-r460ailhlt] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 4px;
}

.wa-quick-btn[b-r460ailhlt],
.wa-bubble .wa-quick-btn[b-r460ailhlt] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 7px 4px;
    color: #008069 !important;
    font-size: 12px;
    font-weight: 500;
    cursor: default;
}

.wa-quick-btn i[b-r460ailhlt],
.wa-bubble .wa-quick-btn i[b-r460ailhlt] {
    color: #008069 !important;
    font-size: 0.8rem;
}

/* Divisor entre botones consecutivos */
.wa-quick-btn + .wa-quick-btn[b-r460ailhlt] {
    border-top: 1px solid #ece5dd;
}

.wa-bubble *[b-r460ailhlt] {
    color: #1a1d23 !important;
}

.wa-bubble-html[b-r460ailhlt] {
    word-wrap: break-word;
    white-space: normal;
}

.wa-bubble-html strong[b-r460ailhlt] {
    font-weight: 700;
}

.wa-bubble-html em[b-r460ailhlt] {
    font-style: italic;
}

.wa-bubble-html s[b-r460ailhlt] {
    text-decoration: line-through;
}

.wa-time[b-r460ailhlt] {
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.wa-empty[b-r460ailhlt] {
    text-align: center;
    padding: 40px 20px;
}

.wa-indicators[b-r460ailhlt] {
    font-size: 11px;
    color: #6b7280;
}

.wa-indicators small[b-r460ailhlt],
.wa-indicators .text-success[b-r460ailhlt],
.wa-indicators .text-warning[b-r460ailhlt],
.wa-indicators .text-danger[b-r460ailhlt] {
    color: #6b7280 !important;
}

.wa-indicators .text-success[b-r460ailhlt] {
    color: #16a34a !important;
}

.wa-indicators .text-danger[b-r460ailhlt] {
    color: #dc2626 !important;
}

.wa-empty[b-r460ailhlt] {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280 !important;
}

.wa-empty *[b-r460ailhlt] {
    color: #6b7280 !important;
}
/* /Presentation/Components/Shared/Editor/Tabs/TabVariables.razor.rz.scp.css */
/* TabVariables.razor.css */
/* Accordion de variables completamente personalizado (sin Bootstrap) */

.tab-variables[b-6cfhx34xvi] {
    color: #1f2937;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
    /* Asegurar que el scroll siempre funcione */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar sutil para el contenedor */
.tab-variables[b-6cfhx34xvi]::-webkit-scrollbar {
    width: 6px;
}

.tab-variables[b-6cfhx34xvi]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.tab-variables[b-6cfhx34xvi]::-webkit-scrollbar-track {
    background: transparent;
}

.tab-variables h5[b-6cfhx34xvi] {
    color: #1f2937 !important;
}

/* Header fijo: no se mueve al hacer scroll */
.tab-variables-header[b-6cfhx34xvi] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8f9fa;
    padding: 0 0 12px 0;
}

/* Contenedor del accordion */
.var-accordion[b-6cfhx34xvi] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 2rem; /* aire al final para que no quede pegado */
}

/* Cada item del accordion */
.var-accordion-item[b-6cfhx34xvi] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    /* SIN overflow:hidden — así el body expandido nunca se recorta */
}

/* Header clickeable */
.var-accordion-header[b-6cfhx34xvi] {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    user-select: none;
    background: #f9fafb;
    transition: background 0.15s ease;
}

/* Texto compacto acorde al diseñador */
.var-accordion-header strong[b-6cfhx34xvi] {
    font-size: 0.78rem;
}

.var-accordion-header .badge[b-6cfhx34xvi] {
    font-size: 0.62rem;
    font-weight: 500;
}

.var-accordion-header .var-chevron i[b-6cfhx34xvi] {
    font-size: 0.7rem;
}

.var-accordion-header:hover[b-6cfhx34xvi] {
    background: #f3f4f6;
}

.var-accordion-header.expanded[b-6cfhx34xvi] {
    background: #eef2ff;
    border-bottom: 1px solid #e5e7eb;
}

/* Chevron animado */
.var-chevron[b-6cfhx34xvi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    transition: transform 0.2s ease;
    color: #6b7280;
    flex-shrink: 0;
}

.var-chevron.open[b-6cfhx34xvi] {
    transform: rotate(90deg);
}

/* Cuerpo expandible */
.var-accordion-body[b-6cfhx34xvi] {
    padding: 6px;
    background: #fff;
}

/* Items de variable */
.variable-item[b-6cfhx34xvi] {
    transition: background 0.1s ease;
    gap: 6px;
}

.variable-item:hover[b-6cfhx34xvi] {
    background: #f9fafb !important;
}

.variable-item.obligatoria[b-6cfhx34xvi] {
    border-left: 3px solid #f59e0b;
}

/* Texto compacto acorde al diseñador */
.variable-item small[b-6cfhx34xvi] {
    font-size: 0.72rem;
}

.variable-item .badge[b-6cfhx34xvi] {
    font-size: 0.62rem;
    font-weight: 500;
}

.variable-chip[b-6cfhx34xvi] {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Valor de ejemplo tras el badge de obligatoria */
.var-ejemplo-badge[b-6cfhx34xvi] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.categoria-chip[b-6cfhx34xvi] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Botones de acción en items */
.variable-item .btn-link[b-6cfhx34xvi] {
    opacity: 0.4;
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.variable-item:hover .btn-link[b-6cfhx34xvi] {
    opacity: 1;
}

.min-width-0[b-6cfhx34xvi] {
    min-width: 0;
}

/* Modal de edición — compacto */
.var-modal .modal-body[b-6cfhx34xvi] {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.9rem 1rem;
}

.var-modal .modal-body .mb-3[b-6cfhx34xvi] {
    margin-bottom: 0.6rem !important;
}

.var-modal .form-label[b-6cfhx34xvi] {
    font-size: 0.72rem;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 500;
}

.var-modal .form-text[b-6cfhx34xvi] {
    font-size: 0.68rem;
    color: #6b7280;
    margin-top: 2px;
}

.var-modal .form-control[b-6cfhx34xvi],
.var-modal .form-select[b-6cfhx34xvi] {
    height: 30px;
    font-size: 0.82rem;
    padding: 2px 8px;
    border-radius: 3px;
    line-height: 1.3;
}

.var-modal textarea.form-control[b-6cfhx34xvi] {
    height: auto;
    min-height: 44px;
}

.var-modal .form-check-label[b-6cfhx34xvi] {
    font-size: 0.78rem;
    color: #4b5563;
}
/* /Presentation/Components/Shared/Editor/Variables/ExploradorVariables.razor.rz.scp.css */
/* ExploradorVariables.razor.css */
.explorador-variables[b-8rznva4o9l] {
    font-size: 12px;
}

.panel-title[b-8rznva4o9l] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.variable-grupo[b-8rznva4o9l] {
    border-radius: 6px;
}

.grupo-indicador[b-8rznva4o9l] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.variable-item[b-8rznva4o9l] {
    cursor: pointer;
    transition: background 0.15s ease;
}

.variable-item:hover[b-8rznva4o9l] {
    background: #f0f4ff;
}

.variable-chip-sm[b-8rznva4o9l] {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

.cursor-pointer[b-8rznva4o9l] {
    cursor: pointer;
}

@keyframes fadeIn-b-8rznva4o9l {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.variable-items[b-8rznva4o9l] {
    animation: fadeIn-b-8rznva4o9l 0.2s ease;
}
/* /Presentation/Components/Shared/Editor/Versionado/HistorialVersiones.razor.rz.scp.css */
.version-timeline[b-3ejcr3k0pr] {
    padding: 4px 0;
    /* La altura y scroll los maneja el contenedor padre .editor-tab-content > * */
}

/* Scrollbar fina */
.version-timeline[b-3ejcr3k0pr]::-webkit-scrollbar {
    width: 5px;
}
.version-timeline[b-3ejcr3k0pr]::-webkit-scrollbar-track {
    background: transparent;
}
.version-timeline[b-3ejcr3k0pr]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.version-item[b-3ejcr3k0pr] {
    position: relative;
    padding-bottom: 6px;
    padding-left: 4px;
}

.version-item[b-3ejcr3k0pr]::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 22px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.version-item:last-child[b-3ejcr3k0pr]::before {
    display: none;
}

.version-dot[b-3ejcr3k0pr] {
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 1px;
}

.dot-activa i[b-3ejcr3k0pr] {
    color: #16a34a;
    font-size: 15px;
}

.dot-reemplazada i[b-3ejcr3k0pr] {
    color: #9ca3af;
    font-size: 12px;
}

.dot-borrador i[b-3ejcr3k0pr] {
    color: #f59e0b;
    font-size: 14px;
}

.version-content[b-3ejcr3k0pr] {
    background: #f9fafb;
    border-radius: 6px;
    padding: 5px 10px;
    border: 1px solid #f3f4f6;
}

.version-item.activa .version-content[b-3ejcr3k0pr] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.version-number[b-3ejcr3k0pr] {
    font-size: 13px;
    color: #1f2937;
}

.version-content p[b-3ejcr3k0pr] {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 2px !important;
    color: #6b7280;
}

.version-content small[b-3ejcr3k0pr] {
    font-size: 11px;
}

.version-actions[b-3ejcr3k0pr] {
    margin-top: 3px;
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.version-actions .btn[b-3ejcr3k0pr] {
    font-size: 11px;
    padding: 1px 6px;
    line-height: 1.4;
}

.version-actions .btn i[b-3ejcr3k0pr] {
    font-size: 10px;
    margin-right: 2px;
}

/* Badges más pequeños */
.version-content .badge[b-3ejcr3k0pr] {
    font-size: 10px;
    padding: 1px 5px;
    line-height: 1.3;
}
/* /Presentation/Components/Shared/FaqSection.razor.rz.scp.css */
.faq-section[b-64tcczbvfl] {
    grid-column: 2;
    margin: 2.5rem auto 3.5rem 0;
    max-width: 1120px;
}

.faq-layout[b-64tcczbvfl] {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
    gap: 2.25rem;
    align-items: flex-start;
    position: relative;
}

.faq-intro[b-64tcczbvfl] {
    position: relative;
    z-index: 1;
}

.faq-intro h2[b-64tcczbvfl] {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-intro p[b-64tcczbvfl] {
    margin: 0;
    color: #9ca3af;
    max-width: 420px;
}

.faq-list[b-64tcczbvfl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    position: relative;
    z-index: 1;
}

.faq-loading[b-64tcczbvfl],
.faq-empty[b-64tcczbvfl] {
    grid-column: 1 / -1;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.faq-item[b-64tcczbvfl] {
    border-radius: 999px;
    background: radial-gradient(circle at 10% 0, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
    overflow: hidden;
    transition:
        transform 180ms ease-out,
        box-shadow 200ms ease-out,
        border-color 200ms ease-out,
        border-radius 200ms ease-out;
}

.faq-item.expanded[b-64tcczbvfl] {
    border-radius: 1.25rem;
    box-shadow: 0 26px 60px rgba(15,23,42,0.95);
    border-color: rgba(59,130,246,0.9);
}

.faq-item-button[b-64tcczbvfl] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
    background: transparent;
    border: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-list:has(.faq-item.expanded) .faq-item[b-64tcczbvfl] {
    border-radius: 1.25rem;
}

.faq-list:has(.faq-item.expanded) .faq-item-button[b-64tcczbvfl] {
    align-items: flex-start;
}

.faq-item-button:hover[b-64tcczbvfl] {
    transform: translateY(-1px);
}

.faq-question[b-64tcczbvfl] {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e5e7eb;
    padding-right: 0.75rem;
}

.faq-toggle-icon[b-64tcczbvfl] {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 0, #38bdf8, #2563eb);
    color: #0b1220;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.85);
    flex-shrink: 0;
}

.faq-answer[b-64tcczbvfl] {
    padding: 0 1.2rem 1rem 1.2rem;
    font-size: 0.9rem;
    color: #e5e7eb;
    border-top: 1px solid rgba(51, 65, 85, 0.9);
}

.faq-popover[b-64tcczbvfl] {
    position: absolute;
    right: 0;
    top: -1.5rem;
    transform: none;
    min-width: 260px;
    max-width: 320px;
    padding: 14px 18px;
    background: radial-gradient(circle at top left, rgba(46, 168, 255, 0.2), rgba(0, 10, 32, 0.98));
    border-radius: 14px;
    border: 1px solid rgba(151, 206, 255, 0.7);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(46, 168, 255, 0.5);
    color: #eaf2f9;
    font-size: 0.8rem;
    line-height: 1.5;
    z-index: 5;
}

.faq-popover-title[b-64tcczbvfl] {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.faq-popover-body[b-64tcczbvfl] {
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .faq-section[b-64tcczbvfl] {
        margin-left: auto;
        margin-right: auto;
    }

    .faq-layout[b-64tcczbvfl] {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-list[b-64tcczbvfl] {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-popover[b-64tcczbvfl] {
        position: static;
        transform: none;
        margin-top: 1rem;
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .faq-section[b-64tcczbvfl] {
        grid-column: 1;
        margin: 1.5rem auto 1.8rem auto;
        padding-inline: 0.5rem;
    }

    .faq-intro h2[b-64tcczbvfl] {
        font-size: 1.6rem;
    }

    .faq-intro p[b-64tcczbvfl] {
        max-width: none;
        font-size: 0.94rem;
    }

    .faq-question[b-64tcczbvfl] {
        font-size: 0.92rem;
    }

    .faq-answer[b-64tcczbvfl] {
        font-size: 0.86rem;
    }

    .faq-item-button[b-64tcczbvfl] {
        padding: 0.85rem 1rem;
    }
}
/* /Presentation/Components/Shared/FavoritesPanel.razor.rz.scp.css */
/* Panel de Favoritos — scoped styles */
.favorites-panel[b-n23wyvia3r] {
    padding: 4px 16px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 34px;
}

.favorites-panel .fav-title[b-n23wyvia3r] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.fav-cards-wrapper[b-n23wyvia3r] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.fav-scroll-btn[b-n23wyvia3r] {
    flex-shrink: 0;
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.65rem;
    color: #888;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1.2;
}
.fav-scroll-btn:hover[b-n23wyvia3r] { opacity: 1; background: #fff; }

.fav-cards-container[b-n23wyvia3r] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 2px 0;
}
.fav-cards-container[b-n23wyvia3r]::-webkit-scrollbar { display: none; }

.fav-card[b-n23wyvia3r] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.15s ease;
    font-size: 0.8rem;
    flex-shrink: 0;
    user-select: none;
}
.fav-card:hover[b-n23wyvia3r] {
    background: #e9ecef;
    border-color: #0D6EFD;
}

.fav-card .fav-card-icon[b-n23wyvia3r] {
    font-size: 0.85rem;
    color: #0D6EFD;
    flex-shrink: 0;
}

.fav-card .fav-card-text[b-n23wyvia3r] {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.fav-card .fav-remove[b-n23wyvia3r],
.fav-card .fav-move[b-n23wyvia3r] {
    display: none;
    background: none;
    border: none;
    padding: 0 2px;
    font-size: 0.5rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.fav-card:hover .fav-remove[b-n23wyvia3r],
.fav-card:hover .fav-move[b-n23wyvia3r] {
    display: inline-block;
}

.fav-card .fav-move-group[b-n23wyvia3r] {
    display: none;
    gap: 1px;
    margin-right: 2px;
}
.fav-card:hover .fav-move-group[b-n23wyvia3r] {
    display: inline-flex;
}

.fav-card .fav-remove:hover[b-n23wyvia3r] { color: #dc3545; }
.fav-card .fav-move:hover[b-n23wyvia3r] { color: #0D6EFD; }

/* Empty state */
.favorites-panel.fav-empty[b-n23wyvia3r] {
    font-size: 0.82rem;
    color: #999;
    padding: 4px 16px;
    gap: 4px;
}
/* /Presentation/Components/Shared/OfflineSync.razor.rz.scp.css */
@keyframes blink-b-5tac20hnrb {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
.blinking[b-5tac20hnrb] {
    animation: blink-b-5tac20hnrb 1s infinite;
}
/* /Presentation/Components/Shared/OtpEvidence.razor.rz.scp.css */
/* Estilos aislados para el componente OtpEvidence (mecanismo OTP) */

.otp-section[b-2r9b28q42c] {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.otp-actions[b-2r9b28q42c] {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.otp-actions .btn[b-2r9b28q42c] {
  width: 100%;
}

.otp-actions span[b-2r9b28q42c] {
  color: #666;
}

.otp-actions .btn.btn-primary[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-actions .btn.btn-primary i[b-2r9b28q42c],
.otp-actions .btn.btn-primary span[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-ttl[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ttl-info-button[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #666;
  padding: 0 4px;
}

.ttl-info-button:focus[b-2r9b28q42c] {
  outline: 2px solid #80bdff;
  outline-offset: 2px;
}

.ttl-popover[b-2r9b28q42c] {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px;
  width: min(320px, 90vw);
  z-index: 1000;
}

.ttl-popover-header[b-2r9b28q42c] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 600;
}

.ttl-popover-close[b-2r9b28q42c] {
  background: transparent;
  border: none;
  color: #666;
}

.ttl-popover-body[b-2r9b28q42c] {
  color: #555;
  font-size: 0.95rem;
}

.ttl-overlay[b-2r9b28q42c] {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 900;
}

.otp-display[b-2r9b28q42c] {
  margin-top: 0;
}

.otp-info[b-2r9b28q42c] {
  font-size: 1.1rem;
}

.otp-code-row[b-2r9b28q42c] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.otp-code-label[b-2r9b28q42c] {
  font-weight: 600;
  color: #333;
}

.otp-display strong[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, #052e6d 0%, #3260bd 50%, #052e6d 100%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(13,110,253,0.35);
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  margin: 0 auto !important;
}

.otp-expiration[b-2r9b28q42c] {
  display: block;
  margin-left: 0;
  margin-top: 6px;
  color: #888;
  font-size: 0.8rem;
}

.evidence-form[b-2r9b28q42c] {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.evidence-hint[b-2r9b28q42c] {
  color: #6b7280;
  font-size: 0.8rem;
}

.evidence-actions[b-2r9b28q42c] {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Botón outline-primary para descarga */
.otp-download-btn[b-2r9b28q42c] {
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border-width: 2px;
}

.otp-download-btn:hover[b-2r9b28q42c] {
  background-color: #0d6efd;
  color: #fff !important;
}

.otp-download-btn i[b-2r9b28q42c] {
  font-size: 0.9rem;
}

.otp-actions .btn.btn-primary:disabled i[b-2r9b28q42c],
.otp-actions .btn.btn-primary:disabled span[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-ttl .ttl-info-button i[b-2r9b28q42c] {
  color: #28a745 !important;
}

.message-success[b-2r9b28q42c] {
  color: #059669;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  padding: 0.25rem 0.25rem;
  word-break: break-word;
}

.message-error[b-2r9b28q42c] {
  color: #dc3545;
  font-size: 0.8rem;
}

@media (max-width: 576px) {
  .otp-actions[b-2r9b28q42c] {
    flex-direction: column;
    align-items: stretch;
  }

  .otp-actions .btn[b-2r9b28q42c] {
    width: 100%;
  }

  .otp-display .otp-info[b-2r9b28q42c] {
    font-size: 1rem;
  }

  .otp-display strong[b-2r9b28q42c] {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .evidence-hint[b-2r9b28q42c] {
    font-size: 0.75rem;
  }
}
/* /Presentation/Components/Shared/PoliticaModal.razor.rz.scp.css */
/* PoliticaModal.razor.css — Ajustes responsivos y compactos del modal de políticas.
   El contenido (POLI_CONTENIDO) llega como HTML inyectado vía MarkupString, por eso
   las reglas internas usan ::deep: el HTML inyectado NO porta el atributo de ámbito
   de Blazor y no puede alcanzarse con selectores scoped normales. */

/* El body del modal nunca debe forzar un ancho mínimo que desborde el viewport. */
.modal-politica .modal-body[b-czx2f3g1dv] {
    min-width: 0;
}

/* Contenido inyectado: romper palabras largas y contener medios dentro del modal. */
.politica-contenido[b-czx2f3g1dv] {
    overflow-wrap: break-word;
    word-break: break-word;
}

.politica-contenido[b-czx2f3g1dv]  img,
.politica-contenido[b-czx2f3g1dv]  video {
    max-width: 100% !important;
    height: auto;
}

.politica-contenido[b-czx2f3g1dv]  table {
    max-width: 100% !important;
}

.politica-contenido[b-czx2f3g1dv]  pre {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Pantallas móviles: ventana compacta, contenida en el ancho de la pantalla y
   con botones a ancho completo para una mejor interacción táctil. */
@media (max-width: 575.98px) {
    .modal-politica[b-czx2f3g1dv] {
        max-width: calc(100vw - 1rem);
        width: auto;
        margin: 0.5rem;
    }

    .modal-politica .modal-header[b-czx2f3g1dv] {
        padding: 0.8rem 1rem !important;
    }

    .modal-politica .modal-header .modal-title[b-czx2f3g1dv] {
        font-size: 0.9rem !important;
    }

    .modal-politica .modal-body[b-czx2f3g1dv] {
        padding: 1rem !important;
    }

    .modal-politica .modal-footer[b-czx2f3g1dv] {
        padding: 0.65rem 1rem !important;
    }

    /* La nota legal pasa a su propia línea y los botones se expanden a lo ancho. */
    .modal-politica .modal-footer .modal-politica-legal[b-czx2f3g1dv] {
        flex: 1 1 100%;
        margin: 0 0 0.25rem 0 !important;
    }

    .modal-politica .modal-footer .btn[b-czx2f3g1dv] {
        flex: 1 1 auto;
    }
}
/* /Presentation/Components/Shared/PopulationGroupsSelect.razor.rz.scp.css */
.pop-group-select[b-cyoec2gymy] {
    position: relative;
    width: 100%;
}

/* ─── Tags ─── */

.pop-group-tags[b-cyoec2gymy] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.pop-group-tag[b-cyoec2gymy] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 500;
    background: #e8f4fd;
    color: #1a5a8c;
    border: 1px solid #c5e1f5;
    border-radius: 4px;
    line-height: 1.5;
    transition: background 0.15s;
}

.pop-group-tag:hover[b-cyoec2gymy] {
    background: #d0eafc;
}

.pop-group-tag-remove[b-cyoec2gymy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 14px;
    height: 14px;
    font-size: 0.5rem;
    line-height: 1;
    border: none;
    background: transparent;
    color: #6c8aaa;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.15s;
}

.pop-group-tag-remove:hover[b-cyoec2gymy] {
    background: #c81e1e;
    color: #fff;
}

/* ─── Input wrapper + search ─── */

.pop-group-input-wrapper[b-cyoec2gymy] {
    position: relative;
}

.pop-group-search-icon[b-cyoec2gymy] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #8a9aa8;
    pointer-events: none;
    z-index: 1;
}

.pop-group-search[b-cyoec2gymy] {
    width: 100%;
    padding: 6px 10px 6px 28px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #212529;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pop-group-search:focus[b-cyoec2gymy] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.pop-group-search[b-cyoec2gymy]::placeholder {
    color: #9ba6b0;
    font-size: 0.75rem;
}

/* ─── Dropdown ─── */

.pop-group-dropdown[b-cyoec2gymy] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d4dce4;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 1050;
}

.pop-group-dropdown-item[b-cyoec2gymy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    font-size: 0.78rem;
    color: #212529;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #f0f2f4;
}

.pop-group-dropdown-item:last-child[b-cyoec2gymy] {
    border-bottom: none;
}

.pop-group-dropdown-item:hover[b-cyoec2gymy] {
    background: #f0f7ff;
}

.pop-group-dropdown-item-selected[b-cyoec2gymy] {
    background: #f0f7ff;
    font-weight: 500;
}

.pop-group-dropdown-item-text[b-cyoec2gymy] {
    flex: 1;
}

.pop-group-dropdown-item-check[b-cyoec2gymy] {
    font-size: 0.7rem;
    margin-left: 8px;
}

.pop-group-dropdown-item-add[b-cyoec2gymy] {
    font-size: 0.65rem;
    color: #8a9aa8;
    margin-left: 8px;
}

.pop-group-dropdown-item:hover .pop-group-dropdown-item-add[b-cyoec2gymy] {
    color: #0d6efd;
}

.pop-group-dropdown-empty[b-cyoec2gymy] {
    padding: 16px 12px;
    text-align: center;
    font-size: 0.75rem;
    color: #7a8a98;
}

/* ─── Contador ─── */

.pop-group-counter[b-cyoec2gymy] {
    margin-top: 4px;
    font-size: 0.68rem;
    color: #6c8aaa;
    font-weight: 500;
}
/* /Presentation/Components/Shared/SearchableSelect.razor.rz.scp.css */
.searchable-select[b-so4aiyheb2] {
    position: relative;
    width: 100%;
}

.searchable-select-input[b-so4aiyheb2] {
    font-size: 0.75rem;
    padding: 2px 28px 2px 8px;
    height: 26px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    line-height: 1;
}

.searchable-select-input:focus[b-so4aiyheb2] {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}

/* Campo obligatorio sin llenar. Va explícito porque este archivo aislado carga DESPUÉS de
   Bootstrap (App.razor), así que .searchable-select-input le gana por orden a .is-invalid. */
.searchable-select-input.is-invalid[b-so4aiyheb2] {
    border-color: #dc3545;
    background-image: none;
}

.searchable-select-input.is-invalid:focus[b-so4aiyheb2] {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220,53,69,0.15);
}

/* Variante para formularios con controles Bootstrap "sm" (Historia Clínica), para que el
   combo quede a la misma altura que los <select form-select-sm> vecinos. */
.searchable-select-input.searchable-select-sm[b-so4aiyheb2] {
    height: 31px;
    font-size: 0.875rem;
}

.searchable-select-clear[b-so4aiyheb2] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.6rem;
    line-height: 1;
    z-index: 2;
}

.searchable-select-clear:hover[b-so4aiyheb2] {
    color: #dc2626;
}

.searchable-select-dropdown[b-so4aiyheb2] {
    position: absolute;
    z-index: 1060;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-height: 260px; /* antes 200px: ~9 filas visibles en vez de 7 */
    overflow-y: auto;
    margin-top: 2px;
}

/* Desplegable anclado a la ventana. Se usa cuando el combo vive dentro de un contenedor con
   overflow (.table-responsive del Extramural), que recortaría uno position:absolute.
   top/left/width los pone el componente por style inline con la medida real del input. */
.searchable-select-dropdown-flotante[b-so4aiyheb2] {
    position: fixed;
    right: auto;
}

.searchable-select-option[b-so4aiyheb2] {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #f3f4f6;
}

.searchable-select-option:last-child[b-so4aiyheb2] {
    border-bottom: none;
}

.searchable-select-option:hover[b-so4aiyheb2] {
    background: #f3f4f6;
}

.searchable-select-option.active[b-so4aiyheb2] {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
    /* Site.css define un .active global (max-height 25px !important) para el wizard de
       Agenda; sin neutralizarlo, la fila ya seleccionada del desplegable sale aplastada. */
    max-height: none !important;
    min-height: 0 !important;
}

/* Fila bajo el cursor del teclado (flechas). */
.searchable-select-option.resaltada[b-so4aiyheb2] {
    background: #e8f0fe;
    box-shadow: inset 3px 0 0 #1a73e8;
}

.searchable-select-option.active.resaltada[b-so4aiyheb2] {
    background: #d2e3fc;
}

.searchable-highlight[b-so4aiyheb2] {
    background: #fff3cd;
    color: #664d03;
    padding: 0 1px;
    border-radius: 2px;
    font-weight: 600;
}

.searchable-select-footer[b-so4aiyheb2] {
    position: sticky;
    bottom: 0;
}

.searchable-select-empty[b-so4aiyheb2] {
    text-align: center;
    padding: 12px 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.searchable-select-dropdown[b-so4aiyheb2]::-webkit-scrollbar {
    width: 4px;
}

.searchable-select-dropdown[b-so4aiyheb2]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}
/* /Presentation/Components/Shared/SecretoVisor.razor.rz.scp.css */
.sv-visor[b-qzujgntti4] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 3px;
    overflow: hidden;
    max-width: 100%;
}

.sv-valor[b-qzujgntti4] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.68rem;
    word-break: break-all;
    color: #7c2d12;
    position: relative;
    z-index: 0;
}

.sv-valor-completo[b-qzujgntti4] {
    color: #0f172a;
    font-weight: 600;
}

/* Marca de agua diagonal: usuario + fecha/hora sobre el valor (desincentiva capturas).
   No intercepta el puntero ni permite seleccionar el texto. */
.sv-wm[b-qzujgntti4] {
    position: absolute;
    inset: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
    color: rgba(180, 83, 9, 0.38);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.sv-acciones[b-qzujgntti4] {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.sv-btn[b-qzujgntti4] {
    height: 20px;
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #fdba74;
    border-radius: 3px;
    background: #fff;
    color: #b45309;
    font-size: 0.6rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.sv-btn:hover[b-qzujgntti4] {
    background: #ffedd5;
}

.sv-btn:focus-visible[b-qzujgntti4] {
    outline: 2px solid rgba(180, 83, 9, 0.45);
    outline-offset: 1px;
}

.sv-btn-activo[b-qzujgntti4] {
    background: #b45309;
    border-color: #b45309;
    color: #fff;
}

.sv-btn-activo:hover[b-qzujgntti4] {
    background: #92400e;
}

.sv-cuenta[b-qzujgntti4] {
    font-size: 0.58rem;
    font-weight: 700;
    color: #b45309;
    font-variant-numeric: tabular-nums;
    min-width: 26px;
    text-align: right;
}
/* /Presentation/Components/Shared/SplashLanding.razor.rz.scp.css */
/* ── Overlay ── */
.splash-overlay[b-82gvpi2u0h] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 35%, #001c3d 0%, #000b1f 45%, #000 100%);
    z-index: 10000;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Animated background ── */
.splash-bg[b-82gvpi2u0h] {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(34, 211, 238, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    animation: bgBreath-b-82gvpi2u0h 6s ease-in-out infinite;
}

.splash-bg-orb[b-82gvpi2u0h] {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 65%);
    animation: orbFloat-b-82gvpi2u0h 8s ease-in-out infinite;
}

@keyframes bgBreath-b-82gvpi2u0h {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes orbFloat-b-82gvpi2u0h {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -55%) scale(1.15); }
}

/* ── Floating Particles ── */
.particles-container[b-82gvpi2u0h] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle[b-82gvpi2u0h] {
    position: absolute;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(0, 212, 255, 0.2));
    animation: particleRise-b-82gvpi2u0h linear infinite;
    will-change: transform, opacity;
}

@keyframes particleRise-b-82gvpi2u0h {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    8% {
        opacity: var(--p-opacity, 0.4);
    }
    85% {
        opacity: var(--p-opacity, 0.2);
    }
    100% {
        transform: translateY(-105vh) scale(0.2);
        opacity: 0;
    }
}

/* ── Center Content ── */
.splash-center[b-82gvpi2u0h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 10;
    animation: fadeInUp-b-82gvpi2u0h 0.8s ease-out;
}

@keyframes fadeInUp-b-82gvpi2u0h {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════
   THE PROTAGONIST — Medical Cross Universe
   ════════════════════════════════════════════ */

.cross-universe[b-82gvpi2u0h] {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Ring ── */
.ring-svg[b-82gvpi2u0h] {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: ringSpin-b-82gvpi2u0h 5s linear infinite;
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.15));
}

.ring-svg-inner[b-82gvpi2u0h] {
    animation: ringSpinInner-b-82gvpi2u0h 7s linear infinite;
}

@keyframes ringSpin-b-82gvpi2u0h {
    to { transform: rotate(360deg); }
}

@keyframes ringSpinInner-b-82gvpi2u0h {
    to { transform: rotate(-360deg); }
}

.ring-arc[b-82gvpi2u0h] {
    animation: ringDash-b-82gvpi2u0h 2.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes ringDash-b-82gvpi2u0h {
    0% {
        stroke-dashoffset: 723;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 120;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 723;
        opacity: 0.3;
    }
}

.ring-dash-inner[b-82gvpi2u0h] {
    animation: ringDashDrift-b-82gvpi2u0h 4s linear infinite;
}

@keyframes ringDashDrift-b-82gvpi2u0h {
    to { stroke-dashoffset: -200; }
}

/* ── THE CROSS (Protagonist) ── */
.cross-svg[b-82gvpi2u0h] {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
    animation:
        crossLevitate-b-82gvpi2u0h 4s ease-in-out infinite,
        crossEntrance-b-82gvpi2u0h 0.8s cubic-bezier(0.22, 0.8, 0.25, 1) forwards;
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.4));
}

@keyframes crossEntrance-b-82gvpi2u0h {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes crossLevitate-b-82gvpi2u0h {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 25px rgba(34, 211, 238, 0.3));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 45px rgba(0, 212, 255, 0.6));
    }
}

.cross-bar[b-82gvpi2u0h] {
    transition: all 0.3s ease;
}

/* Inner shine animation on the cross */
.cross-svg .cross-vert:last-child[b-82gvpi2u0h],
.cross-svg .cross-horiz:last-child[b-82gvpi2u0h] {
    animation: crossShine-b-82gvpi2u0h 3s ease-in-out infinite;
}

@keyframes crossShine-b-82gvpi2u0h {
    0%, 100% { opacity: 0.06; }
    50% { opacity: 0.15; }
}

/* ── Loading Message ── */
.splash-message[b-82gvpi2u0h] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 5px;
}

.msg-text[b-82gvpi2u0h] {
    color: #e0ecfa;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.msg-dots[b-82gvpi2u0h] {
    display: inline-flex;
    gap: 4px;
    margin-left: 3px;
    padding-bottom: 3px;
}

.dot[b-82gvpi2u0h] {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #22d3ee, #00d4ff);
    border-radius: 50%;
    animation: dotBounce-b-82gvpi2u0h 1.5s ease-in-out infinite;
}

.dot:nth-child(1)[b-82gvpi2u0h] { animation-delay: 0s; }
.dot:nth-child(2)[b-82gvpi2u0h] { animation-delay: 0.25s; }
.dot:nth-child(3)[b-82gvpi2u0h] { animation-delay: 0.5s; }

@keyframes dotBounce-b-82gvpi2u0h {
    0%, 80%, 100% {
        opacity: 0.15;
        transform: scale(0.7);
    }
    40% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ── Status Sub-message ── */
.splash-status[b-82gvpi2u0h] {
    color: rgba(224, 236, 250, 0.45);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-top: -12px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.splash-status.visible[b-82gvpi2u0h] {
    opacity: 1;
}

/* ── Footer ── */
.splash-footer[b-82gvpi2u0h] {
    position: absolute;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    animation: footerFade-b-82gvpi2u0h 1.5s ease-out 0.5s both;
}

@keyframes footerFade-b-82gvpi2u0h {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-line[b-82gvpi2u0h] {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.25), transparent);
}

.footer-text[b-82gvpi2u0h] {
    color: rgba(224, 236, 250, 0.25);
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

.footer-version[b-82gvpi2u0h] {
    color: rgba(224, 236, 250, 0.15);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cross-universe[b-82gvpi2u0h] {
        width: 170px;
        height: 170px;
    }

    .cross-svg[b-82gvpi2u0h] {
        width: 78px;
        height: 78px;
    }

    .msg-text[b-82gvpi2u0h] {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .splash-status[b-82gvpi2u0h] {
        font-size: 12px;
    }

    .splash-bg-orb[b-82gvpi2u0h] {
        width: 300px;
        height: 300px;
    }

    .particle[b-82gvpi2u0h] {
        display: none;
    }
}

@media (max-width: 480px) {
    .cross-universe[b-82gvpi2u0h] {
        width: 140px;
        height: 140px;
    }

    .cross-svg[b-82gvpi2u0h] {
        width: 65px;
        height: 65px;
    }

    .msg-text[b-82gvpi2u0h] {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .splash-center[b-82gvpi2u0h] {
        gap: 22px;
    }

    .splash-footer[b-82gvpi2u0h] {
        bottom: 20px;
    }
}
/* /Presentation/Components/Shared/SplashLoading.razor.rz.scp.css */
/* ── Overlay ── */
.splash-overlay[b-hweckj1oni] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 35%, #001c3d 0%, #000b1f 45%, #000 100%);
    z-index: 10000;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Animated background ── */
.splash-bg[b-hweckj1oni] {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(46, 168, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    animation: bgBreath-b-hweckj1oni 6s ease-in-out infinite;
}

.splash-bg-orb[b-hweckj1oni] {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 65%);
    animation: orbFloat-b-hweckj1oni 8s ease-in-out infinite;
}

@keyframes bgBreath-b-hweckj1oni {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes orbFloat-b-hweckj1oni {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -55%) scale(1.15); }
}

/* ── Floating Particles ── */
.particles-container[b-hweckj1oni] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle[b-hweckj1oni] {
    position: absolute;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46, 168, 255, 0.5), rgba(0, 212, 255, 0.2));
    animation: particleRise-b-hweckj1oni linear infinite;
    will-change: transform, opacity;
}

@keyframes particleRise-b-hweckj1oni {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    8% {
        opacity: var(--p-opacity, 0.4);
    }
    85% {
        opacity: var(--p-opacity, 0.2);
    }
    100% {
        transform: translateY(-105vh) scale(0.2);
        opacity: 0;
    }
}

/* ── Center Content ── */
.splash-center[b-hweckj1oni] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 10;
    animation: fadeInUp-b-hweckj1oni 0.8s ease-out;
}

@keyframes fadeInUp-b-hweckj1oni {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════
   THE PROTAGONIST — Medical Cross Universe
   ════════════════════════════════════════════ */

.cross-universe[b-hweckj1oni] {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Ring ── */
.ring-svg[b-hweckj1oni] {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: ringSpin-b-hweckj1oni 5s linear infinite;
    filter: drop-shadow(0 0 20px rgba(46, 168, 255, 0.15));
}

.ring-svg-inner[b-hweckj1oni] {
    animation: ringSpinInner-b-hweckj1oni 7s linear infinite;
}

@keyframes ringSpin-b-hweckj1oni {
    to { transform: rotate(360deg); }
}

@keyframes ringSpinInner-b-hweckj1oni {
    to { transform: rotate(-360deg); }
}

.ring-arc[b-hweckj1oni] {
    animation: ringDash-b-hweckj1oni 2.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes ringDash-b-hweckj1oni {
    0% {
        stroke-dashoffset: 723;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 120;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 723;
        opacity: 0.3;
    }
}

.ring-dash-inner[b-hweckj1oni] {
    animation: ringDashDrift-b-hweckj1oni 4s linear infinite;
}

@keyframes ringDashDrift-b-hweckj1oni {
    to { stroke-dashoffset: -200; }
}

/* ── THE CROSS (Protagonist) ── */
.cross-svg[b-hweckj1oni] {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
    animation:
        crossLevitate-b-hweckj1oni 4s ease-in-out infinite,
        crossEntrance-b-hweckj1oni 0.8s cubic-bezier(0.22, 0.8, 0.25, 1) forwards;
    filter: drop-shadow(0 0 30px rgba(46, 168, 255, 0.4));
}

@keyframes crossEntrance-b-hweckj1oni {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes crossLevitate-b-hweckj1oni {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 25px rgba(46, 168, 255, 0.3));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 45px rgba(0, 212, 255, 0.6));
    }
}

.cross-bar[b-hweckj1oni] {
    transition: all 0.3s ease;
}

/* Inner shine animation on the cross */
.cross-svg .cross-vert:last-child[b-hweckj1oni],
.cross-svg .cross-horiz:last-child[b-hweckj1oni] {
    animation: crossShine-b-hweckj1oni 3s ease-in-out infinite;
}

@keyframes crossShine-b-hweckj1oni {
    0%, 100% { opacity: 0.06; }
    50% { opacity: 0.15; }
}

/* ── Loading Message ── */
.splash-message[b-hweckj1oni] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 5px;
}

.msg-text[b-hweckj1oni] {
    color: #e0ecfa;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.msg-dots[b-hweckj1oni] {
    display: inline-flex;
    gap: 4px;
    margin-left: 3px;
    padding-bottom: 3px;
}

.dot[b-hweckj1oni] {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #2ea8ff, #00d4ff);
    border-radius: 50%;
    animation: dotBounce-b-hweckj1oni 1.5s ease-in-out infinite;
}

.dot:nth-child(1)[b-hweckj1oni] { animation-delay: 0s; }
.dot:nth-child(2)[b-hweckj1oni] { animation-delay: 0.25s; }
.dot:nth-child(3)[b-hweckj1oni] { animation-delay: 0.5s; }

@keyframes dotBounce-b-hweckj1oni {
    0%, 80%, 100% {
        opacity: 0.15;
        transform: scale(0.7);
    }
    40% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ── Status Sub-message ── */
.splash-status[b-hweckj1oni] {
    color: rgba(224, 236, 250, 0.45);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-top: -12px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.splash-status.visible[b-hweckj1oni] {
    opacity: 1;
}

/* ── Footer ── */
.splash-footer[b-hweckj1oni] {
    position: absolute;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    animation: footerFade-b-hweckj1oni 1.5s ease-out 0.5s both;
}

@keyframes footerFade-b-hweckj1oni {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-line[b-hweckj1oni] {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 168, 255, 0.25), transparent);
}

.footer-text[b-hweckj1oni] {
    color: rgba(224, 236, 250, 0.25);
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

.footer-version[b-hweckj1oni] {
    color: rgba(224, 236, 250, 0.15);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cross-universe[b-hweckj1oni] {
        width: 170px;
        height: 170px;
    }

    .cross-svg[b-hweckj1oni] {
        width: 78px;
        height: 78px;
    }

    .msg-text[b-hweckj1oni] {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .splash-status[b-hweckj1oni] {
        font-size: 12px;
    }

    .splash-bg-orb[b-hweckj1oni] {
        width: 300px;
        height: 300px;
    }

    .particle[b-hweckj1oni] {
        display: none;
    }
}

@media (max-width: 480px) {
    .cross-universe[b-hweckj1oni] {
        width: 140px;
        height: 140px;
    }

    .cross-svg[b-hweckj1oni] {
        width: 65px;
        height: 65px;
    }

    .msg-text[b-hweckj1oni] {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .splash-center[b-hweckj1oni] {
        gap: 22px;
    }

    .splash-footer[b-hweckj1oni] {
        bottom: 20px;
    }
}
/* /Presentation/Components/Shared/SplashLoadingElectoral.razor.rz.scp.css */
.splash-overlay-electoral[b-vkhveag3f7] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 35%, #241505 0%, #120a02 45%, #000 100%);
    z-index: 10000;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Animated background ── */
.splash-bg[b-vkhveag3f7] {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 209, 102, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    animation: bgBreathElectoral-b-vkhveag3f7 6s ease-in-out infinite;
}

.splash-bg-orb[b-vkhveag3f7] {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 65%);
    animation: orbFloatElectoral-b-vkhveag3f7 8s ease-in-out infinite;
}

@keyframes bgBreathElectoral-b-vkhveag3f7 {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes orbFloatElectoral-b-vkhveag3f7 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -55%) scale(1.15); }
}

/* ── Floating Particles ── */
.particles-container[b-vkhveag3f7] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle[b-vkhveag3f7] {
    position: absolute;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.5), rgba(245, 158, 11, 0.2));
    animation: particleRiseElectoral-b-vkhveag3f7 linear infinite;
    will-change: transform, opacity;
}

@keyframes particleRiseElectoral-b-vkhveag3f7 {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    8% {
        opacity: var(--p-opacity, 0.4);
    }
    85% {
        opacity: var(--p-opacity, 0.2);
    }
    100% {
        transform: translateY(-105vh) scale(0.2);
        opacity: 0;
    }
}

/* ── Center Content ── */
.splash-center[b-vkhveag3f7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 10;
    animation: fadeInUpElectoral-b-vkhveag3f7 0.8s ease-out;
}

@keyframes fadeInUpElectoral-b-vkhveag3f7 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════
   THE PROTAGONIST — Electoral Emblem Universe
   ════════════════════════════════════════════ */

.ballot-universe[b-vkhveag3f7] {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Ring ── */
.ring-svg[b-vkhveag3f7] {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: ringSpinElectoral-b-vkhveag3f7 5s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 209, 102, 0.15));
}

.ring-svg-inner[b-vkhveag3f7] {
    animation: ringSpinInnerElectoral-b-vkhveag3f7 7s linear infinite;
}

@keyframes ringSpinElectoral-b-vkhveag3f7 {
    to { transform: rotate(360deg); }
}

@keyframes ringSpinInnerElectoral-b-vkhveag3f7 {
    to { transform: rotate(-360deg); }
}

.ring-arc[b-vkhveag3f7] {
    animation: ringDashElectoral-b-vkhveag3f7 2.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes ringDashElectoral-b-vkhveag3f7 {
    0% {
        stroke-dashoffset: 723;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 120;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 723;
        opacity: 0.3;
    }
}

.ring-dash-inner[b-vkhveag3f7] {
    animation: ringDashDriftElectoral-b-vkhveag3f7 4s linear infinite;
}

@keyframes ringDashDriftElectoral-b-vkhveag3f7 {
    to { stroke-dashoffset: -200; }
}

/* ── THE EMBLEM (Protagonist) ── */
.ballot-svg[b-vkhveag3f7] {
    width: 110px;
    height: 110px;
    position: relative;
    z-index: 2;
    animation:
        emblemLevitateElectoral-b-vkhveag3f7 4s ease-in-out infinite,
        emblemEntranceElectoral-b-vkhveag3f7 0.8s cubic-bezier(0.22, 0.8, 0.25, 1) forwards;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.4));
}

@keyframes emblemEntranceElectoral-b-vkhveag3f7 {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes emblemLevitateElectoral-b-vkhveag3f7 {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 25px rgba(255, 209, 102, 0.3));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 45px rgba(245, 158, 11, 0.6));
    }
}

/* ── Verification check: se dibuja y se desvanece en bucle ── */
.check-path[b-vkhveag3f7] {
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    animation: checkDrawElectoral-b-vkhveag3f7 2.4s ease-in-out infinite;
}

@keyframes checkDrawElectoral-b-vkhveag3f7 {
    0% {
        stroke-dashoffset: 70;
        opacity: 0.4;
    }
    45% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -70;
        opacity: 0;
    }
}

/* ── Loading Message ── */
.splash-message[b-vkhveag3f7] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 5px;
}

.msg-text[b-vkhveag3f7] {
    color: #fdf1dc;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.msg-dots[b-vkhveag3f7] {
    display: inline-flex;
    gap: 4px;
    margin-left: 3px;
    padding-bottom: 3px;
}

.dot[b-vkhveag3f7] {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #ffd166, #f59e0b);
    border-radius: 50%;
    animation: dotBounceElectoral-b-vkhveag3f7 1.5s ease-in-out infinite;
}

.dot:nth-child(1)[b-vkhveag3f7] { animation-delay: 0s; }
.dot:nth-child(2)[b-vkhveag3f7] { animation-delay: 0.25s; }
.dot:nth-child(3)[b-vkhveag3f7] { animation-delay: 0.5s; }

@keyframes dotBounceElectoral-b-vkhveag3f7 {
    0%, 80%, 100% {
        opacity: 0.15;
        transform: scale(0.7);
    }
    40% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ── Status Sub-message ── */
.splash-status[b-vkhveag3f7] {
    color: rgba(253, 241, 220, 0.45);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-top: -12px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.splash-status.visible[b-vkhveag3f7] {
    opacity: 1;
}

/* ── Footer ── */
.splash-footer[b-vkhveag3f7] {
    position: absolute;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    animation: footerFadeElectoral-b-vkhveag3f7 1.5s ease-out 0.5s both;
}

@keyframes footerFadeElectoral-b-vkhveag3f7 {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-line[b-vkhveag3f7] {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.25), transparent);
}

.footer-text[b-vkhveag3f7] {
    color: rgba(253, 241, 220, 0.35);
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

.footer-version[b-vkhveag3f7] {
    color: rgba(253, 241, 220, 0.18);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 300;
}

/* ── Respeta la preferencia de movimiento reducido (WCAG 2.3.3) ── */
@media (prefers-reduced-motion: reduce) {
    .splash-bg[b-vkhveag3f7],
    .splash-bg-orb[b-vkhveag3f7],
    .particle[b-vkhveag3f7],
    .ring-svg[b-vkhveag3f7],
    .ring-svg-inner[b-vkhveag3f7],
    .ring-arc[b-vkhveag3f7],
    .ring-dash-inner[b-vkhveag3f7],
    .ballot-svg[b-vkhveag3f7],
    .check-path[b-vkhveag3f7],
    .dot[b-vkhveag3f7],
    .splash-center[b-vkhveag3f7],
    .splash-footer[b-vkhveag3f7] {
        animation: none !important;
    }

    .check-path[b-vkhveag3f7] {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ballot-universe[b-vkhveag3f7] {
        width: 170px;
        height: 170px;
    }

    .ballot-svg[b-vkhveag3f7] {
        width: 86px;
        height: 86px;
    }

    .msg-text[b-vkhveag3f7] {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .splash-status[b-vkhveag3f7] {
        font-size: 12px;
    }

    .splash-bg-orb[b-vkhveag3f7] {
        width: 300px;
        height: 300px;
    }

    .particle[b-vkhveag3f7] {
        display: none;
    }
}

@media (max-width: 480px) {
    .ballot-universe[b-vkhveag3f7] {
        width: 140px;
        height: 140px;
    }

    .ballot-svg[b-vkhveag3f7] {
        width: 72px;
        height: 72px;
    }

    .msg-text[b-vkhveag3f7] {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .splash-center[b-vkhveag3f7] {
        gap: 22px;
    }

    .splash-footer[b-vkhveag3f7] {
        bottom: 20px;
    }
}
/* /Presentation/Components/Shared/SurosHeroIntro.razor.rz.scp.css */
@font-face {
    font-family: Raleway-Bold;
    src: url('/fonts/raleway/phylactere.ttf');
}

.header-caption[b-73qr96g4oi] {
    position: fixed;
    top: 10%;
    left: 20%;
    color: #eaf2f9;
    font-size: clamp(20px, 2.2vw + 8px, 32px);
    line-height: 1.25;
    letter-spacing: 0.3px;
    max-width: min(760px, 46vw);
    z-index: 10;
    padding: 12px 20px;
    border-radius: 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    background: linear-gradient(90deg, rgba(46, 168, 255, .5), rgba(0, 43, 77, .18));
    font-family: 'Raleway', sans-serif;
}

.bg-watermark[b-73qr96g4oi] {
    position: fixed;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.60;
    pointer-events: none;
    width: 60vw;
    max-width: 600px;
}

.bg-watermark-clinica[b-73qr96g4oi] {
    position: fixed;
    top: 81%;
    left: 61%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.40;
    pointer-events: none;
    width: 20vw;
    max-width: 200px;
}

.bg-watermark-equipo[b-73qr96g4oi] {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.32;
    pointer-events: none;
    height: 82vh;
    max-height: 780px;
    width: auto;
}

.hero-suros[b-73qr96g4oi] {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, #001a33 0%, #000714 45%, #000 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transition: opacity 700ms ease;
}

.hero-suros.hidden[b-73qr96g4oi] {
    opacity: 0;
    pointer-events: none;
}

.hero-stage[b-73qr96g4oi] {
    position: relative;
    width: min(1100px, 92vw);
    height: min(500px, 52vh);
}

.signal-svg[b-73qr96g4oi] {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    filter: drop-shadow(0 0 6px #2ea8ff) drop-shadow(0 0 16px rgba(46, 168, 255, .35));
}

.signal-svg svg[b-73qr96g4oi] {
    width: 100%;
    height: 120px;
}

.text-and-check[b-73qr96g4oi] {
    position: absolute;
    left: 45%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: min(24px, 3vw);
    z-index: 2;
}

.suros-text[b-73qr96g4oi] {
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 13em;
    display: inline-flex;
    align-items: start;
    margin-top: -20px;
    font-family: 'Raleway-Bold', 'Raleway', sans-serif;
}

.suros-text .su[b-73qr96g4oi],
.suros-text .sur[b-73qr96g4oi] {
    opacity: 0;
    animation: fadeIn-b-73qr96g4oi 700ms ease forwards;
    animation-delay: 2.7s;
    margin-left: 0 !important;
}

.suros-text .u[b-73qr96g4oi] {
    opacity: 0;
    animation: fadeIn-b-73qr96g4oi 700ms ease forwards;
    animation-delay: 3.1s;
    margin-left: 0 !important;
}

.suros-text .r[b-73qr96g4oi] {
    opacity: 0;
    animation: fadeIn-b-73qr96g4oi 500ms ease forwards;
    animation-delay: 3.3s;
    margin-left: 0 !important;
}

.suros-text .s[b-73qr96g4oi] {
    opacity: 0;
    animation: fadeIn-b-73qr96g4oi 700ms ease forwards;
    animation-delay: 3.5s;
    margin-left: 0 !important;
}

.o-wrap[b-73qr96g4oi] {
    position: relative;
    display: inline-block;
}

.hero-suros .o[b-73qr96g4oi] {
    margin-top: -18px !important;
    display: inline-block;
    font-size: 1.1em;
    transform: translateY(-260%) scale(1.12);
    opacity: 0;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    animation: dropImpact-b-73qr96g4oi 1400ms cubic-bezier(.22, .8, .25, 1) 0.6s forwards, shockGlow-b-73qr96g4oi 900ms ease-out 1s both;
    will-change: transform, filter;
}

.tilde[b-73qr96g4oi] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -0.10em;
    opacity: 0;
    color: #ffffff;
    font-size: 1em;
    animation: accentImpact-b-73qr96g4oi 700ms cubic-bezier(.22, .8, .25, 1) 1.9s forwards;
    color: #ff2e2e;
}

.medical-bg[b-73qr96g4oi] {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    /* Permite clics en el contenido subyacente salvo en los hex interactivos */
    pointer-events: none;
}

.hex[b-73qr96g4oi] {
    position: absolute;
    width: clamp(88px, 10vw, 180px);
    height: clamp(88px, 10vw, 180px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
        var(--hex-fill, rgba(255, 255, 255, 0.28));
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25), 0 0 28px rgba(46, 168, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.8);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    backdrop-filter: blur(3px);
    will-change: transform, opacity;
    cursor: pointer;
    /* Reactiva la interacción solo en los hexágonos */
    pointer-events: auto;
    transition:
        left 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
        top 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 420ms ease,
        box-shadow 420ms ease;
}

.hex.strong[b-73qr96g4oi] {
    background: rgba(255, 255, 255, 0.38);
}

.hex .icon[b-73qr96g4oi] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(121, 200, 255, 0.92);
    font-size: clamp(40px, 4.5vw, 65px);
    opacity: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    will-change: transform, opacity;
}

.hex[b-73qr96g4oi]::before,
.hex[b-73qr96g4oi]::after {
    content: "";
    position: absolute;
    inset: -24%;
    opacity: 0;
    transform: translate3d(0, 12%, 0);
    filter: blur(0.5px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.hex[b-73qr96g4oi]::before {
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(121, 200, 255, 0.2) 0,
            rgba(121, 200, 255, 0.2) 3px,
            transparent 3px,
            transparent 7px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(46, 168, 255, 0.22) 0,
            rgba(46, 168, 255, 0.22) 3px,
            transparent 3px,
            transparent 7px
        );
    background-size: 125% 125%;
}

.hex[b-73qr96g4oi]::after {
    inset: -10%;
    background-image:
        linear-gradient(90deg, rgba(121, 200, 255, 0.26) 10%, transparent 40%, rgba(46, 168, 255, 0.3) 70%, transparent 100%),
        repeating-linear-gradient(
            135deg,
            rgba(121, 200, 255, 0.3) 0,
            rgba(121, 200, 255, 0.3) 2px,
            transparent 2px,
            transparent 6px
        );
    background-size: 185% 185%;
    transform: translate3d(-80%, 0, 0);
}

.hex:hover[b-73qr96g4oi]::before {
    opacity: 1;
    animation: hero-hex-grid-b-73qr96g4oi 900ms ease-out forwards 80ms;
}

.hex:hover[b-73qr96g4oi]::after {
    opacity: 1;
    animation: hero-hex-sweep-b-73qr96g4oi 1100ms ease-out forwards 140ms;
}

.hex.main .icon[b-73qr96g4oi] {
    color: #79c8ff;
    opacity: 0.95;
}

.hex.lg[b-73qr96g4oi] {
    width: clamp(120px, 12vw, 220px);
    height: clamp(120px, 12vw, 220px);
}

.hex.sm[b-73qr96g4oi] {
    width: clamp(64px, 7vw, 120px);
    height: clamp(64px, 7vw, 120px);
}

.hex.xs[b-73qr96g4oi] {
    width: clamp(48px, 5.4vw, 96px);
    height: clamp(48px, 5.4vw, 96px);
}

.hex .icon.sm[b-73qr96g4oi] {
    font-size: clamp(24px, 2.8vw, 36px);
}

.hex .icon.xs[b-73qr96g4oi] {
    font-size: clamp(18px, 2.2vw, 28px);
}

.hex .hex-shortcut[b-73qr96g4oi] {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: clamp(22px, 2.2vw, 28px);
    height: clamp(22px, 2.2vw, 28px);
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(11px, 1.2vw, 13px);
    color: #0b1b2e;
    background: radial-gradient(circle at 30% 0, #9bd6ff, #2ea8ff);
    box-shadow: 0 8px 14px rgba(0,0,0,.35), 0 0 10px rgba(46,168,255,.55);
    text-shadow: none;
    pointer-events: auto;
}

.hex .hex-shortcut.is-dim[b-73qr96g4oi] {
    background: radial-gradient(circle at 30% 0, rgba(155,214,255,.5), rgba(46,168,255,.35));
    color: rgba(11,27,46,.6);
    box-shadow: 0 6px 12px rgba(0,0,0,.28), 0 0 8px rgba(46,168,255,.25);
    filter: grayscale(0.2);
}

.p1[b-73qr96g4oi]  { left: 76%; top: 10%; }  /* fila 1, centro un poco más a la izq */
.p2[b-73qr96g4oi]  { left: 86%; top: 18%; }  /* fila 1, derecha */
.p3[b-73qr96g4oi]  { left: 70%; top: 26%; }  /* fila 2, izquierda */
.p4[b-73qr96g4oi]  { left: 80%; top: 34%; }  /* fila 2, centro */
.p5[b-73qr96g4oi]  { left: 90%; top: 44%; }  /* fila 2–3, derecha */
.p6[b-73qr96g4oi]  { left: 72%; top: 54%; }  /* fila 3, izquierda, más separada */
.p7[b-73qr96g4oi]  { left: 82%; top: 62%; }  /* fila 3, centro */
.p8[b-73qr96g4oi]  { left: 68%; top: 72%; }  /* fila 4, izquierda */
.p9[b-73qr96g4oi]  { left: 78%; top: 80%; }  /* fila 4, centro */
.p10[b-73qr96g4oi] { left: 88%; top: 88%; }  /* fila 4, derecha */
.p11[b-73qr96g4oi] { left: 66%; top: 42%; }  /* hex extra, rellena hueco medio-izq */
.p12[b-73qr96g4oi] { left: 92%; top: 28%; }  /* hex extra, zona sup-der */

.hex-popover-fixed[b-73qr96g4oi] {
    position: fixed;
    top: 11%;
    right: 22%;
    min-width: 240px;
    max-width: 280px;
    padding: 14px 18px;
    background: radial-gradient(circle at top left, rgba(46, 168, 255, 0.2), rgba(0, 10, 32, 0.96));
    border-radius: 14px;
    border: 1px solid rgba(151, 206, 255, 0.7);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(46, 168, 255, 0.5);
    color: #eaf2f9;
    font-size: 0.8rem;
    line-height: 1.5;
    z-index: 10;
    pointer-events: none;
}

.hex-hover-layer[b-73qr96g4oi] {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
}

.hex-hover-card[b-73qr96g4oi] {
    position: absolute;
    width: 320px;
    height: 200px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.25), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: saturate(120%) blur(2px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(46, 168, 255, 0.35);
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
    will-change: transform, opacity;
}

.hex-hover-card img[b-73qr96g4oi] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.hex-hover-card.is-closing[b-73qr96g4oi] {
    transition:
        opacity 200ms ease-out,
        transform 200ms ease-out;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
}

.hex-popover-fixed-title[b-73qr96g4oi] {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.hex-popover-fixed-description[b-73qr96g4oi] {
    opacity: 0.92;
}

@keyframes dropImpact-b-73qr96g4oi {
    0% {
        transform: translateY(-260%) scale(1.12);
        filter: blur(6px) drop-shadow(0 22px 44px rgba(0, 0, 0, .45));
        opacity: 0;
    }

    20% {
        transform: translateY(-80%) scale(1.06);
        filter: blur(2px) drop-shadow(0 18px 36px rgba(0, 0, 0, .4));
        opacity: 1;
    }

    60% {
        transform: translateY(10%) scale(0.95);
        filter: blur(0) drop-shadow(0 30px 45px rgba(0, 0, 0, .35));
    }

    78% {
        transform: translateY(-6%) scale(1.02);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: blur(0) drop-shadow(0 8px 16px rgba(0, 0, 0, .28));
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero-suros[b-73qr96g4oi],
    .medical-bg[b-73qr96g4oi],
    .bg-watermark[b-73qr96g4oi],
    .bg-watermark-clinica[b-73qr96g4oi],
    .bg-watermark-equipo[b-73qr96g4oi] {
        display: none;
    }
}

@keyframes accentImpact-b-73qr96g4oi {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-40%) rotate(-25deg) scale(0.85);
        filter: blur(4px);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-8%) rotate(6deg) scale(1.1);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes shockGlow-b-73qr96g4oi {
    0% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    35% {
        text-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 24px rgba(46, 168, 255, .5);
    }

    100% {
        text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    }
}

@keyframes hero-hex-grid-b-73qr96g4oi {
    0% {
        opacity: 0;
        transform: translate3d(0, 18%, 0) scale(0.97);
        filter: blur(2.5px);
    }
    40% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 0.32;
        transform: translate3d(0, -8%, 0) scale(1.06);
        filter: blur(2px);
    }
}

@keyframes hero-hex-sweep-b-73qr96g4oi {
    0% {
        opacity: 0;
        transform: translate3d(-90%, 0, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
}

@keyframes fadeIn-b-73qr96g4oi {
    from {
        opacity: 0;
        filter: blur(2px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes pulse-b-73qr96g4oi {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: drop-shadow(0 0 15px rgba(121, 200, 255, 0.8));
    }
}

.hex.float[b-73qr96g4oi] {
    animation: floatY-b-73qr96g4oi 6s ease-in-out infinite;
}

.hex.soft[b-73qr96g4oi] {
    animation: fadeSoft-b-73qr96g4oi 8s ease-in-out infinite;
}

.hex .icon.pulse[b-73qr96g4oi] {
    animation: pulse-b-73qr96g4oi 2.6s ease-in-out infinite;
}

/* Destello corto cuando se pulsa la tecla de acceso directo */
.hex.hex-keyflash[b-73qr96g4oi],
.hex.hex-keyflash .hex-shortcut[b-73qr96g4oi] {
    filter: brightness(1.35) saturate(1.1);
    box-shadow: 0 18px 36px rgba(0,0,0,.45), 0 0 18px rgba(46,168,255,.65);
    transition: filter 180ms ease, box-shadow 180ms ease;
}

@keyframes floatY-b-73qr96g4oi {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes fadeSoft-b-73qr96g4oi {
    0% {
        opacity: .65;
    }

    50% {
        opacity: .35;
    }

    100% {
        opacity: .65;
    }
}
/* /Presentation/Components/Shared/SurosLandingHeader.razor.rz.scp.css */
.sx-nav[b-6uzu6bj8mw] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--sx-nav-h, 76px);
    background: linear-gradient(180deg, rgba(2, 11, 22, 0.72) 0%, rgba(2, 11, 22, 0.24) 100%);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.sx-nav-scrolled[b-6uzu6bj8mw] {
    background: rgba(2, 11, 22, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--sx-line, rgba(56, 152, 216, 0.16));
    box-shadow: 0 14px 40px rgba(2, 11, 22, 0.55);
}

.sx-container[b-6uzu6bj8mw] {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.sx-nav-inner[b-6uzu6bj8mw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--sx-nav-h, 76px);
}

/* Marca */
.sx-nav-brand[b-6uzu6bj8mw] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.sx-nav-logo[b-6uzu6bj8mw] {
    width: 72px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--sx-line, rgba(56, 152, 216, 0.16));
    box-shadow: 0 0 24px rgba(56, 152, 216, 0.12);
    flex-shrink: 0;
}

.sx-nav-logo img[b-6uzu6bj8mw] {
    width: 50px;
    height: auto;
    /*filter: brightness(0) invert(1);
    opacity: 0.96;*/
}

.sx-nav-brand-text[b-6uzu6bj8mw] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sx-nav-brand-name[b-6uzu6bj8mw] {
    font-family: var(--sx-font, 'Raleway', system-ui, sans-serif);
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: 0.22em;
    color: var(--sx-text, #EAF4FC);
}

.sx-nav-brand-tag[b-6uzu6bj8mw] {
    font-family: var(--sx-mono, ui-monospace, Consolas, monospace);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sx-cyan, #18A8D8);
    opacity: 0.85;
}

/* Enlaces de escritorio */
.sx-nav-links[b-6uzu6bj8mw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sx-nav-link[b-6uzu6bj8mw] {
    position: relative;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--sx-muted, #9DBED6);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.sx-nav-link[b-6uzu6bj8mw]::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--sx-grad, linear-gradient(120deg, #18A8D8, #0878B8));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.sx-nav-link:hover[b-6uzu6bj8mw],
.sx-nav-link:focus-visible[b-6uzu6bj8mw],
.sx-nav-link.is-active[b-6uzu6bj8mw] {
    color: var(--sx-ice, #C8D8F8);
    background: rgba(56, 152, 216, 0.08);
    outline: none;
}

.sx-nav-link:hover[b-6uzu6bj8mw]::after,
.sx-nav-link:focus-visible[b-6uzu6bj8mw]::after,
.sx-nav-link.is-active[b-6uzu6bj8mw]::after {
    transform: scaleX(1);
}

/* Acciones */
.sx-nav-actions[b-6uzu6bj8mw] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sx-btn[b-6uzu6bj8mw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-family: var(--sx-font, 'Raleway', system-ui, sans-serif);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.sx-btn-primary[b-6uzu6bj8mw] {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--sx-grad, linear-gradient(120deg, #18A8D8, #0878B8));
    border: 1px solid rgba(24, 168, 216, 0.4);
    box-shadow: 0 8px 26px rgba(8, 88, 152, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Recuadros interactivos del botón primario del navbar: rejilla digital
   + barrido de luz al pasar el cursor. Mismo patrón que en la landing. */
.sx-btn-primary[b-6uzu6bj8mw]::before,
.sx-btn-primary[b-6uzu6bj8mw]::after {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0;
    transform: translate3d(0, 10%, 0);
    filter: blur(1px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.sx-btn-primary[b-6uzu6bj8mw]::after {
    inset: -12%;
    background-image:
        linear-gradient(90deg, rgba(24, 168, 216, 0.6) 10%, transparent 40%, rgba(8, 120, 184, 0.55) 70%, transparent 100%),
        repeating-linear-gradient(
            135deg,
            rgba(24, 168, 216, 0.5) 0,
            rgba(24, 168, 216, 0.5) 2px,
            transparent 2px,
            transparent 6px
        );
    background-size: 180% 180%;
    transform: translate3d(-80%, 0, 0);
}

.sx-btn-primary[b-6uzu6bj8mw]::before {
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(24, 168, 216, 0.45) 0,
            rgba(24, 168, 216, 0.45) 4px,
            transparent 4px,
            transparent 8px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(56, 152, 216, 0.4) 0,
            rgba(56, 152, 216, 0.4) 4px,
            transparent 4px,
            transparent 8px
        );
    background-size: 120% 120%;
}

.sx-btn-primary:hover[b-6uzu6bj8mw],
.sx-btn-primary:focus-visible[b-6uzu6bj8mw] {
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(8, 88, 152, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    outline: none;
    color: #ffffff;
}

.sx-btn-primary:hover[b-6uzu6bj8mw]::before,
.sx-btn-primary:focus-visible[b-6uzu6bj8mw]::before {
    opacity: 1;
    animation: sxNavBtnGrid-b-6uzu6bj8mw 900ms ease-out forwards 80ms;
}

.sx-btn-primary:hover[b-6uzu6bj8mw]::after,
.sx-btn-primary:focus-visible[b-6uzu6bj8mw]::after {
    opacity: 1;
    animation: sxNavBtnSweep-b-6uzu6bj8mw 1100ms ease-out forwards 140ms;
}

.sx-btn-sm[b-6uzu6bj8mw] {
    height: 40px;
    padding: 0 18px;
    font-size: 0.8rem;
}

/* Centrado del glifo dentro de los íconos del navbar: el contenedor
   flex del CTA y los botones centran el glifo en ambos ejes. */
.sx-nav i.bi[b-6uzu6bj8mw] {
    line-height: 1;
    font-style: normal;
}

/* Hamburguesa */
.sx-nav-burger[b-6uzu6bj8mw] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--sx-line, rgba(56, 152, 216, 0.16));
    border-radius: 10px;
    cursor: pointer;
}

.sx-nav-burger span[b-6uzu6bj8mw] {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--sx-ice, #C8D8F8);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.sx-nav-burger.is-open span:nth-child(1)[b-6uzu6bj8mw] {
    transform: translateY(7px) rotate(45deg);
}

.sx-nav-burger.is-open span:nth-child(2)[b-6uzu6bj8mw] {
    opacity: 0;
}

.sx-nav-burger.is-open span:nth-child(3)[b-6uzu6bj8mw] {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil */
.sx-nav-mobile[b-6uzu6bj8mw] {
    position: absolute;
    top: var(--sx-nav-h, 76px);
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(4, 16, 31, 0.92);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--sx-line, rgba(56, 152, 216, 0.16));
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(2, 11, 22, 0.7);
    animation: sxNavMobileIn-b-6uzu6bj8mw 0.28s ease both;
}

@keyframes sxNavMobileIn-b-6uzu6bj8mw {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sx-nav-mobile-link[b-6uzu6bj8mw] {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sx-text, #EAF4FC);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sx-nav-mobile-link:hover[b-6uzu6bj8mw] {
    background: rgba(56, 152, 216, 0.1);
    color: var(--sx-cyan, #18A8D8);
}

.sx-nav-mobile-divider[b-6uzu6bj8mw] {
    height: 1px;
    margin: 8px 4px;
    background: var(--sx-line, rgba(56, 152, 216, 0.16));
}

.sx-nav-mobile-cta[b-6uzu6bj8mw] {
    height: 46px;
    font-size: 0.88rem;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sx-nav-links[b-6uzu6bj8mw],
    .sx-nav-cta[b-6uzu6bj8mw] {
        display: none;
    }

    .sx-nav-burger[b-6uzu6bj8mw] {
        display: flex;
    }
}

@media (max-width: 575.98px) {
    .sx-container[b-6uzu6bj8mw] {
        padding: 0 16px;
    }

    .sx-nav-brand-tag[b-6uzu6bj8mw] {
        display: none;
    }

    .sx-nav-logo[b-6uzu6bj8mw] {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sx-nav-mobile[b-6uzu6bj8mw] {
        animation: none;
    }

    .sx-nav-link[b-6uzu6bj8mw]::after,
    .sx-nav-burger span[b-6uzu6bj8mw] {
        transition: none;
    }

    .sx-btn-primary[b-6uzu6bj8mw]::before,
    .sx-btn-primary[b-6uzu6bj8mw]::after {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* Rejilla digital del botón primario del navbar */
@keyframes sxNavBtnGrid-b-6uzu6bj8mw {
    0% {
        opacity: 0;
        transform: translate3d(0, 20%, 0) scale(0.96);
        filter: blur(3px);
    }
    40% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 0.4;
        transform: translate3d(0, -10%, 0) scale(1.1);
        filter: blur(3px);
    }
}

/* Barrido de luz del botón primario del navbar */
@keyframes sxNavBtnSweep-b-6uzu6bj8mw {
    0% {
        opacity: 0;
        transform: translate3d(-90%, 0, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
}
/* /Presentation/Components/Shared/SurosScrollNavigator.razor.rz.scp.css */
.scroll-nav[b-0lshk0fqyl] {
    position: fixed;
    right: 1.6%;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    background: radial-gradient(circle at 30% 0%, rgba(46, 168, 255, 0.18), rgba(0, 12, 32, 0.9));
    border: 1px solid rgba(151, 206, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .45), 0 0 22px rgba(46, 168, 255, .35);
    z-index: 11000;
    pointer-events: auto !important;
    backdrop-filter: blur(6px);
}

.btn-scroll[b-0lshk0fqyl] {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(151, 206, 255, 0.65);
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
        rgba(8, 30, 58, 0.6);
    color: #9bd6ff;
    box-shadow: 0 8px 18px rgba(0,0,0,.35), 0 0 16px rgba(46,168,255,.25);
    transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease, color 180ms ease;
    cursor: pointer;
    pointer-events: auto !important;
}

.btn-scroll i[b-0lshk0fqyl] {
    font-size: 26px;
}

.btn-scroll:hover:not(:disabled)[b-0lshk0fqyl] {
    transform: translateY(-1px) scale(1.05);
    color: #cfeaff;
    box-shadow: 0 12px 26px rgba(0,0,0,.45), 0 0 20px rgba(46,168,255,.45);
}

.btn-scroll:active:not(:disabled)[b-0lshk0fqyl] {
    transform: translateY(0) scale(0.98);
}

.btn-scroll:disabled[b-0lshk0fqyl] {
    opacity: 0.45;
    cursor: default;
    filter: grayscale(0.2);
}

.scroll-divider[b-0lshk0fqyl] {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(151,206,255,0), rgba(151,206,255,0.6), rgba(151,206,255,0));
}

@media (max-width: 900px) {
    .scroll-nav[b-0lshk0fqyl] {
        right: 1%;
        transform: translateY(-50%) scale(0.9);
    }
    .btn-scroll[b-0lshk0fqyl] {
        width: 46px;
        height: 46px;
    }
}
/* /Presentation/Components/Shared/SurosTechStackShowcase.razor.rz.scp.css */
.suros-tech-wrapper[b-n9rq6ysrg2] {
    grid-column: 2;
    justify-self: start;
    margin: 1.5rem auto 0 0;
    max-width: 1120px;
}

.suros-tech-card[b-n9rq6ysrg2] {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(480px, 1.4fr);
    align-items: stretch;
    gap: 2.25rem;
    padding: 2rem 2.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.88));
    box-shadow:
        0 24px 55px rgba(2, 6, 23, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.7);
    position: relative;
    overflow: hidden;
}

.suros-tech-card[b-n9rq6ysrg2]::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.38), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.24), transparent 60%);
    opacity: 0.22;
    pointer-events: none;
}

.suros-tech-card[b-n9rq6ysrg2]::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
    filter: blur(16px);
    opacity: 0.45;
    transform: translate3d(30%, -40%, 0);
    mix-blend-mode: screen;
    pointer-events: none;
}

.suros-tech-intro[b-n9rq6ysrg2] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.suros-tech-pill[b-n9rq6ysrg2] {
    align-self: flex-start;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.suros-tech-title[b-n9rq6ysrg2] {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0;
}

.suros-tech-text[b-n9rq6ysrg2] {
    margin: 0;
    font-size: 0.98rem;
    color: #e5e7eb;
}

.suros-tech-subtext[b-n9rq6ysrg2] {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.suros-tech-list[b-n9rq6ysrg2] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 1.25rem;
}

.suros-tech-item[b-n9rq6ysrg2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.suros-tech-icon[b-n9rq6ysrg2] {
    width: 46px;
    height: 46px;
    border-radius: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 0, #38bdf8, #2563eb);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.6);
    color: #f9fafb;
}

.suros-tech-icon i[b-n9rq6ysrg2] {
    font-size: 1.25rem;
}

.suros-tech-meta[b-n9rq6ysrg2] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.suros-tech-name[b-n9rq6ysrg2] {
    font-size: 0.92rem;
    font-weight: 600;
}

.suros-tech-role[b-n9rq6ysrg2] {
    font-size: 0.8rem;
    color: #9ca3af;
}

.suros-tech-bar[b-n9rq6ysrg2] {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.suros-tech-bar-fill[b-n9rq6ysrg2] {
    --fill: 0.9;
    position: absolute;
    inset: 0;
    width: calc(var(--fill) * 100%);
    background: linear-gradient(90deg, #38bdf8, #6366f1, #033474);
    border-radius: inherit;
    transform-origin: left center;
    transform: scaleX(1);
    opacity: 0.96;
}

@media (max-width: 1024px) {
    .suros-tech-card[b-n9rq6ysrg2] {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.5rem;
    }

    .suros-tech-list[b-n9rq6ysrg2] {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .suros-tech-wrapper[b-n9rq6ysrg2] {
        grid-column: 1;
        margin-inline: 0;
    }

    .suros-tech-card[b-n9rq6ysrg2] {
        border-radius: 1.25rem;
    }

    .suros-tech-list[b-n9rq6ysrg2] {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 1rem;
    }

    .suros-tech-title[b-n9rq6ysrg2] {
        font-size: 1.5rem;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .suros-tech-text[b-n9rq6ysrg2],
    .suros-tech-subtext[b-n9rq6ysrg2] {
        max-width: none;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}
/* /Presentation/Components/Shared/SurosToast.razor.rz.scp.css */
/* ── Toast de respuesta de acciones — patrón inst-toast del sistema ──
   Punto de anclaje: el toast se posiciona a la izquierda de este ancla,
   que va dentro del grupo de acciones del header del panel. */
.suros-toast-anchor[b-d9h9ktgqec] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.inst-toast[b-d9h9ktgqec] {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 520px;
    /* Por encima de modales (2055/2054) para que nunca quede oculto tras ellos */
    z-index: 2060;
}

.inst-toast i[b-d9h9ktgqec] {
    font-size: 0.8rem;
}

/* Mensajes largos: se truncan con puntos suspensivos en lugar de desbordar. */
.inst-toast span[b-d9h9ktgqec] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.inst-toast-success[b-d9h9ktgqec] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.inst-toast-success i[b-d9h9ktgqec] {
    color: #059669;
}

.inst-toast-error[b-d9h9ktgqec] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.inst-toast-error i[b-d9h9ktgqec] {
    color: #dc2626;
}

.inst-toast-warning[b-d9h9ktgqec] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.inst-toast-warning i[b-d9h9ktgqec] {
    color: #d97706;
}

/* ── Animación de salida del toast (conserva el centrado vertical) ── */
.notif-fade-out[b-d9h9ktgqec] {
    animation: notifFadeOut-b-d9h9ktgqec 0.3s ease forwards;
}

@keyframes notifFadeOut-b-d9h9ktgqec {
    from { opacity: 1; }
    to { opacity: 0; }
}
