/* Shell is unlayered and authoritative. Legacy project styles have lower priority. */
@layer globaltrainer{
    /* Font Awesome no está en esta capa y fija display:var(--fa-display,inline-block) en los <i>;
   por eso las reglas de iconos repiten su display en --fa-display. */
    /* GlobalTrainer: estilos propios fuera del shell Core. */
    /* Pages/GestionRecuperacion.razor.css */
    /* Recuperación: modal amplio y usable */
    /* SearchableSelect es componente hijo: ::deep es necesario con CSS isolation. */
    /* La X debe quedar siempre visible en la esquina superior derecha. */
    /* Pages/MarcacionAsistenciaEmpleado.razor.css */
    /* Pages/GestionTipoCuentaEgresos.razor.css */
    /* Pages/GestionAsignacionPolo.razor.css */
    /* Pages/GestionEstadoMatricula.razor.css */
    /* Pages/GestionModuloEducativo.razor.css */
    /* Pages/GestionResultados.razor.css */
    /* Pages/GestionMarcacionEmpleado.razor.css */
    /* Pages/GestionMatricula.razor.css */
    /* Los filtros de mantenedores y fecha conservan la altura compacta de la grilla. */
    /* GLOBALTRAINER_MATRICULA_FILTROS_GLOBAL_MOBILE_V2_CSS_20260921
   Desktop conserva la fila de filtros; móvil usa un panel accesible fuera de la tabla horizontal. */
    /* Pages/GestionAgendamientoPracticaVehicular.razor.css */
    /* Pages/GestionMaterialClase.razor.css */
    /* Pages/GestionPagos.razor.css */
    /* =========================================================
   Acciones de comprobantes
   - Iconos explÃ­citos dentro del botÃ³n: evita pÃ©rdidas de glyph
     al aplicar las clases Font Awesome directamente al <button>.
   - Espacio fijo para las siete acciones del flujo original.
   ========================================================= */
    /* =========================================================
   Funciones 2–15: filtros, paginación, descuentos y popups
   ========================================================= */
    /* Sobrescribe el max-width global de gxModal para los popups amplios. */
    /* Ajustes GlobalTrainer — Gestión de Pagos */
    /* ==================================================================
   GESTIÓN DE PAGOS · FORMULARIO DE COBRO CLÁSICO
   Replica la jerarquía visual del formulario WebForms:
   conceptos → datos del pago → subtotal/IGV → total.
   ================================================================== */
    /* =========================================================
   CANON VISUAL GLOBALTRAINER
   Alinea Gestión de pagos con GestionCliente:
   - toolbar con btn-icon;
   - acciones de tabla con btn2/gvCmdBtn;
   - sin colores particulares por módulo.
   ========================================================= */
    /* Paridad con grilla Framework: Sede, Promoción, Kit y Producto visibles. */
    /* Los filtros de mantenedores y fecha conservan la altura compacta de la grilla. */
    /* Resalta visualmente el campo "Monto a pagar" cuando el pago es parcial */
    @keyframes gp-pulse-highlight-b-1t98u58eip{
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}
    /* =========================================================
   CHECKBOX PREMIUM — Gestión de pagos
   Reemplaza el checkbox nativo por uno custom, más grande,
   con animación de check y acento de marca.
   ========================================================= */
    @keyframes gp-check-pop-b-1t98u58eip{
       from { transform: rotate(45deg) scale(.4); opacity: 0; }
       to   { transform: rotate(45deg) scale(1); opacity: 1; }
   }
    /* Pages/GestionPostulante.razor.css */
    /* Pages/GestionAsignacionEPP.razor.css */
    /* Pages/GestionCertificadosEntregados.razor.css */
    /* Pages/SimuladorAulaVirtual.razor.css */
    /* Pages/ReporteVehiculoPractica.razor.css */
    /* Pages/GestionEmpresa.razor.css */
    /* Pages/ReporteCertificados.razor.css */
    /* Pages/GestionPeriodo.razor.css */
    /* Pages/GestionUsuariosClientes.razor.css */
    /* Pages/GestionConcepto.razor.css */
    /* Pages/GestionCuentaEgresos.razor.css */
    /* Pages/GestionPromocion.razor.css */
    /* Pages/ImpresionCertificado.razor.css */
    /* Pages/GestionComprobantes.razor.css */
    /* Menú de acciones fuera del contenedor con overflow de la tabla. */
    /* Pages/GestionVideo.razor.css */
    /* Pages/GestionVentas.razor.css */
    /* Pages/GestionEmpleado.razor.css */
    /* Pages/GestionAsignacionSeguro.razor.css */
    /* Pages/GestionProducto.razor.css */
    /*
   Los botones reutilizan exactamente el contrato visual global:
   gvCmdBtn + btn2 + btn-modify / btn-delete / btn-success / btn-view.
   No se redefinen colores ni tamaños locales.
*/
    /* Pages/FacturacionElectronicaDashboard.razor.css */
    /* Pages/GestionMuro.razor.css */
    /* Pages/GestionCliente.razor.css */
    /* =====================================================================
   GESTIÓN DE CLIENTES — INTEGRACIÓN VISUAL CON EL TEMPLATE ADMINISTRATIVO
   ===================================================================== */
    /* Encabezado de página */
    /* Contenedor principal */
    /* Filtros */
    /* Tabla */
    /* =====================================================================
   VISTA RÁPIDA — CONDICIÓN Y CONTACTO DE EMERGENCIA
   El detalle se consulta únicamente al pulsar el badge.
   ===================================================================== */
    /* =====================================================================
   MODAL PREMIUM
   Se respetan gxModal, data-popup-panel y data-popup-header.
   ===================================================================== */
    /* Sobrescribe cualquier regla heredada que pinte el encabezado de negro. */
    /* El botón cerrar pertenece al encabezado, no debe quedar en flujo vertical. */
    /* El botón maximizar es inyectado por shell.js y no recibe atributo b-*.
   ::deep es obligatorio para alcanzarlo desde CSS isolation. */
    /* Auditoría */
    /* Pestañas */
    /* Secciones */
    /* =====================================================================
   CAMPOS GENERADOS POR RenderTreeBuilder
   Esos nodos no reciben b-xxxx. Todas las reglas deben anclarse a un
   elemento literal que sí tenga el scope: .gc-modal-body.
   ===================================================================== */
    /* Documento / RUC con botón de búsqueda */
    /* SearchableSelect */
    /* Emergencia y condición */
    /* Tema oscuro */
    /* Responsive */
    /* =====================================================================
   NORMALIZACIÓN FINAL CON EL ESTÁNDAR GLOBAL DEL TEMPLATE
   shell.css define:
     .form-control, .form-select, .btn { height: 40px; }
   Esta sección evita que controles nativos o estilos del navegador
   cambien la altura y conserva el mismo ritmo visual en todo el formulario.
   ===================================================================== */
    /* El trigger de SearchableSelect ya usa form-control. Se neutralizan
   reglas internas que pudieran alterar su altura. */
    /* =====================================================================
   SEMÁFORO COMERCIAL DE CLIENTES
   Recupera el comportamiento del formulario WebForms original:
   T = TOP (ámbar), C = CLIENTE (turquesa), F = REGULAR (gris).
   ===================================================================== */
    /* Acento de fila: la barra vive solo en el primer td, nunca en todos. */
    /* =====================================================================
   PUENTE DE SCROLL PARA EditForm
   El shell define el scroll en .gxModal__body, pero EditForm genera un
   <form> intermedio. Ese form debe continuar la cadena flex del modal.
   ===================================================================== */
    /* EditForm renderiza este nodo como <form class="gc-modal-form">. */
    /* Header y footer nunca deben encogerse. */
    /* Única zona desplazable del popup. */
    /* Si shell.js maximiza o asigna una altura inline al panel,
   toda la cadena interna ocupa esa altura y conserva el scroll. */
    /* Barra discreta, coherente con el shell. */
    /* Los filtros de mantenedores y fecha conservan la altura compacta de la grilla. */
    /* Pages/ReporteMarcacionAsistencia.razor.css */
    /* Pages/Dashboard.razor.css */
    /* Pages/GestionVehiculoPractica.razor.css */
    /* Pages/GestionBalotario.razor.css */
    /* Pages/GestionCertificado.razor.css */
    /* Pages/ConsultarNumeroOperacion.razor.css */
    /* Pages/GestionEvaluacion.razor.css */
    /* Pages/RegularizacionComprobantes.razor.css */
    /* Components/Security/PortalRouteGuard.razor.css */
    @keyframes portal-guard-spin-b-npwxdmc66n{
    to { transform: rotate(360deg); }
}
    /* Components/Reportes/IngresosTable.razor.css */
    /* =========================================================
   GLOBALTRAINER — REPORTES DE INGRESOS / FILTROS GLOBALES
   Las opciones se construyen con todas las filas del grid.
   El footer totaliza todas las filas filtradas, no la página.
   ========================================================= */
    /* Components/Dashboard/DashboardHeatmap.razor.css */
    /* Components/Dashboard/DashboardCertFunnel.razor.css */
    /* Components/Dashboard/DashboardMetricList.razor.css */
    /* Components/Dashboard/DashboardRanking.razor.css */
    /* Components/Dashboard/DashboardSegmented.razor.css */
    .gt-inline-84c17a6c70d6{display:flex}
    .gt-inline-579b1af212eb{max-width:520px}
    .gt-inline-905008530ca9{text-align:center}
    .gt-inline-49d89bbf02c3{font-size:calc(34px * var(--fs-escala))}
    .gt-inline-22c8dfe86002{display:flex;}
    .gt-inline-a277c0166bed{grid-column:1 / -1;}
    .gt-inline-92c18f6bdac1{margin-top:16px}
    .gt-inline-7c3b052fb8fd{align-items:end;flex-wrap:wrap}
    .gt-inline-2d2038de80ea{display:flex;gap:8px;align-items:center;padding-bottom:10px}
    .gt-inline-66ee08ff0461{width:min(900px,96vw);max-width:min(900px,96vw)}
    .gt-inline-71e6f32ace76{margin:0 0 1rem;}
    .gt-inline-d5155bd5b520{display:block;width:100%;margin:.5rem 0;}
    .gt-select-compat{border:0;padding:0;margin:0;min-width:0;}
    /* GlobalTrainer shared layouts from the previous shell */
    .gt-page{display:grid;gap:1rem;padding-bottom:2rem}
    .gt-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
    .gt-head p{margin:.35rem 0 0;color:var(--text-muted)}
    .gt-card .card-body{padding:1rem}
    .gt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}
    .gt-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}
    .gt-tabs button{padding:.55rem .9rem;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-weight:800}
    .gt-tabs button.active{background:var(--p-soft);color:var(--p-text);}
    .gt-search{position:relative;flex:1}
    .gt-search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-muted)}
    .gt-search input{min-height:44px;padding-left:42px;border-radius:11px}
    .gt-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px}
    .gt-actions{display:flex;gap:7px;white-space:nowrap}
    .gt-actions .gvCmdBtn{margin:0}
    .gt-badge{display:inline-flex;padding:.25rem .58rem;border-radius:999px;font-size:.7rem;font-weight:850}
    .gt-badge.ok{background:var(--success-bg);color:var(--success)}
    .gt-badge.off{background:var(--danger-bg);color:var(--danger)}
    .gt-badge.warn{background:var(--warning-bg);color:var(--warning)}
    .gt-modal{width:min(820px,95vw);max-width:min(820px,95vw)}
    .gt-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
    .gt-field.span-2{grid-column:span 2}
    .gt-field label{display:block;margin-bottom:.3rem;font-size:.77rem;font-weight:800}
    .gt-field .form-control, .gt-field .form-select{min-height:43px;border-radius:10px}
    .gt-empty{padding:3rem;text-align:center;color:var(--text-muted)}
    .gt-loading{display:grid;min-height:320px;place-content:center;justify-items:center;gap:.6rem}
    .gt-notice{padding:.75rem .9rem;border-radius:12px}
    .gt-notice.success{background:var(--success-bg);color:var(--success)}
    .gt-notice.error{background:var(--danger-bg);color:var(--danger)}
    .gt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
    .gt-stat{padding:.9rem 1rem;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text)}
    .gt-stat small, .gt-stat strong{display:block}
    .gt-stat small{color:var(--text-muted)}
    .gt-stat strong{font-size:1.25rem}
    @media(max-width:760px){
        .gt-head, .gt-toolbar{align-items:stretch;flex-direction:column}
        .gt-form, .gt-stats{grid-template-columns:1fr}
        .gt-field.span-2{grid-column:auto}
    }
    .gt-page{display:grid;gap:1rem;padding-bottom:2rem}
    .gt-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
    .gt-head p{margin:.35rem 0 0;color:var(--text-muted)}
    .gt-card .card-body{padding:1rem}
    .gt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}
    .gt-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}
    .gt-tabs button{padding:.55rem .9rem;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-weight:800}
    .gt-tabs button.active{background:var(--p-soft);color:var(--p-text);}
    .gt-search{position:relative;flex:1}
    .gt-search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-muted)}
    .gt-search input{min-height:44px;padding-left:42px;border-radius:11px}
    .gt-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px}
    .gt-actions{display:flex;gap:7px;white-space:nowrap}
    .gt-actions .gvCmdBtn{margin:0}
    .gt-badge{display:inline-flex;padding:.25rem .58rem;border-radius:999px;font-size:.7rem;font-weight:850}
    .gt-badge.ok{background:var(--success-bg);color:var(--success)}
    .gt-badge.off{background:var(--danger-bg);color:var(--danger)}
    .gt-badge.warn{background:var(--warning-bg);color:var(--warning)}
    .gt-modal{width:min(820px,95vw);max-width:min(820px,95vw)}
    .gt-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
    .gt-field.span-2{grid-column:span 2}
    .gt-field label{display:block;margin-bottom:.3rem;font-size:.77rem;font-weight:800}
    .gt-field .form-control, .gt-field .form-select{min-height:43px;border-radius:10px}
    .gt-empty{padding:3rem;text-align:center;color:var(--text-muted)}
    .gt-loading{display:grid;min-height:320px;place-content:center;justify-items:center;gap:.6rem}
    .gt-notice{padding:.75rem .9rem;border-radius:12px}
    .gt-notice.success{background:var(--success-bg);color:var(--success)}
    .gt-notice.error{background:var(--danger-bg);color:var(--danger)}
    .gt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
    .gt-stat{padding:.9rem 1rem;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text)}
    .gt-stat small, .gt-stat strong{display:block}
    .gt-stat small{color:var(--text-muted)}
    .gt-stat strong{font-size:1.25rem}
    @media(max-width:760px){
        .gt-head, .gt-toolbar{align-items:stretch;flex-direction:column}
        .gt-form, .gt-stats{grid-template-columns:1fr}
        .gt-field.span-2{grid-column:auto}
    }
    .gt-table td small{display:block;color:var(--text-muted)}
    /* Gestión de vehículos: los estilos admin-* existentes están limitados a las páginas de
   práctica vehicular ([b-tako5a3l2f]); se aplican aquí acotados a esta página. */
    .vehiculo-page{display:grid;gap:16px}
    .vehiculo-page .admin-hero, .vehiculo-page .admin-card{background:var(--surface);border:1px solid var(--border);border-radius:16px}
    .vehiculo-page .admin-hero{padding:22px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
    .vehiculo-page .admin-hero h1{margin:4px 0 5px;font-size:clamp(25px,2vw,34px)}
    .vehiculo-page .admin-hero p{margin:0;color:var(--text-muted)}
    .vehiculo-page .admin-eyebrow{font-size:var(--fs-xs);font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--primary)}
    .vehiculo-page .admin-card{padding:15px}
    .vehiculo-page .admin-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
    .vehiculo-page .admin-toggle{display:flex;background:var(--surface-2);padding:4px;border-radius:12px}
    .vehiculo-page .admin-toggle button{border:0;background:transparent;padding:9px 14px;border-radius:9px;font-weight:800;color:var(--text-muted)}
    .vehiculo-page .admin-toggle button.active{background:var(--surface);color:var(--text)}
    .vehiculo-page .admin-filter{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px;align-items:center}
    .vehiculo-page .admin-empty{min-height:220px;display:grid;place-content:center;justify-items:center;color:var(--text-muted);gap:9px}
    .vehiculo-modal .editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .vehiculo-modal .editor-field{display:grid;gap:6px}
    .vehiculo-modal .editor-field.full{grid-column:1/-1}
    .vehiculo-modal .editor-field label{font-size:var(--fs-xs);font-weight:850;text-transform:uppercase;color:var(--text-muted)}
    @media(max-width:720px){
        .vehiculo-page .admin-hero{padding:17px;flex-direction:column;align-items:stretch}
        .vehiculo-modal .editor-grid{grid-template-columns:1fr}
        .vehiculo-page .admin-filter{width:100%;grid-template-columns:minmax(0,1fr) auto}
    }
}
/* Icono dentro de las cajas de búsqueda de Comprobantes, Producto y Pagos. Fuera de la capa
   porque shell.css (sin capa) fija el padding de .form-control y anulaba la separación. */
.gc-search-input > .form-control{padding-left:2.45rem;}
.gpr-search > .form-control{padding-left:41px;}
.gp-search-input > .form-control{padding-left:42px;padding-right:42px;}
/* New calendar component, scoped exclusively to .gt-date; no Core class overrides. */
.gt-date{position:fixed;z-index:2147483000;width:min(368px,calc(100vw - 16px));box-sizing:border-box;padding:18px;border:1px solid var(--border);border-top:3px solid var(--p);border-radius:20px;background:var(--surface);color:var(--text);font-family:inherit;overflow:auto;overscroll-behavior:contain;}
.gt-date *{box-sizing:border-box;}
.gt-date__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.gt-date__eyebrow{display:block;font-size:var(--fs-2xs);font-weight:800;letter-spacing:.12em;color:var(--p-text);margin-bottom:3px;}
.gt-date__label{display:block;font-size:var(--fs-lg);font-weight:750;line-height:1.3;overflow-wrap:anywhere;}
.gt-date__button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--text);font:inherit;font-size:var(--fs-md);font-weight:650;line-height:1;cursor:pointer;touch-action:manipulation;}
.gt-date__button:hover:not(:disabled){background:color-mix(in srgb,var(--p) 10%,var(--surface));color:var(--p-text);}
.gt-date__button:focus-visible, .gt-date select:focus-visible, .gt-date input:focus-visible{outline:2px solid var(--p);outline-offset:2px;}
.gt-date__button:disabled{opacity:.35;cursor:default;}
.gt-date__close{font-size:var(--fs-4xl);width:36px;min-height:36px;padding:0;flex-shrink:0;background:var(--surface-2);}
.gt-date__nav{display:grid;grid-template-columns:36px minmax(0,1fr) 76px 36px;align-items:center;gap:5px;padding:7px 0 12px;}
.gt-date__arrow{padding:0;font-size:var(--fs-5xl);min-height:36px;}
.gt-date__month, .gt-date__year{width:100%;min-width:0;height:38px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font-family:inherit;font-size:var(--fs-base);font-weight:700;padding:5px 7px;color-scheme:inherit;}
.gt-date__week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-bottom:3px;}
.gt-date__weekday{padding:8px 0;text-align:center;color:var(--text-muted);font-size:var(--fs-xs);font-weight:750;}
.gt-date__day{position:relative;min-width:0;min-height:42px;padding:0;font-size:var(--fs-base);font-variant-numeric:tabular-nums;font-weight:600;}
.gt-date__day.is-outside{color:var(--text-muted);font-weight:400;}
.gt-date__day.is-today{border-color:color-mix(in srgb,var(--p) 50%,var(--border));color:var(--p-text);font-weight:800;}
.gt-date__day.is-selected, .gt-date__day.is-selected:hover:not(:disabled){background:var(--p);border-color:var(--p-text);color: var(--on-p);font-weight:800;}
.gt-date__footer{display:flex;align-items:center;gap:7px;padding-top:12px;border-top:1px solid var(--border);}
.gt-date__today{color:var(--p-text);background:color-mix(in srgb,var(--p) 9%,var(--surface));}
.gt-date__clear{color:var(--text-muted);margin-right:auto;}
.gt-date__apply{background:var(--p);color: var(--on-p);}
.gt-date__apply:hover:not(:disabled){background:var(--p);color: var(--on-p);filter:brightness(1.08);}
.gt-date__time{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 4px;font-size:var(--fs-md);font-weight:700;}
.gt-date__time input{min-height:40px;max-width:160px;border:1px solid var(--border);border-radius:10px;padding:5px 10px;background:var(--surface-2);color:var(--text);font-family:inherit;font-size:var(--fs-lg);}
.gt-date__error{margin:8px 0;color:var(--danger);font-size:var(--fs-sm);line-height:1.4;}
.gt-date__error:empty{margin:6px 0;}
[data-theme="dark"] .gt-date{color-scheme:dark;}
@media(max-width:380px){
    .gt-date{padding:12px;border-radius:16px;}
    .gt-date__day{min-height:38px;}
    .gt-date__nav{grid-template-columns:32px minmax(0,1fr) 70px 32px;gap:3px;}
}
/* GlobalTrainer dashboard components: project-only selectors, no Core overrides. */
.gt-income-card .principal-section-title, .fe-dash-card .principal-section-title{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.gt-income-card .principal-section-title>div, .fe-dash-card .principal-section-title>div{min-width:0}
.gt-income-card .principal-section-title h3, .fe-dash-card .principal-section-title h3{margin:4px 0 0;font-size:var(--fs-2xl);font-weight:750;line-height:1.35;color:var(--text)}
.gt-income-card .principal-section-title>a, .fe-dash-card .principal-section-title>a{flex-shrink:0;align-self:center;color:var(--p-text);font-size:var(--fs-sm);font-weight:700;text-decoration:none}
.gt-income-card .principal-section-title>a:hover, .fe-dash-card .principal-section-title>a:hover{text-decoration:underline}
.principal-bars{display:grid;gap:14px;min-width:0;padding:4px 0}
.principal-bars>div{display:grid;grid-template-columns:52px minmax(0,1fr) minmax(78px,max-content);align-items:center;gap:14px;font-size:var(--fs-sm);line-height:1.5;min-width:0}
.principal-bars>div>span{color:var(--text-muted);font-variant-numeric:tabular-nums}
.principal-bars>div>i{display:block;--fa-display:block;height:10px;min-width:2px;max-width:100%;border-radius:99px;background:color-mix(in srgb, var(--p) 40%, transparent)}
/* Solo la barra del día (la última) va en color sólido: comunica "hoy". */
.principal-bars>div:last-child>i{background:var(--p)}
.principal-bars>div>strong{text-align:right;color:var(--text);font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}
.fe-dash-card .principal-loading{display:grid;min-height:100px;place-content:center;color:var(--text-muted);font-size:var(--fs-md)}
@media(max-width:600px){
    .principal-bars>div{grid-template-columns:42px minmax(0,1fr) 76px;gap:8px;font-size:var(--fs-xs)}
    .principal-bars{gap:12px}
    .gt-income-card .principal-section-title, .fe-dash-card .principal-section-title{gap:8px;margin-bottom:14px}
}
/* Shared administrative styles restored after Core migration, 2026-10-22. */
.cad-page{display: grid;
    gap: 1rem;
    padding-bottom: 2rem;}
.cad-head{display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;}
.cad-head p{margin: .35rem 0 0;
    color: var(--text-muted, var(--info));}
.cad-card{overflow: hidden;
    border: 1px solid var(--border, var(--surface-2));
    border-radius: 18px;
    background: var(--surface, var(--surface));}
.cad-card .card-body{padding: 1rem;}
.cad-toolbar{display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;}
.cad-tabs{display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border, var(--surface-2));
    border-radius: 12px;
    background: var(--surface-2, var(--surface));}
.cad-tabs button{padding: .55rem .9rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-muted, var(--info));
    font-weight: 800;}
.cad-tabs button.active{background: var(--surface, var(--surface));
    color: var(--text, var(--text));}
.cad-actions-top{display: flex;
    align-items: center;
    gap: .5rem;}
.cad-actions-top .btn{display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;}
.cad-search{position: relative;
    flex: 1;
    margin-bottom: .8rem;}
.cad-search i{position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--text-muted, var(--info));}
.cad-search input{min-height: 44px;
    padding-left: 42px;
    border-radius: 11px;}
.cad-table-wrap{overflow: auto;
    border: 1px solid var(--border, var(--surface-2));
    border-radius: 14px;}
.cad-table{min-width: 780px;
    margin: 0;}
.cad-table th{padding: .75rem;
    border: 0;
    background: var(--surface-2);
    color:var(--text-2);
    font-size: .72rem;
    letter-spacing: .04em;}
.cad-table td{padding: .75rem;
    vertical-align: middle;}
.cad-row-actions{display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;}
.cad-row-actions .gvCmdBtn{flex: 0 0 auto;
    margin: 0 ;}
.cad-badge{display: inline-flex;
    padding: .25rem .58rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 850;}
.cad-badge.active{background: var(--success-bg);
    color: var(--success);}
.cad-badge.inactive{background: var(--danger-bg);
    color: var(--danger);}
.cad-pagination{display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .8rem;
    color: var(--text-muted, var(--info));
    font-size: .8rem;}
.cad-pagination div{display: flex;
    align-items: center;
    gap: .35rem;}
.cad-pagination button{display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--border, var(--surface-2));
    border-radius: 9px;
    background: var(--surface, var(--surface));}
.cad-modal{width: min(720px, 94vw);
    max-width: min(720px, 94vw) ;}
.cad-form{display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;}
.cad-field.span-2, .cad-check.span-2{grid-column: span 2;}
.cad-field label{display: block;
    margin-bottom: .3rem;
    font-size: .77rem;
    font-weight: 800;}
.cad-field .form-control, .cad-field .form-select{min-height: 43px;
    border-radius: 10px;}
.cad-check{display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem;
    border: 1px solid var(--border, var(--surface-2));
    border-radius: 12px;}
.cad-check span, .cad-check strong, .cad-check small{display: block;}
.cad-check small{color: var(--text-muted, var(--info));}
.cad-audit{display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin-bottom: .9rem;}
.cad-audit div{padding: .7rem;
    border-radius: 11px;
    background: var(--surface-2, var(--surface));}
.cad-audit small, .cad-audit strong{display: block;}
.cad-audit small{color: var(--text-muted, var(--info));}
.cad-notice{display: flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem .9rem;
    border-radius: 12px;}
.cad-notice.error{background: var(--danger-bg);
    color: var(--danger);}
.cad-notice.success{background: var(--success-bg);
    color: var(--success);}
.cad-empty{padding: 3rem ;
    text-align: center;
    color: var(--text-muted, var(--info));}
.cad-loading{display: grid;
    min-height: 320px;
    place-content: center;
    justify-items: center;
    gap: .6rem;}
@media (max-width: 720px){
    .cad-head, .cad-toolbar, .cad-pagination{align-items: stretch;
        flex-direction: column;}
    .cad-form, .cad-audit{grid-template-columns: 1fr;}
    .cad-field.span-2, .cad-check.span-2{grid-column: auto;}
    .cad-actions-top .btn{flex: 1;}
}
.rc-dialog{width:min(1420px,96vw);
    max-width:96vw;
    max-height:92vh;}
.rc-dialog .gxModal__content{max-height:92vh;
    display:flex;
    flex-direction:column;}
.rc-dialog .gxModal__body{overflow:auto;
    padding:22px 26px 28px;}
.rc-eyebrow{font-size:var(--fs-xs);
    font-weight:850;
    letter-spacing:.13em;
    text-transform:uppercase;
    color:var(--p);}
.rc-tabs{display:flex;
    gap:8px;
    overflow:auto;
    padding-bottom:14px;
    border-bottom:1px solid var(--border);
    margin-bottom:18px;
    scrollbar-width:thin;}
.rc-tabs button{display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text-muted);
    padding:9px 16px;
    border-radius:12px;
    white-space:nowrap;
    font-weight:750;
    transition:transform .18s ease,background .18s ease,color .18s ease;}
.rc-tabs button:hover{transform:translateY(-1px);
    color:var(--text);}
.rc-tabs button.active{background:var(--p);
    border-color:var(--p);
    color:var(--on-p);}
.rc-table-wrap{overflow:auto;
    max-height:58vh;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface);}
.rc-table{width:100%;
    border-collapse:collapse;
    min-width:760px;}
.rc-table th, .rc-table td{padding:11px 13px;
    border-bottom:1px solid var(--border);
    text-align:left;
    font-size:var(--fs-md);
    vertical-align:middle;}
.rc-table th{position:sticky;
    top:0;
    background:var(--surface-2);
    z-index:2;
    font-size:var(--fs-xs);
    text-transform:uppercase;
    letter-spacing:.055em;
    color:var(--text-muted);}
.rc-table tbody tr:last-child td{border-bottom:0;}
.rc-table tbody tr:hover td{background:color-mix(in srgb,var(--p) 4%,transparent);}
.rc-table .num{text-align:right;
    font-variant-numeric:tabular-nums;}
.rc-badge{display:inline-flex;
    padding:4px 9px;
    border-radius:999px;
    font-size:var(--fs-xs);
    font-weight:850;}
.rc-badge.ok{background:var(--success-bg);
    color:var(--success);}
.rc-badge.bad{background:var(--danger-bg);
    color:var(--danger);}
.rc-badge.warning{background:var(--warning-bg);
    color:var(--warning);}
.rc-badge.neutral{background:var(--surface-2);
    color:var(--text-muted);}
.rc-empty{min-height:220px;
    display:grid;
    place-content:center;
    justify-items:center;
    gap:10px;
    color:var(--text-muted);
    text-align:center;}
.rc-empty i{font-size:var(--fs-5xl);
    color:var(--p);}
.rc-empty strong{color:var(--text);}
.rc-empty span{max-width:560px;
    line-height:1.55;}
.rc-alert{display:flex;
    align-items:center;
    gap:9px;
    margin:0;}
.rc-results-head{display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;}
.rc-section-kicker{display:block;
    margin-bottom:4px;
    color:var(--p);
    font-size:var(--fs-xs);
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;}
.rc-results-head h6{margin:0 0 5px;
    color:var(--text);
    font-size:var(--fs-3xl);
    font-weight:850;}
.rc-results-head p{margin:0;
    color:var(--text-muted);
    line-height:1.5;}
.rc-module-count{display:inline-flex;
    align-items:center;
    gap:8px;
    flex:none;
    padding:8px 12px;
    border:1px solid var(--border);
    border-radius:999px;
    background:var(--surface-2);
    color:var(--text-muted);
    font-size:var(--fs-xs);
    font-weight:800;}
.rc-result-stats{display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-bottom:14px;}
.rc-result-stats article{display:flex;
    align-items:center;
    gap:12px;
    min-height:86px;
    padding:14px;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface);}
.rc-result-stats article>i{width:42px;
    height:42px;
    display:grid;--fa-display:grid;
    place-content:center;
    border-radius:12px;
    background:var(--surface-2);
    color:var(--p);
    font-size:var(--fs-2xl);}
.rc-result-stats article.evaluation>i{background:var(--p-soft);
    color:var(--p-text);}
.rc-result-stats article.ballot>i{background:var(--p-soft);
    color:var(--p-text);}
.rc-result-stats article div{display:grid;
    gap:1px;}
.rc-result-stats article span, .rc-result-stats article small{color:var(--text-muted);
    font-size:var(--fs-xs);}
.rc-result-stats article strong{color:var(--text);
    font-size:var(--fs-4xl);
    line-height:1;}
.rc-result-sections{display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;}
.rc-result-panel{min-width:0;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--surface);
    overflow:hidden;}
.rc-result-panel>header{display:flex;
    align-items:center;
    gap:11px;
    padding:14px 15px;
    border-bottom:1px solid var(--border);
    background:var(--surface-2);}
.rc-result-panel>header div:last-child{display:grid;
    gap:2px;}
.rc-result-panel>header span{color:var(--text);
    font-weight:850;}
.rc-result-panel>header strong{color:var(--text-muted);
    font-size:var(--fs-xs);
    font-weight:700;}
.rc-result-icon{width:38px;
    height:38px;
    display:grid;
    place-content:center;
    border-radius:11px;}
.rc-result-panel.evaluation .rc-result-icon{background:var(--p-soft);
    color:var(--p-text);}
.rc-result-panel.ballot .rc-result-icon{background:var(--p-soft);
    color:var(--p-text);}
.rc-result-table-wrap{max-height:390px;
    border:0;
    border-radius:0;}
.rc-result-table{min-width:590px;}
.rc-result-empty{min-height:220px;
    display:grid;
    place-content:center;
    justify-items:center;
    gap:7px;
    padding:24px;
    text-align:center;
    color:var(--text-muted);}
.rc-result-empty i{font-size:var(--fs-5xl);}
.rc-result-empty strong{color:var(--text);}
.rc-result-empty span{max-width:360px;
    font-size:var(--fs-sm);
    line-height:1.5;}
.rc-module-name{color:var(--text);
    font-weight:750;}
.rc-score{color:var(--text);
    font-size:var(--fs-base);}
.rc-attempt{display:inline-grid;
    min-width:28px;
    height:28px;
    place-content:center;
    border-radius:9px;
    background:var(--surface-2);
    color:var(--text);
    font-weight:850;}
.rc-empty-results{min-height:180px;
    margin-top:14px;
    border:1px dashed var(--border);
    border-radius:14px;
    background:var(--surface-2);}
@media(max-width:980px){
    .rc-result-sections{grid-template-columns:1fr;}
}
@media(max-width:760px){
    .rc-dialog{width:100%;
        max-width:100%;
        max-height:calc(100dvh - 12px);}
    .rc-dialog .gxModal__content{max-height:calc(100dvh - 12px);
        border-radius:18px;}
    .rc-dialog .gxModal__body{padding:15px 13px 20px;}
    .rc-tabs{margin-inline:-2px;}
    .rc-tabs button{min-height:40px;
        padding:8px 12px;}
    .rc-results-head{flex-direction:column;}
    .rc-result-stats{grid-template-columns:1fr;}
    .rc-table-wrap{max-height:none;}
}
.rc-practice-head{display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;}
.rc-practice-head h6{margin:0 0 5px;
    color:var(--text);
    font-size:var(--fs-3xl);
    font-weight:850;}
.rc-practice-head p{margin:0;
    color:var(--text-muted);
    line-height:1.5;}
.rc-practice-stats{display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-bottom:14px;}
.rc-practice-stats article{display:flex;
    align-items:center;
    gap:12px;
    min-height:86px;
    padding:14px;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface);}
.rc-practice-stats article>i{width:42px;
    height:42px;
    display:grid;--fa-display:grid;
    place-content:center;
    flex:none;
    border-radius:12px;
    background:var(--surface-2);
    color:var(--p);
    font-size:var(--fs-2xl);}
.rc-practice-stats article.sessions>i{background:var(--p-soft);
    color:var(--p-text);}
.rc-practice-stats article.evaluated>i{background:var(--success-bg);
    color:var(--success);}
.rc-practice-stats article.upcoming>i{background:var(--warning-bg);
    color:var(--warning);}
.rc-practice-stats article div{display:grid;
    gap:2px;
    min-width:0;}
.rc-practice-stats article span, .rc-practice-stats article small{overflow:hidden;
    color:var(--text-muted);
    font-size:var(--fs-xs);
    text-overflow:ellipsis;
    white-space:nowrap;}
.rc-practice-stats article strong{color:var(--text);
    font-size:var(--fs-4xl);
    line-height:1;
    font-variant-numeric:tabular-nums;}
.rc-practice-table tfoot th{position:sticky;
    bottom:0;
    z-index:2;
    border-top:1px solid var(--border);
    background:var(--surface-2);
    font-size:var(--fs-xs);
    font-weight:900;}
.rc-session-value{display:block;
    color:var(--text);
    font-size:var(--fs-base);
    font-variant-numeric:tabular-nums;}
.rc-session-value+small{display:block;
    margin-top:2px;
    color:var(--text-muted);
    font-size:var(--fs-2xs);}
@media(max-width:1080px){
    .rc-practice-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
    .rc-practice-head{flex-direction:column;}
    .rc-practice-stats{grid-template-columns:1fr;}
}
.rc-tabs button{position:relative;}
.rc-tabs button>span:first-of-type{line-height:1;}
.rc-tab-count{display:inline-grid;
    min-width:22px;
    height:22px;
    place-content:center;
    margin-left:2px;
    padding:0 6px;
    border-radius:999px;
    background:var(--surface-2);
    color:var(--text-muted);
    font-size:var(--fs-2xs);
    font-weight:900;
    font-variant-numeric:tabular-nums;}
.rc-tabs button.active .rc-tab-count{background:color-mix(in srgb, var(--surface) 18.0%, transparent);
    color:var(--on-p);}
.rc-section-head{display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;}
.rc-section-head h6{margin:0 0 5px;
    color:var(--text);
    font-size:var(--fs-3xl);
    font-weight:850;}
.rc-section-head p{margin:0;
    max-width:720px;
    color:var(--text-muted);
    line-height:1.5;}
.rc-kpi-grid{display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-bottom:14px;}
.rc-kpi-grid article{display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    min-height:88px;
    padding:14px;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface);}
.rc-kpi-grid article>i{width:42px;
    height:42px;
    display:grid;--fa-display:grid;
    place-content:center;
    flex:none;
    border-radius:12px;
    background:var(--surface-2);
    color:var(--p);
    font-size:var(--fs-2xl);}
.rc-kpi-grid article.primary>i{background:var(--p-soft);
    color:var(--p-text);}
.rc-kpi-grid article.success>i{background:var(--success-bg);
    color:var(--success);}
.rc-kpi-grid article.warning>i{background:var(--warning-bg);
    color:var(--warning);}
.rc-kpi-grid article.danger>i{background:var(--danger-bg);
    color:var(--danger);}
.rc-kpi-grid article.neutral>i{background:var(--surface-2);
    color:var(--text-2);}
.rc-kpi-grid article div{display:grid;
    gap:2px;
    min-width:0;}
.rc-kpi-grid article span, .rc-kpi-grid article small{overflow:hidden;
    color:var(--text-muted);
    font-size:var(--fs-xs);
    text-overflow:ellipsis;
    white-space:nowrap;}
.rc-kpi-grid article strong{color:var(--text);
    font-size:var(--fs-4xl);
    line-height:1;
    font-variant-numeric:tabular-nums;}
.rc-table tfoot th{position:sticky;
    bottom:0;
    z-index:2;
    border-top:1px solid var(--border);
    background:var(--surface-2);
    color:var(--text);
    font-size:var(--fs-xs);
    font-weight:900;}
.rc-result-stats{grid-template-columns:repeat(4,minmax(0,1fr));}
.rc-practice-stats{grid-template-columns:repeat(5,minmax(0,1fr));}
.rc-practice-stats article.vehicles>i{background:var(--p-soft);
    color:var(--p-text);}
@media(max-width:1180px){
    .rc-kpi-grid, .rc-result-stats, .rc-practice-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
    .rc-section-head{flex-direction:column;}
    .rc-kpi-grid, .rc-result-stats, .rc-practice-stats{grid-template-columns:1fr;}
}
.client-options{max-height:230px;overflow:auto;border:1px solid var(--border);border-radius:10px}
.client-options button{width:100%;border:0;background:transparent;color:var(--text);display:flex;justify-content:space-between;padding:9px 11px;text-align:left}
.client-options button:hover{background:var(--surface-2)}
.rgc-page{display:grid;
    gap:16px;
    padding:0;}
.rgc-head{display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;}
.rgc-subtitle{margin:5px 0 0;
    color:var(--text-muted);
    line-height:1.55;}
.rgc-head-icon{width:54px;
    height:54px;
    flex:none;
    display:grid;
    place-content:center;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--surface-2);
    color:var(--p);
    font-size:var(--fs-4xl);}
.rgc-filter-card, .rgc-results-card{margin:0;}
.rgc-filter-grid{display:grid;
    grid-template-columns:170px minmax(280px,1fr) auto;
    align-items:end;
    gap:12px;}
.rgp-filter-grid{grid-template-columns:minmax(300px,560px) auto;
    justify-content:start;}
.rgc-field{display:grid;
    gap:6px;}
.rgc-field label{margin:0;
    color:var(--text-muted);
    font-size:var(--fs-xs);
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;}
.rgc-search-box{position:relative;}
.rgc-search-box>i{position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    color:var(--text-muted);
    pointer-events:none;}
.rgc-search-box .form-control{padding-left:38px;}
.rgc-actions{display:flex;
    align-items:center;
    gap:8px;}
.rgc-actions .btn{min-height:40px;}
.rgc-alert{display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    border-radius:14px;}
.rgc-alert span{flex:1;}
.rgc-alert button{width:32px;
    height:32px;
    display:grid;
    place-content:center;
    border:0;
    border-radius:9px;
    background:transparent;
    color:inherit;}
.rgc-stats{display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;}
.rgc-stats article{position:relative;
    min-height:96px;
    padding:16px;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--surface);}
.rgc-stats article span{display:block;
    margin-bottom:7px;
    color:var(--text-muted);
    font-size:var(--fs-xs);
    font-weight:850;
    letter-spacing:.055em;
    text-transform:uppercase;}
.rgc-stats article strong{color:var(--text);
    font-size:clamp(20px,2vw,27px);
    font-variant-numeric:tabular-nums;}
.rgc-stats article>i{position:absolute;
    right:14px;
    top:14px;
    color:var(--p);
    opacity:.14;
    font-size:var(--fs-5xl);}
.rgc-empty{min-height:260px;
    padding:32px;}
.rgc-empty i{font-size:calc(34px * var(--fs-escala));
    color:var(--p);}
.rgc-empty span{max-width:560px;
    text-align:center;}
.rgc-table-wrap{overflow:auto;
    max-height:calc(100vh - 350px);
    min-height:240px;}
.rgc-table{width:100%;
    min-width:1180px;
    margin:0;}
.rgc-table th, .rgc-table td{padding:12px 13px;
    vertical-align:middle;}
.rgc-table thead th{position:sticky;
    top:0;
    z-index:2;
    background:var(--surface-2);
    color:var(--text-muted);
    font-size:var(--fs-2xs);
    letter-spacing:.055em;}
.rgc-table tfoot th{position:sticky;
    bottom:0;
    z-index:2;
    border-top:1px solid var(--border);
    background:var(--surface-2);
    font-size:var(--fs-xs);
    font-weight:900;}
.rgc-client{display:grid;
    gap:3px;
    min-width:210px;}
.rgc-client strong{color:var(--text);
    font-size:var(--fs-md);}
.rgc-client small{color:var(--text-muted);
    font-size:var(--fs-xs);}
.rgc-money{white-space:nowrap;
    font-weight:800;
    font-variant-numeric:tabular-nums;}
.rgc-money--warning{color:var(--warning);}
.rgc-money--success{color:var(--success);}
.rgc-progress-row{display:flex;
    align-items:center;
    gap:9px;
    min-width:150px;}
.rgc-progress{flex:1;
    height:8px;
    overflow:hidden;
    border-radius:999px;
    background:var(--surface-2);}
.rgc-progress span{display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,var(--p),var(--success));}
.rgc-progress-row small{width:54px;
    color:var(--text-muted);
    font-variant-numeric:tabular-nums;
    text-align:right;}
.rgc-action-col{width:74px;
    text-align:center;
    white-space:nowrap;}
@media(max-width:1180px){
    .rgc-stats{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:820px){
    .rgc-head{align-items:flex-start;}
    .rgc-filter-grid, .rgp-filter-grid{grid-template-columns:1fr;}
    .rgc-actions{display:grid;
        grid-template-columns:1fr 1fr;}
    .rgc-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
    .rgc-table-wrap{max-height:none;}
}
@media(max-width:540px){
    .rgc-head-icon{display:none;}
    .rgc-actions{grid-template-columns:1fr;}
    .rgc-stats{grid-template-columns:1fr;}
}
.report-page{display:grid;gap:16px}
.report-hero, .report-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;}
.report-hero{display:flex;align-items:flex-start;justify-content:space-between;padding:22px}
.report-hero h1{margin:4px 0 5px;font-size:clamp(25px,2vw,34px)}
.report-hero p{margin:0;color:var(--text-muted)}
.report-eyebrow{font-size:var(--fs-xs);font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--p)}
.report-card{padding:16px}
.report-filter{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.report-field{display:grid;gap:5px;min-width:180px;flex:1}
.report-field label{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:var(--text-muted)}
.report-actions{display:flex;gap:8px}
.report-summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.report-summary strong{font-size:var(--fs-4xl)}
.report-empty{min-height:240px;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--text-muted)}
.client-results{position:relative}
.client-options{position:absolute;z-index:10;left:0;right:0;top:100%;max-height:260px;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.client-options button{width:100%;display:flex;justify-content:space-between;text-align:left;border:0;background:transparent;padding:10px 12px;color:var(--text)}
.client-options button:hover{background:var(--surface-2)}
@media(max-width:720px){
    .report-hero{padding:17px}
    .report-filter{display:grid}
    .report-field{min-width:0}
    .report-actions{width:100%}
    .report-actions .btn{flex:1}
}
/* Restored shared project components. Scoped selectors preserve shell palette/controls. */
.rc-dialog, .cad-page, .rgc-page, .report-page{font-size:var(--fs-base);line-height:1.5}
.cad-table th{background:var(--surface-2);color:var(--text-2)}
.rc-tabs button.active .rc-tab-count{background:var(--surface);color:var(--text-2)}
.rc-dialog.gxModal__dialog{width:min(1420px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);min-width:0;min-height:0}
.rc-dialog .gxModal__content{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);min-width:0;min-height:0;overflow:hidden}
.rc-dialog .gxModal__header{flex:0 0 auto;min-width:0}
.rc-dialog .gxModal__title{overflow-wrap:anywhere}
.rc-dialog .gxModal__body{flex:1 1 auto;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}
.rc-dialog .gxModal__footer{flex:0 0 auto}
.rc-tabs{display:flex;flex-wrap:wrap;gap:8px;overflow:visible}
.rc-tabs button{font:inherit;font-size:var(--fs-base);min-height:42px;line-height:1.4;cursor:pointer}
.rc-tabs button.active{background:var(--p-soft);color:var(--text);border-color:var(--p-line);}
.rc-tabs button:focus-visible, .cad-tabs button:focus-visible{outline:2px solid var(--p);outline-offset:2px}
.rc-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 6px;border-radius:var(--r-full);background:var(--surface);color:var(--text-2);font-size:var(--fs-sm);line-height:1.4}
.rc-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.rc-dialog:is(.rc-stats,.rc-stat,.rc-section-head,.rc-profile,.rc-attempt,.rc-module-count){min-width:0}
.rc-dialog:is(.rc-stat,.rc-section-head,.rc-profile) :is(strong,h6,p){overflow-wrap:anywhere}
.rc-table-wrap{width:100%;max-width:100%;overflow:auto;max-height:none}
.rc-table{font-size:var(--fs-base)}
.rc-table:is(th,td){font-size:var(--fs-base);line-height:1.5;padding:12px}
.rc-table th{font-size:var(--fs-sm);color:var(--text-2)}
.rc-eyebrow, .rc-section-kicker, .report-eyebrow{color:var(--text-2)}
.cad-tabs button.active{background:var(--p-soft);color:var(--text);border:1px solid var(--p-line)}
.cad-tabs button{font:inherit;font-weight:650;line-height:1.4;min-height:40px;cursor:pointer}
.cad-search input{padding-left:42px}
.cad-search i{pointer-events:none}
.cad-table:is(th,td){font-size:var(--fs-base);line-height:1.5}
.cad-table th{font-size:var(--fs-sm)}
.rgc-field, .report-field{min-width:0}
.rgc-field label, .report-field label{font-size:var(--fs-md);color:var(--text-2)}
.rgc-filter-grid:is(input,select,.form-control,.form-select){min-width:0;width:100%;box-sizing:border-box}
.rgc-search i{pointer-events:none}
.rgc-table-wrap{max-width:100%;overflow:auto}
.rgc-table:is(th,td){font-size:var(--fs-base);line-height:1.5;padding:12px}
.rgc-table th{font-size:var(--fs-sm)}
.rgc-actions, .report-actions, .cad-actions-top{display:flex;flex-wrap:wrap;gap:8px}
.rgc-table:is(.gvCmdBtn,button), .cad-table .gvCmdBtn{opacity:1;visibility:visible}
.academic-count-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:var(--r-full);background:var(--surface-2);border:1px solid var(--border);color:var(--text-2);font-size:var(--fs-md);font-weight:650}
.academic-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.academic-cell-sub{display:block;margin-top:3px;color:var(--text-muted);font-size:var(--fs-sm);line-height:1.4}
.academic-status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid var(--border);border-radius:var(--r-full);background:var(--surface-2);color:var(--text-2);font-size:var(--fs-sm);font-weight:650}
.academic-status.active{background:var(--success-bg);color:var(--success)}
.assessment-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin:14px 0}
.assessment-options{display:grid;gap:14px;margin-top:20px;padding-top:18px;border-top:1px solid var(--border);min-width:0}
.assessment-item-input{width:100%;min-width:0}
.assessment-empty{padding:28px;text-align:center;color:var(--text-muted);border:1px dashed var(--border);border-radius:var(--r-md);background:var(--surface)}
.rich-html-editor{width:100%;min-width:0;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);color:var(--text);overflow:hidden}
.rich-html-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px;border-bottom:1px solid var(--border);background:var(--surface-2)}
.rich-html-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:6px 8px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--text-2);font:inherit;cursor:pointer}
.rich-html-toolbar button:hover{background:var(--p-soft);color:var(--text)}
.rich-html-toolbar button:focus-visible{outline:2px solid var(--p);outline-offset:2px}
.rich-html-content{min-height:160px;max-height:360px;overflow:auto;padding:12px;line-height:1.6;overflow-wrap:anywhere;outline:none}
.rich-html-content:focus{}
.rich-html-content:empty::before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none}
.gc-quick-overlay{overscroll-behavior:contain}
.gc-state-loading, .gc-state-denied{display:grid;justify-items:center;gap:10px;padding:28px;color:var(--text-muted);text-align:center}
.gem-money{font-variant-numeric:tabular-nums;white-space:nowrap}
.principal-chart-title{margin:4px 0 0;font-size:var(--fs-2xl);font-weight:750;line-height:1.4;color:var(--text)}
.cert-electronic-observation{padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);color:var(--text-2);line-height:1.5;overflow-wrap:anywhere}
@media(max-width:760px){
    .rc-dialog.gxModal__dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 32px)}
    .rc-dialog .gxModal__content{max-height:calc(100dvh - 32px)}
    .rc-dialog .gxModal__body{padding:14px}
    .rc-tabs button{flex:1 1 auto;padding:8px 10px}
    .rc-stats{grid-template-columns:minmax(0,1fr)}
    .rc-section-head{align-items:flex-start;flex-wrap:wrap}
    .report-filter{display:grid;grid-template-columns:minmax(0,1fr)}
    .report-field{min-width:0}
    .report-actions{width:100%}
}
/* Core-like presentation for administrative data tables, including legacy tables
   without .table. Annotation does not alter row content or Blazor event handlers. */
.gt-admin-grid{width:100%;border-collapse:separate;border-spacing:0;margin-bottom:0;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:14px;font-size:var(--fs-base);line-height:1.5}
.gt-admin-grid>thead>tr>th{padding:12px 14px;background:var(--th-bg);color:var(--th-text);font-size:var(--fs-sm);font-weight:800;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;border-bottom:2px solid var(--th-line);vertical-align:middle}
.gt-admin-grid>tbody>tr>td{padding:12px 14px;border-bottom:1px solid var(--border-lite);color:var(--text);background:var(--surface);vertical-align:middle;font-size:var(--fs-base);line-height:1.5}
.gt-admin-grid>tbody>tr:hover>td{background:var(--p-soft)}
.gt-admin-grid>tfoot>tr>:is(th,td){padding:12px 14px;border-top:1px solid var(--border);background:var(--surface-2);color:var(--text);font-weight:750;font-size:var(--fs-base)}
.gt-admin-grid>thead>tr:is(.core-column-filters,.column-filter-row)>th{padding:6px 8px;background:var(--surface);border-bottom:1px solid var(--border);letter-spacing:normal;text-transform:none}
.gt-admin-grid>thead :is(input,select,.ssel-trigger){font-size:var(--fs-md);min-height:34px}
.gt-admin-grid>tbody>tr>td:is(.num,.text-end){font-variant-numeric:tabular-nums}
[data-theme="dark"] .gt-admin-grid>thead>tr>th{border-bottom-width:1px}
.ri-table.gt-admin-grid>tbody>tr>td:nth-child(3){min-width:210px}
.gt-grid-scroll-host{max-width:100%;overflow-x:auto;scrollbar-width:auto;scrollbar-color:var(--text-muted) var(--surface-2);overscroll-behavior-x:contain}
.gt-grid-scroll-host.gt-grid-has-overflow{margin-bottom:54px}
.gt-grid-scroll-host::-webkit-scrollbar{height:14px;width:12px}
.gt-grid-scroll-host::-webkit-scrollbar-track{background:var(--surface-2);border-radius:8px}
.gt-grid-scroll-host::-webkit-scrollbar-thumb{background:var(--text-muted);border:3px solid var(--surface-2);border-radius:8px}
.gt-grid-scroll-host::-webkit-scrollbar-thumb:hover{background:var(--text-2)}
.gt-grid-scrollbar{position:fixed;z-index:200100;display:flex;align-items:center;gap:8px;box-sizing:border-box;height:44px;padding:5px 8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:600 var(--fs-sm)/1.3 var(--font)}
.gt-grid-scrollbar[hidden]{display:none}
.gt-grid-scrollbar__label{flex:0 0 auto;white-space:nowrap}
.gt-grid-scrollbar button{flex:0 0 32px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);font:700 calc(21px * var(--fs-escala))/1 var(--font);cursor:pointer}
.gt-grid-scrollbar button:hover:not(:disabled){background:var(--p-soft);border-color:var(--p-line)}
.gt-grid-scrollbar button:disabled{opacity:.4;cursor:default}
.gt-grid-scrollbar input[type="range"]{flex:1 1 auto;min-width:40px;height:28px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:ew-resize;accent-color:var(--text-2)}
.gt-grid-scrollbar input[type="range"]::-webkit-slider-runnable-track{height:10px;border:1px solid var(--border);border-radius:99px;background:var(--surface-3)}
.gt-grid-scrollbar input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:32px;height:22px;margin-top:-7px;border:1px solid var(--text-muted);border-radius:8px;background:var(--text-2)}
.gt-grid-scrollbar input[type="range"]::-moz-range-track{height:10px;border:1px solid var(--border);border-radius:99px;background:var(--surface-3)}
.gt-grid-scrollbar input[type="range"]::-moz-range-thumb{width:32px;height:22px;border:1px solid var(--text-muted);border-radius:8px;background:var(--text-2)}
.gt-grid-scrollbar:is(button,input):focus-visible{outline:2px solid var(--p);outline-offset:2px}
.gt-grid-scrollbar__value{flex:0 0 34px;text-align:right;font-variant-numeric:tabular-nums;color:var(--text-muted)}
@media(max-width:520px){
    .gt-grid-scrollbar{gap:6px}
    .gt-grid-scrollbar__label{font-size:var(--fs-xs)}
    .gt-grid-scrollbar__value{display:none}
}
@media print{
    .gt-grid-scrollbar{display:none}
    .gt-grid-scroll-host{margin-bottom:0}
}
/* Multiple employees, preserving existing per-profile report authorization. */
.rie-users{position:relative;min-width:220px;max-width:100%}
.rie-users summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;min-height:42px}
.rie-users summary::-webkit-details-marker{display:none}
.rie-users summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rie-users summary[aria-disabled="true"]{cursor:default;opacity:.65}
.rie-users summary:focus-visible{outline:2px solid var(--p);outline-offset:2px}
.rie-users__panel{position:absolute;z-index:1005;top:calc(100% + 6px);left:0;width:min(380px,calc(100vw - 40px));min-width:100%;padding:12px;display:grid;gap:8px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);color:var(--text);}
.rie-users:not([open])>.rie-users__panel{display:none}
.rie-users__actions{display:flex;gap:8px;flex-wrap:wrap}
.rie-users__list{max-height:260px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:3px}
.rie-users__option{display:flex;align-items:center;gap:10px;padding:8px;border-radius:var(--r-sm);font-size:var(--fs-base);font-weight:500;color:var(--text);text-transform:none;letter-spacing:normal;cursor:pointer}
.rie-users__option:hover{background:var(--p-soft)}
.rie-users__option input{flex:0 0 18px;width:18px;height:18px;accent-color:var(--text-2)}
.rie-users__panel small, .rie-users__empty{font-size:var(--fs-sm);color:var(--text-muted)}
@media(max-width:720px){
    .rie-users{min-width:0;width:100%}
    .rie-users__panel{width:100%;min-width:0}
}
/* ReporteMarcacionAsistencia: reporte diario */
/* Formularios de negocio conservados desde shell.css (§4.3). */
/* Matrícula: el tamaño del diálogo y sus grids no dependen del ancho de la página. */
.gm-dialog .gm-modal-content{min-width: 0; min-height: 0; max-height: calc(100dvh - 32px);}
.gm-dialog form.gm-modal-form{display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden;}
.gm-dialog .gm-modal-body{container: gm-editor / inline-size; flex: 1 1 auto; min-width: 0; min-height: 0;
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;}
.gm-dialog .gm-modal-footer{flex: 0 0 auto;}
.gm-dialog .gm-tabs{display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: -20px; z-index: 5;
    margin: 0; padding: 10px 0; background: var(--surface); border-bottom: 1px solid var(--border);}
.gm-dialog:is(.gm-section,.gm-add-card,.gm-account,.gm-field,.gm-account-list,.gm-add-grid,.gm-form-grid,.gm-account-grid){min-width: 0; max-width: 100%;}
.gm-dialog .gm-section-head{flex-wrap: wrap;}
.gm-dialog .gm-section-head > div{min-width: 0;}
.gm-dialog .gm-section-head h3{font-size: var(--fs-2xl); line-height: 1.35; overflow-wrap: anywhere;}
.gm-dialog .gm-section-head > div > span{color: var(--text-2);}
.gm-dialog:is(.gm-section-head > i,.gm-account-icon){display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--p-soft); color: var(--text);}
.gm-dialog .gm-account-grid{display: grid; grid-template-columns: minmax(0,2fr) repeat(3,minmax(0,1fr)) 42px;
    align-items: end; gap: 12px;}
.gm-dialog .gm-field--description{grid-column: auto;}
.gm-dialog .gm-account-grid:is(input,select,.form-control){width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;}
.gm-dialog .gm-account-main{grid-template-columns: 38px minmax(0,1fr) auto;}
.gm-dialog .gm-account-main strong{overflow-wrap: anywhere;}
@container gm-editor (max-width: 820px){
    .gm-dialog .gm-account-grid{grid-template-columns: repeat(3,minmax(0,1fr));}
    .gm-account-grid .gm-field--description{grid-column: 1 / -1;}
    .gm-account-actions{grid-column: 1 / -1; justify-content: flex-end;}
}
@container gm-editor (max-width: 520px){
    .gm-dialog .gm-add-grid, .gm-dialog .gm-form-grid, .gm-dialog .gm-account-grid{grid-template-columns: minmax(0,1fr);}
    .gm-field--span-2{grid-column: auto;}
    .gm-dialog .gm-account-main{grid-template-columns: 38px minmax(0,1fr);}
    .gm-account-main > .gm-status{grid-column: 2; justify-self: start;}
    .gm-tabs button{width: 100%; justify-content: flex-start;}
}
/* Cliente: dimensiones específicas sobre el máximo genérico de Core (560px).
   La paleta de marca del shell proporcionado por el usuario se conserva. */
.gc-dialog .gc-modal-content{min-width: 0; min-height: 0; max-height: calc(100dvh - 32px);}
.gc-dialog form.gc-modal-form{display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden;}
.gc-dialog .gc-modal-body{container: gc-editor / inline-size; flex: 1 1 auto; min-width: 0; min-height: 0;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;}
.gc-dialog .gc-modal-footer{flex: 0 0 auto;}
.gc-dialog .gc-tabs{display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 0;
    position: sticky; top: -20px; z-index: 4; background: var(--surface);
    border-bottom: 1px solid var(--border);}
.gc-dialog .gc-tabs button{white-space: normal; text-align: center;}
.gc-dialog:is(.gc-section,.gc-form-grid,.gc-field){min-width: 0; max-width: 100%;}
.gc-dialog .gc-form-grid{display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px;}
.gc-dialog .gc-form-grid--3{grid-template-columns: repeat(3,minmax(0,1fr));}
.gc-dialog .gc-field--span-2{grid-column: span 2;}
.gc-dialog .gc-field--span-3{grid-column: 1 / -1;}
.gc-dialog .gc-field:is(input,select,textarea,.form-control,.ssel){min-width: 0; max-width: 100%; box-sizing: border-box;}
.gc-dialog .gc-field--lookup > div{display: grid; grid-template-columns: minmax(0,1fr) 40px; gap: 8px;}
.gc-dialog .gc-field--lookup button{width: 40px; min-width: 40px;}
.gc-dialog .gc-section-head > div{min-width: 0;}
.gc-dialog .gc-section-head h3{overflow-wrap: anywhere; font-size: var(--fs-2xl); line-height: 1.35;}
.gc-dialog .gc-section-head > div > span{color: var(--text-2);}
@container gc-editor (max-width: 780px){
    .gc-dialog .gc-form-grid--3{grid-template-columns: repeat(2,minmax(0,1fr));}
    .gc-dialog .gc-field--span-3{grid-column: 1 / -1;}
}
@container gc-editor (max-width: 520px){
    .gc-dialog .gc-form-grid, .gc-dialog .gc-form-grid--3{grid-template-columns: minmax(0,1fr);}
    .gc-dialog .gc-field--span-2, .gc-dialog .gc-field--span-3{grid-column: 1 / -1;}
    .gc-dialog .gc-tabs button{width: 100%; justify-content: flex-start;}
}
/* Clases de contenido administrativo, sin estilos en línea. */
.gt-business-0ee7f66ad9{margin-top:12px;}
.gt-business-29be428ca1{width:76px;height:48px;object-fit:cover;border-radius:8px;}
.gt-business-5a5f7abe41{width:110px;}
.gt-business-662c8e4334{width:150px;}
.gt-business-6d2a18baae{width:100px;}
.gt-business-912227774f{text-transform:none;font-weight:600;}
.gt-business-91269935bd{width:80px;}
.gt-business-aebc026e77{width:240px;}
.gt-business-cd2b97c43d{width:140px;}
.gt-business-e3f447c4f5{width:180px;}
/* Gráficos de negocio: atributos nativos y clases, compatibles con CSP. */
.business-progress{display:block; width:100%; height:8px; border:0; border-radius:var(--r-full); overflow:hidden; appearance:none; background:var(--surface-2); accent-color:var(--p);}
.business-progress::-webkit-progress-bar{background:var(--surface-2); border-radius:var(--r-full);}
.business-progress::-webkit-progress-value{background:var(--p); border-radius:var(--r-full);}
.business-progress::-moz-progress-bar{background:var(--p); border-radius:var(--r-full);}
.business-column{display:block; width:100%; height:100%;}
.business-column rect{fill:var(--p);}
.principal-income-progress{width:100%; height:8px; accent-color:var(--p);}
.business-segment-0{flex:0 1 0; min-width:0; width:0;}
.business-segment-1{flex:1 1 0; min-width:0; width:0;}
.business-segment-2{flex:2 1 0; min-width:0; width:0;}
.business-segment-3{flex:3 1 0; min-width:0; width:0;}
.business-segment-4{flex:4 1 0; min-width:0; width:0;}
.business-segment-5{flex:5 1 0; min-width:0; width:0;}
.business-segment-6{flex:6 1 0; min-width:0; width:0;}
.business-segment-7{flex:7 1 0; min-width:0; width:0;}
.business-segment-8{flex:8 1 0; min-width:0; width:0;}
.business-segment-9{flex:9 1 0; min-width:0; width:0;}
.business-segment-10{flex:10 1 0; min-width:0; width:0;}
.business-segment-11{flex:11 1 0; min-width:0; width:0;}
.business-segment-12{flex:12 1 0; min-width:0; width:0;}
.business-segment-13{flex:13 1 0; min-width:0; width:0;}
.business-segment-14{flex:14 1 0; min-width:0; width:0;}
.business-segment-15{flex:15 1 0; min-width:0; width:0;}
.business-segment-16{flex:16 1 0; min-width:0; width:0;}
.business-segment-17{flex:17 1 0; min-width:0; width:0;}
.business-segment-18{flex:18 1 0; min-width:0; width:0;}
.business-segment-19{flex:19 1 0; min-width:0; width:0;}
.business-segment-20{flex:20 1 0; min-width:0; width:0;}
.business-segment-21{flex:21 1 0; min-width:0; width:0;}
.business-segment-22{flex:22 1 0; min-width:0; width:0;}
.business-segment-23{flex:23 1 0; min-width:0; width:0;}
.business-segment-24{flex:24 1 0; min-width:0; width:0;}
.business-segment-25{flex:25 1 0; min-width:0; width:0;}
.business-segment-26{flex:26 1 0; min-width:0; width:0;}
.business-segment-27{flex:27 1 0; min-width:0; width:0;}
.business-segment-28{flex:28 1 0; min-width:0; width:0;}
.business-segment-29{flex:29 1 0; min-width:0; width:0;}
.business-segment-30{flex:30 1 0; min-width:0; width:0;}
.business-segment-31{flex:31 1 0; min-width:0; width:0;}
.business-segment-32{flex:32 1 0; min-width:0; width:0;}
.business-segment-33{flex:33 1 0; min-width:0; width:0;}
.business-segment-34{flex:34 1 0; min-width:0; width:0;}
.business-segment-35{flex:35 1 0; min-width:0; width:0;}
.business-segment-36{flex:36 1 0; min-width:0; width:0;}
.business-segment-37{flex:37 1 0; min-width:0; width:0;}
.business-segment-38{flex:38 1 0; min-width:0; width:0;}
.business-segment-39{flex:39 1 0; min-width:0; width:0;}
.business-segment-40{flex:40 1 0; min-width:0; width:0;}
.business-segment-41{flex:41 1 0; min-width:0; width:0;}
.business-segment-42{flex:42 1 0; min-width:0; width:0;}
.business-segment-43{flex:43 1 0; min-width:0; width:0;}
.business-segment-44{flex:44 1 0; min-width:0; width:0;}
.business-segment-45{flex:45 1 0; min-width:0; width:0;}
.business-segment-46{flex:46 1 0; min-width:0; width:0;}
.business-segment-47{flex:47 1 0; min-width:0; width:0;}
.business-segment-48{flex:48 1 0; min-width:0; width:0;}
.business-segment-49{flex:49 1 0; min-width:0; width:0;}
.business-segment-50{flex:50 1 0; min-width:0; width:0;}
.business-segment-51{flex:51 1 0; min-width:0; width:0;}
.business-segment-52{flex:52 1 0; min-width:0; width:0;}
.business-segment-53{flex:53 1 0; min-width:0; width:0;}
.business-segment-54{flex:54 1 0; min-width:0; width:0;}
.business-segment-55{flex:55 1 0; min-width:0; width:0;}
.business-segment-56{flex:56 1 0; min-width:0; width:0;}
.business-segment-57{flex:57 1 0; min-width:0; width:0;}
.business-segment-58{flex:58 1 0; min-width:0; width:0;}
.business-segment-59{flex:59 1 0; min-width:0; width:0;}
.business-segment-60{flex:60 1 0; min-width:0; width:0;}
.business-segment-61{flex:61 1 0; min-width:0; width:0;}
.business-segment-62{flex:62 1 0; min-width:0; width:0;}
.business-segment-63{flex:63 1 0; min-width:0; width:0;}
.business-segment-64{flex:64 1 0; min-width:0; width:0;}
.business-segment-65{flex:65 1 0; min-width:0; width:0;}
.business-segment-66{flex:66 1 0; min-width:0; width:0;}
.business-segment-67{flex:67 1 0; min-width:0; width:0;}
.business-segment-68{flex:68 1 0; min-width:0; width:0;}
.business-segment-69{flex:69 1 0; min-width:0; width:0;}
.business-segment-70{flex:70 1 0; min-width:0; width:0;}
.business-segment-71{flex:71 1 0; min-width:0; width:0;}
.business-segment-72{flex:72 1 0; min-width:0; width:0;}
.business-segment-73{flex:73 1 0; min-width:0; width:0;}
.business-segment-74{flex:74 1 0; min-width:0; width:0;}
.business-segment-75{flex:75 1 0; min-width:0; width:0;}
.business-segment-76{flex:76 1 0; min-width:0; width:0;}
.business-segment-77{flex:77 1 0; min-width:0; width:0;}
.business-segment-78{flex:78 1 0; min-width:0; width:0;}
.business-segment-79{flex:79 1 0; min-width:0; width:0;}
.business-segment-80{flex:80 1 0; min-width:0; width:0;}
.business-segment-81{flex:81 1 0; min-width:0; width:0;}
.business-segment-82{flex:82 1 0; min-width:0; width:0;}
.business-segment-83{flex:83 1 0; min-width:0; width:0;}
.business-segment-84{flex:84 1 0; min-width:0; width:0;}
.business-segment-85{flex:85 1 0; min-width:0; width:0;}
.business-segment-86{flex:86 1 0; min-width:0; width:0;}
.business-segment-87{flex:87 1 0; min-width:0; width:0;}
.business-segment-88{flex:88 1 0; min-width:0; width:0;}
.business-segment-89{flex:89 1 0; min-width:0; width:0;}
.business-segment-90{flex:90 1 0; min-width:0; width:0;}
.business-segment-91{flex:91 1 0; min-width:0; width:0;}
.business-segment-92{flex:92 1 0; min-width:0; width:0;}
.business-segment-93{flex:93 1 0; min-width:0; width:0;}
.business-segment-94{flex:94 1 0; min-width:0; width:0;}
.business-segment-95{flex:95 1 0; min-width:0; width:0;}
.business-segment-96{flex:96 1 0; min-width:0; width:0;}
.business-segment-97{flex:97 1 0; min-width:0; width:0;}
.business-segment-98{flex:98 1 0; min-width:0; width:0;}
.business-segment-99{flex:99 1 0; min-width:0; width:0;}
.business-segment-100{flex:100 1 0; min-width:0; width:0;}
.business-heat-0{--heat-alpha:0;}
.business-heat-1{--heat-alpha:0.328;}
.business-heat-2{--heat-alpha:0.496;}
.business-heat-3{--heat-alpha:0.664;}
.business-heat-4{--heat-alpha:0.832;}
.business-heat-5{--heat-alpha:1.0;}
.business-thumbnail{width:80px; height:48px; object-fit:cover; border-radius:var(--r-sm);}
/* Business layouts must shrink inside the Core shell at narrow widths. */
.module-page{min-width:0; grid-template-columns:minmax(0,1fr);}
.module-page > *, .module-hero > *, .module-toolbar > *{min-width:0;}
.module-hero h1, .module-hero p{overflow-wrap:anywhere;}
@media(max-width:780px){
    .guc-hero{flex-direction:column;align-items:stretch}
    .guc-hero>*{min-width:0}
}
.report-page{min-width:0; grid-template-columns:minmax(0,1fr);}
.report-page > *, .report-filter > *, .report-card{min-width:0;}
.gt-dash-page{grid-template-columns:minmax(0,1fr)}
.gt-dash-page>*{min-width:0}

/* GT_NEGOCIO_20261113: funciones de negocio nuevas (Components/Negocio y páginas Gt). Solo tokens de Core. */
.gtn-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;}
.gtn-stat{padding:.85rem 1rem;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);text-align:left;cursor:default;}
.gtn-stat small{display:block;color:var(--text-muted);font-weight:600;}
.gtn-stat strong{display:block;font-size:1.3rem;}
button.gtn-stat{cursor:pointer;}
button.gtn-stat:hover{background:var(--surface-2);}
.gtn-stat.is-active{border-color:var(--p);box-shadow:0 0 0 2px var(--p) inset;}
.gtn-stat.is-danger strong{color:var(--danger);}
.gtn-stat.is-warning strong{color:var(--warning);}
.gtn-stat.is-success strong{color:var(--success);}
.gtn-filtros{display:flex;flex-wrap:wrap;gap:.6rem;align-items:end;margin-bottom:.75rem;}
.gtn-filtros .form-control,.gtn-filtros .form-select{min-width:180px;width:auto;}
.gtn-tag{display:inline-block;padding:2px 10px;border-radius:999px;font-size:var(--fs-sm);font-weight:700;background:var(--surface-2);color:var(--text);}
.gtn-tag.danger{background:var(--danger-bg);color:var(--danger);}
.gtn-tag.warning{background:var(--warning-bg);color:var(--warning);}
.gtn-tag.success{background:var(--success-bg);color:var(--success);}
.gtn-tag.info{background:var(--info-bg);color:var(--info);}
.gtn-wa{color:var(--success);}
.gtn-timeline{list-style:none;margin:0;padding:0;display:grid;gap:.5rem;max-height:280px;overflow:auto;}
.gtn-timeline li{padding:.6rem .8rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);}
.gtn-buscador__elegido{display:flex;align-items:center;gap:.6rem;padding:.55rem .8rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);}
.gtn-buscador__elegido span{flex:1;}
.gtn-buscador__lista{list-style:none;margin:.4rem 0 0;padding:0;border:1px solid var(--border);border-radius:10px;max-height:220px;overflow:auto;}
.gtn-buscador__lista button{display:block;width:100%;text-align:left;padding:.5rem .8rem;border:0;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text);}
.gtn-buscador__lista button:hover{background:var(--surface-2);}
.gtn-kanban{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;}
.gtn-asist{display:flex;gap:4px;flex-wrap:wrap;}
.gtn-asist button{min-width:34px;padding:4px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-weight:700;}
.gtn-asist button.on-P{background:var(--success-bg);color:var(--success);border-color:var(--success);}
.gtn-asist button.on-T{background:var(--warning-bg);color:var(--warning);border-color:var(--warning);}
.gtn-asist button.on-F{background:var(--danger-bg);color:var(--danger);border-color:var(--danger);}
.gtn-asist button.on-J{background:var(--info-bg);color:var(--info);border-color:var(--info);}
.gtn-semana{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem;}
.gtn-semana__dia{border:1px solid var(--border);border-radius:12px;padding:.5rem;background:var(--surface);min-height:90px;}
.gtn-semana__dia h6{font-size:var(--fs-sm);font-weight:800;margin:0 0 .4rem;color:var(--text-muted);text-transform:uppercase;}
.gtn-semana__clase{font-size:var(--fs-sm);padding:.35rem .45rem;border-radius:8px;background:var(--surface-2);margin-bottom:.35rem;}
.gtn-caja{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.gtn-caja dl{display:grid;grid-template-columns:1fr auto;gap:.35rem .8rem;margin:0;}
.gtn-caja dt{font-weight:600;color:var(--text-muted);}
.gtn-caja dd{margin:0;text-align:right;font-weight:700;}
.gtn-estrellas{display:flex;gap:2px;}
.gtn-estrellas button{border:0;background:none;padding:0 2px;font-size:var(--fs-3xl);color:var(--border);cursor:pointer;}
.gtn-estrellas button.on{color:var(--warning);}
@media(max-width:900px){.gtn-kanban,.gtn-semana{grid-template-columns:1fr 1fr;}}
@media(max-width:768px){.gtn-caja{grid-template-columns:1fr;}.gtn-filtros .form-control,.gtn-filtros .form-select{width:100%;}}
