
/* === SSO GLOBAL HEADER ALIGNMENT WITH SIDEBAR IN TRANSPORTE === */
@media (min-width: 768px) {
  body.siget-transporte-active #sso-global-header {
    padding-left: 18.5rem !important; /* 296px to clear md:w-72 (288px) sidebar */
  }
}
@media (max-width: 767px) {
  body.siget-transporte-active #sso-global-header {
    padding-left: 1rem !important;
  }
}

/* ==========================================================================
   IMAPSAS TRANSPORTE - TEMA HIERRO FORJADO (TOTALMENTE AISLADO DE ROMANA)
   Todas las reglas aplican EXCLUSIVAMENTE cuando body tiene .siget-transporte-active
   o dentro del contenedor #transporte
   ========================================================================== */

/* ==========================================================================
   IMAPSAS — GESTIÓN DE TRANSPORTE, LOGÍSTICA, ALMACÉN, COMBUSTIBLE Y TALLER
   ESTÁNDAR VISUAL OFICIAL: OPCIÓN B — HIERRO FORJADO, ROJO TALLER Y ORO INDUSTRIAL
   + CONMUTADOR MODO CLARO DE ALTO CONTRASTE (body.siget-transporte-active .transporte-light-mode)
   ID DE ORDEN: TASK-TRANSPORTE-THEME-011D
   ========================================================================== */

:root {
  --hf-bg-base: #141418;
  --hf-surface: #1E1E24;
  --hf-border: #2E2E38;
  --hf-red-primary: #E11D48;
  --hf-red-hover: #BE123C;
  --hf-gold-accent: #EAB308;
  --hf-gold-hover: #D97706;
  --hf-text-main: #FFFFFF;
  --hf-text-muted: #A1A1AA;
}

/* ── 1. UTILIDADES EXPLÍCITAS DE TOKENS HEXADECIMALES (MODO HIERRO FORJADO) ── */
body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#141418\], #transporte:not(.transporte-light-mode) .bg-\[\#141418\] {
  background-color: #141418 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#1E1E24\], #transporte:not(.transporte-light-mode) .bg-\[\#1E1E24\] {
  background-color: #1E1E24 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#2E2E38\], #transporte:not(.transporte-light-mode) .bg-\[\#2E2E38\] {
  background-color: #2E2E38 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#E11D48\], #transporte:not(.transporte-light-mode) .bg-\[\#E11D48\] {
  background-color: #E11D48 !important; color: #FFFFFF !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#E11D48\]\/15, #transporte:not(.transporte-light-mode) .bg-\[\#E11D48\]\/15 {
  background-color: rgba(225, 29, 72, 0.15) !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#BE123C\], #transporte:not(.transporte-light-mode) .bg-\[\#BE123C\] {
  background-color: #BE123C !important; color: #FFFFFF !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#EAB308\], #transporte:not(.transporte-light-mode) .bg-\[\#EAB308\] {
  background-color: #EAB308 !important; color: #141418 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .bg-\[\#D97706\], #transporte:not(.transporte-light-mode) .bg-\[\#D97706\] {
  background-color: #D97706 !important; color: #141418 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .hover\:bg-\[\#BE123C\]:hover, #transporte:not(.transporte-light-mode) .hover\:bg-\[\#BE123C\]:hover {
  background-color: #BE123C !important; color: #FFFFFF !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .hover\:bg-\[\#D97706\]:hover, #transporte:not(.transporte-light-mode) .hover\:bg-\[\#D97706\]:hover {
  background-color: #D97706 !important; color: #141418 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .hover\:bg-\[\#2E2E38\]:hover, #transporte:not(.transporte-light-mode) .hover\:bg-\[\#2E2E38\]:hover {
  background-color: #2E2E38 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .group:hover .group-hover\:bg-\[\#E11D48\], #transporte:not(.transporte-light-mode) .group:hover .group-hover\:bg-\[\#E11D48\] {
  background-color: #E11D48 !important; color: #FFFFFF !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .text-\[\#FFFFFF\], #transporte:not(.transporte-light-mode) .text-\[\#FFFFFF\] {
  color: #FFFFFF !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .text-\[\#A1A1AA\], #transporte:not(.transporte-light-mode) .text-\[\#A1A1AA\] {
  color: #A1A1AA !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .text-\[\#E11D48\], #transporte:not(.transporte-light-mode) .text-\[\#E11D48\] {
  color: #E11D48 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .text-\[\#EAB308\], #transporte:not(.transporte-light-mode) .text-\[\#EAB308\] {
  color: #EAB308 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .text-\[\#141418\], #transporte:not(.transporte-light-mode) .text-\[\#141418\] {
  color: #141418 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .border-\[\#2E2E38\], #transporte:not(.transporte-light-mode) .border-\[\#2E2E38\] {
  border-color: #2E2E38 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .border-\[\#E11D48\], #transporte:not(.transporte-light-mode) .border-\[\#E11D48\] {
  border-color: #E11D48 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .border-\[\#EAB308\], #transporte:not(.transporte-light-mode) .border-\[\#EAB308\] {
  border-color: #EAB308 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .divide-\[\#2E2E38\] > :not([hidden]) ~ :not([hidden]), #transporte:not(.transporte-light-mode) .divide-\[\#2E2E38\] > :not([hidden]) ~ :not([hidden]) {
  border-color: #2E2E38 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .ring-\[\#E11D48\], #transporte:not(.transporte-light-mode) .ring-\[\#E11D48\] {
  --tw-ring-color: #E11D48 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .focus\:border-\[\#E11D48\]:focus, #transporte:not(.transporte-light-mode) .focus\:border-\[\#E11D48\]:focus {
  border-color: #E11D48 !important; outline: none !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .focus\:ring-\[\#E11D48\]:focus, #transporte:not(.transporte-light-mode) .focus\:ring-\[\#E11D48\]:focus {
  --tw-ring-color: #E11D48 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) .selection\:bg-\[\#E11D48\] ::selection, #transporte:not(.transporte-light-mode) .selection\:bg-\[\#E11D48\] ::selection,
body.siget-transporte-active:not(.transporte-light-mode-active) .selection\:bg-\[\#E11D48\]::selection, #transporte:not(.transporte-light-mode) .selection\:bg-\[\#E11D48\]::selection {
  background-color: #E11D48 !important; color: #FFFFFF !important;
}

/* ── 2. CONTENEDOR RAÍZ, BARRA LATERAL, CABECERA, TABLAS, PANELES Y MODALES (MODO HIERRO) ── */
body.siget-transporte-active:not(.transporte-light-mode-active),
body.siget-transporte-active:not(.transporte-light-mode-active) #root,
#transporte:not(.transporte-light-mode),
#transporte-main-container:not(.transporte-light-mode),
.siget-theme:not(.transporte-light-mode),
body.siget-transporte-active:not(.transporte-light-mode-active) .transporte-scope {
  background-color: #141418 !important;
  color: #FFFFFF !important;
}

#transporte:not(.transporte-light-mode) aside,
#transporte:not(.transporte-light-mode) header#transporte-topbar,
#transporte:not(.transporte-light-mode) footer,
#transporte:not(.transporte-light-mode) table,
#transporte:not(.transporte-light-mode) thead,
#transporte:not(.transporte-light-mode) tbody,
#transporte:not(.transporte-light-mode) tr,
#transporte:not(.transporte-light-mode) .bg-\[\#1E1E24\] {
  background-color: #1E1E24 !important;
  border-color: #2E2E38 !important;
}

/* --- REGLAS HIERRO FORJADO: Hover Sidebar Modo Oscuro (Sin Verde) --- */
/* --- REGLAS HIERRO FORJADO: Hover Sidebar Modo Oscuro (Sin Verde) --- */
body.siget-transporte-active .siget-theme aside button:hover,
body.siget-transporte-active aside button:hover,
#transporte aside button:hover,
.siget-theme #transporte aside button:hover,
#transporte-aside button:hover,
#transporte aside .group:hover,
#transporte aside button.group:hover {
  background-color: #252530 !important;
  border-color: #2E2E38 !important;
  color: #FFFFFF !important;
}


#transporte:not(.transporte-light-mode) th {
  background-color: #141418 !important;
  color: #A1A1AA !important;
  border-bottom: 1px solid #2E2E38 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

#transporte:not(.transporte-light-mode) td {
  color: #FFFFFF !important;
  border-bottom: 1px solid #2E2E38 !important;
}

#transporte:not(.transporte-light-mode) tr:hover td {
  background-color: rgba(46, 46, 56, 0.45) !important;
}

/* Inputs, Selects y Textareas en Modo Hierro */
#transporte:not(.transporte-light-mode) input:not([type="checkbox"]):not([type="radio"]),
#transporte:not(.transporte-light-mode) select,
#transporte:not(.transporte-light-mode) textarea {
  background-color: #141418 !important;
  color: #FFFFFF !important;
  border: 1px solid #2E2E38 !important;
  border-radius: 6px !important;
}

#transporte:not(.transporte-light-mode) input::placeholder,
#transporte:not(.transporte-light-mode) textarea::placeholder {
  color: #A1A1AA !important;
  opacity: 0.75 !important;
}

#transporte:not(.transporte-light-mode) input:focus,
#transporte:not(.transporte-light-mode) select:focus,
#transporte:not(.transporte-light-mode) textarea:focus {
  border-color: #E11D48 !important;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.25) !important;
  outline: none !important;
}

/* ── 3. CONMUTADOR MODO CLARO DE ALTO CONTRASTE (body.siget-transporte-active.transporte-light-mode-active) ── */

/* ── 3.1 BASE Y CONTENEDORES PRINCIPALES EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active,
body.siget-transporte-active.transporte-light-mode-active #root,
body.siget-transporte-active.transporte-light-mode-active #transporte,
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container,
body.siget-transporte-active .transporte-light-mode,
#transporte.transporte-light-mode {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

/* ── 3.2 TOPBAR EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active header#transporte-topbar,
body.siget-transporte-active.transporte-light-mode-active #transporte header,
#transporte.transporte-light-mode header#transporte-topbar {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active header#transporte-topbar h1,
body.siget-transporte-active.transporte-light-mode-active header#transporte-topbar span,
#transporte.transporte-light-mode header#transporte-topbar span {
  color: #0F172A !important;
}

/* Botón Volver al Portal Unificado en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active header#transporte-topbar button,
body.siget-transporte-active.transporte-light-mode-active header#transporte-topbar a,
#transporte.transporte-light-mode header#transporte-topbar button {
  background-color: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active header#transporte-topbar button:hover,
#transporte.transporte-light-mode header#transporte-topbar button:hover {
  background-color: #E2E8F0 !important;
  color: #0F172A !important;
}

/* ── 3.3 SIDEBAR Y MENÚ LATERAL EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active aside,
#transporte.transporte-light-mode aside {
  background-color: #FFFFFF !important;
  border-right: 1px solid #E2E8F0 !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.03) !important;
}

/* Encabezado y tarjetas del sidebar */
body.siget-transporte-active.transporte-light-mode-active aside .bg-\[\#141418\],
body.siget-transporte-active.transporte-light-mode-active aside .bg-\[\#1E1E24\],
#transporte.transporte-light-mode aside .bg-\[\#141418\],
#transporte.transporte-light-mode aside .bg-\[\#1E1E24\] {
  background-color: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

/* Botones principales de navegación en el sidebar */
body.siget-transporte-active.transporte-light-mode-active aside button,
#transporte.transporte-light-mode aside button {
  background-color: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active aside button:hover,
#transporte.transporte-light-mode aside button:hover {
  background-color: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}

/* Textos dentro del sidebar */
body.siget-transporte-active.transporte-light-mode-active aside span,
body.siget-transporte-active.transporte-light-mode-active aside p,
body.siget-transporte-active.transporte-light-mode-active aside h2,
body.siget-transporte-active.transporte-light-mode-active aside h3,
#transporte.transporte-light-mode aside span,
#transporte.transporte-light-mode aside p {
  color: #0F172A !important;
  background-color: transparent !important;
}

/* Contenedor del icono en el sidebar (34x34 dorado iluminado) */
body.siget-transporte-active.transporte-light-mode-active aside button > div > div.w-7,
body.siget-transporte-active.transporte-light-mode-active aside button div.shrink-0,
#transporte.transporte-light-mode aside button > div > div.w-7,
#transporte.transporte-light-mode aside button div.shrink-0 {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
  border: 1px solid #FCD34D !important;
  color: #B45309 !important;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2) !important;
}

/* SVGs dentro del sidebar */
body.siget-transporte-active.transporte-light-mode-active aside svg,
#transporte.transporte-light-mode aside svg {
  stroke: #B45309 !important;
}

/* Flechas y chevrons del sidebar */
body.siget-transporte-active.transporte-light-mode-active aside button > svg,
#transporte.transporte-light-mode aside button > svg {
  stroke: #64748B !important;
}

/* Submenús desplegados en el sidebar */
body.siget-transporte-active.transporte-light-mode-active aside .rounded-xl,
#transporte.transporte-light-mode aside .rounded-xl {
  background-color: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active aside .rounded-xl button,
#transporte.transporte-light-mode aside .rounded-xl button {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active aside .rounded-xl button:hover,
#transporte.transporte-light-mode aside .rounded-xl button:hover {
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
}

/* Submenú activo */
body.siget-transporte-active.transporte-light-mode-active aside .rounded-xl button.bg-\[\#141418\],
body.siget-transporte-active.transporte-light-mode-active aside .rounded-xl button[class*="border-l-2"],
#transporte.transporte-light-mode aside .rounded-xl button[class*="border-l-2"] {
  background-color: #FEF3C7 !important;
  color: #B45309 !important;
  border-left-color: #D97706 !important;
  font-weight: 800 !important;
}

/* ── 3.4 BANNER DE BIENVENIDA (#siget-welcome-banner) EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner,
#transporte.transporte-light-mode #siget-welcome-banner {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}

body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner h1,
body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner h2,
#transporte.transporte-light-mode #siget-welcome-banner h1,
#transporte.transporte-light-mode #siget-welcome-banner h2 {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner p,
body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner span,
#transporte.transporte-light-mode #siget-welcome-banner p,
#transporte.transporte-light-mode #siget-welcome-banner span {
  color: #475569 !important;
}

/* Tarjeta interna derecha de usuario dentro del banner */
body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner > div > div:last-child,
body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner .bg-\[\#141418\],
#transporte.transporte-light-mode #siget-welcome-banner > div > div:last-child {
  background-color: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner > div > div:last-child span,
body.siget-transporte-active.transporte-light-mode-active #siget-welcome-banner > div > div:last-child p,
#transporte.transporte-light-mode #siget-welcome-banner > div > div:last-child span {
  color: #0F172A !important;
}

/* ── 3.5 LAS 9 TARJETAS DE MÓDULOS EN MODO CLARO (PURO BLANCO LUMINOSO) ── */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group,
#transporte.transporte-light-mode .grid button,
#transporte.transporte-light-mode button.group {
  background-color: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05), 0 2px 6px -2px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte .grid button:hover,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group:hover,
#transporte.transporte-light-mode .grid button:hover,
#transporte.transporte-light-mode button.group:hover {
  background-color: #FFFFFF !important;
  border-color: #EAB308 !important;
  box-shadow: 0 12px 28px -4px rgba(234, 179, 8, 0.18) !important;
  transform: translateY(-2px) !important;
}

/* Contenedor del Icono Principal (Superior Izquierdo de la tarjeta): Adiós al cuadro negro */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button div.shrink-0,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group div.shrink-0,
#transporte.transporte-light-mode .grid button div.shrink-0,
#transporte.transporte-light-mode button.group div.shrink-0 {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
  border: 1px solid #FCD34D !important;
  color: #B45309 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2) !important;
}

/* Iconos SVG dentro de las tarjetas */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button div.shrink-0 svg,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group div.shrink-0 svg,
#transporte.transporte-light-mode .grid button div.shrink-0 svg,
#transporte.transporte-light-mode button.group div.shrink-0 svg {
  stroke: #B45309 !important;
  fill: none !important;
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

/* Badges de Categoría en las tarjetas ("TELEMETRÍA", "FLOTA & CENSO", etc.) */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button span.rounded-full,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group span.rounded-full,
#transporte.transporte-light-mode .grid button span.rounded-full,
#transporte.transporte-light-mode button.group span.rounded-full {
  background-color: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
  font-weight: 800 !important;
}

/* Títulos de las tarjetas (H3) */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button h3,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group h3,
#transporte.transporte-light-mode .grid button h3,
#transporte.transporte-light-mode button.group h3 {
  color: #0F172A !important;
  font-weight: 900 !important;
}

/* Descripción de las tarjetas (P) */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button p,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group p,
#transporte.transporte-light-mode .grid button p,
#transporte.transporte-light-mode button.group p {
  color: #475569 !important;
  font-weight: 500 !important;
}

/* Barra inferior de la tarjeta ("Ingresar al módulo") */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button > div:last-child,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group > div:last-child,
#transporte.transporte-light-mode .grid button > div:last-child,
#transporte.transporte-light-mode button.group > div:last-child {
  border-top: 1px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte .grid button > div:last-child span,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group > div:last-child span,
#transporte.transporte-light-mode .grid button > div:last-child span,
#transporte.transporte-light-mode button.group > div:last-child span {
  color: #D97706 !important;
  font-weight: 800 !important;
}

/* Botón flecha inferior derecho de la tarjeta (w-7 h-7): Adiós al círculo negro */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button div.w-7,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group div.w-7,
#transporte.transporte-light-mode .grid button div.w-7,
#transporte.transporte-light-mode button.group div.w-7 {
  background: #FEF3C7 !important;
  border: 1px solid #FCD34D !important;
  color: #B45309 !important;
  transition: all 0.2s ease !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte .grid button:hover div.w-7,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group:hover div.w-7,
#transporte.transporte-light-mode .grid button:hover div.w-7,
#transporte.transporte-light-mode button.group:hover div.w-7 {
  background: #EAB308 !important;
  border-color: #CA8A04 !important;
  color: #FFFFFF !important;
}

/* Flecha SVG dentro del botón inferior derecho */
body.siget-transporte-active.transporte-light-mode-active #transporte .grid button div.w-7 svg,
body.siget-transporte-active.transporte-light-mode-active #transporte button.group div.w-7 svg,
#transporte.transporte-light-mode .grid button div.w-7 svg,
#transporte.transporte-light-mode button.group div.w-7 svg {
  stroke: currentColor !important;
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

/* ── 3.6 TABLAS, FORMULARIOS Y MODALES EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active table,
#transporte.transporte-light-mode table {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active thead,
body.siget-transporte-active.transporte-light-mode-active th,
#transporte.transporte-light-mode thead,
#transporte.transporte-light-mode th {
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  border-bottom: 2px solid #CBD5E1 !important;
  font-weight: 800 !important;
}

body.siget-transporte-active.transporte-light-mode-active td,
#transporte.transporte-light-mode td {
  background-color: #FFFFFF !important;
  color: #1E293B !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active tr:hover td,
#transporte.transporte-light-mode tr:hover td {
  background-color: #F8FAFC !important;
}

/* Inputs y Selects en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active input:not([type="checkbox"]):not([type="radio"]),
body.siget-transporte-active.transporte-light-mode-active select,
body.siget-transporte-active.transporte-light-mode-active textarea,
#transporte.transporte-light-mode input:not([type="checkbox"]):not([type="radio"]),
#transporte.transporte-light-mode select,
#transporte.transporte-light-mode textarea {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
}

body.siget-transporte-active.transporte-light-mode-active input::placeholder,
body.siget-transporte-active.transporte-light-mode-active textarea::placeholder,
#transporte.transporte-light-mode input::placeholder,
#transporte.transporte-light-mode textarea::placeholder {
  color: #94A3B8 !important;
}

body.siget-transporte-active.transporte-light-mode-active input:focus,
body.siget-transporte-active.transporte-light-mode-active select:focus,
body.siget-transporte-active.transporte-light-mode-active textarea:focus,
#transporte.transporte-light-mode input:focus,
#transporte.transporte-light-mode select:focus,
#transporte.transporte-light-mode textarea:focus {
  border-color: #E11D48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15) !important;
}

/* Modales y Paneles Flotantes en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .fixed > div.bg-\[\#1E1E24\],
body.siget-transporte-active.transporte-light-mode-active .fixed > div.bg-\[\#141418\],
#transporte.transporte-light-mode .fixed > div.bg-\[\#1E1E24\],
#transporte.transporte-light-mode .fixed > div.bg-\[\#141418\] {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2) !important;
  color: #0F172A !important;
}

/* ====================================================================
   POPUP DE TELEMETRIA SATELITAL GPS (LEAFLET EN TRANSPORTE)
   Contraste nítido, bisel industrial, 100% legible
   ==================================================================== */
.leaflet-popup-content-wrapper,
.siget-custom-popup .leaflet-popup-content-wrapper {
  background: #18181D !important;
  color: #FFFFFF !important;
  border: 2px solid #EAB308 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(234, 179, 8, 0.3) !important;
  padding: 2px !important;
}

.leaflet-popup-tip,
.siget-custom-popup .leaflet-popup-tip {
  background: #18181D !important;
  border: 2px solid #EAB308 !important;
}

.leaflet-popup-content {
  margin: 10px 12px !important;
  line-height: 1.4 !important;
  color: #FFFFFF !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #EAB308 !important;
  padding: 6px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #FFFFFF !important;
}

/* Forzar contraste legible en elementos internos del popup */
.siget-custom-popup div,
.siget-custom-popup span,
.siget-custom-popup p {
  text-shadow: none !important;
}
.siget-custom-popup strong {
  color: #EAB308 !important;
  font-weight: 900 !important;
}

/* Modo Claro Leaflet Popup */
body.transporte-light-theme .leaflet-popup-content-wrapper,
body.transporte-light-theme .siget-custom-popup .leaflet-popup-content-wrapper {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 2px solid #D97706 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 12px rgba(217, 119, 6, 0.3) !important;
}

body.transporte-light-theme .leaflet-popup-tip,
body.transporte-light-theme .siget-custom-popup .leaflet-popup-tip {
  background: #FFFFFF !important;
  border: 2px solid #D97706 !important;
}

body.transporte-light-theme .leaflet-popup-content {
  color: #0F172A !important;
}

body.transporte-light-theme .siget-custom-popup strong {
  color: #B45309 !important;
}


/* ==========================================================================
   TARJETAS VEHICULARES INDUSTRIALES - HUD DURO (CENSO DE UNIDADES)
   Aplica de forma global e inequívoca a .hud-industrial-card y derivados
   ========================================================================== */

.hud-industrial-card,
body.siget-transporte-active .hud-industrial-card,
#transporte .hud-industrial-card {
  position: relative !important;
  background: radial-gradient(circle at 50% 25%, #1e2028 0%, #111216 100%) !important;
  border: 1.5px solid #2d303c !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px #16171d !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin-bottom: 0.5rem !important;
}

.hud-industrial-card:hover,
body.siget-transporte-active .hud-industrial-card:hover,
#transporte .hud-industrial-card:hover {
  border-color: #4a4e60 !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Placa metálica remachada para Código Interno [ B-01 ] */
.hud-plate-code,
body.siget-transporte-active .hud-plate-code,
#transporte .hud-plate-code {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, #323540 0%, #1f2128 100%) !important;
  border: 1.5px solid #4a4e5d !important;
  border-radius: 6px !important;
  padding: 3px 12px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  color: #ffffff !important;
  letter-spacing: 0.12em !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 3px 6px rgba(0, 0, 0, 0.5) !important;
}

/* Remaches en las esquinas */
.hud-rivet,
body.siget-transporte-active .hud-rivet,
#transporte .hud-rivet {
  position: absolute !important;
  width: 3.5px !important;
  height: 3.5px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
  box-shadow: inset 0.5px 0.5px 0.5px #ffffff, 0 1px 1px #000000 !important;
}

/* Placa metálica atornillada para Estatus [ OPERATIVO ] */
.hud-plaque-status,
body.siget-transporte-active .hud-plaque-status,
#transporte .hud-plaque-status {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  padding: 3px 14px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 3px 6px rgba(0, 0, 0, 0.5) !important;
}

.hud-plaque-operativo,
body.siget-transporte-active .hud-plaque-operativo,
#transporte .hud-plaque-operativo {
  background: linear-gradient(180deg, #facc15 0%, #ca8a04 100%) !important;
  border: 1.5px solid #eab308 !important;
  color: #171404 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.hud-plaque-taller,
body.siget-transporte-active .hud-plaque-taller,
#transporte .hud-plaque-taller {
  background: linear-gradient(180deg, #f97316 0%, #c2410c 100%) !important;
  border: 1.5px solid #ea580c !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.hud-plaque-inoperativo,
body.siget-transporte-active .hud-plaque-inoperativo,
#transporte .hud-plaque-inoperativo {
  background: linear-gradient(180deg, #f43f5e 0%, #9f1239 100%) !important;
  border: 1.5px solid #e11d48 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

/* Tornillos oscuros empotrados */
.hud-screw,
body.siget-transporte-active .hud-screw,
#transporte .hud-screw {
  position: absolute !important;
  width: 3.5px !important;
  height: 3.5px !important;
  border-radius: 50% !important;
  background: #18181b !important;
  box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Barras Segmentadas LED (Combustible y Aceite) */
.hud-led-bar,
body.siget-transporte-active .hud-led-bar,
#transporte .hud-led-bar {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3.5px !important;
}

.hud-led-seg,
body.siget-transporte-active .hud-led-seg,
#transporte .hud-led-seg {
  width: 9px !important;
  height: 12px !important;
  border-radius: 2px !important;
  display: inline-block !important;
}

.hud-led-seg-lit-gold,
body.siget-transporte-active .hud-led-seg-lit-gold,
#transporte .hud-led-seg-lit-gold {
  background: #eab308 !important;
  border: 1px solid #fde047 !important;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.8) !important;
}

.hud-led-seg-off,
body.siget-transporte-active .hud-led-seg-off,
#transporte .hud-led-seg-off {
  background: #23252f !important;
  border: 1px solid #1a1b22 !important;
  opacity: 0.55 !important;
}

/* Dock de Acciones Inferior */
.hud-dock,
body.siget-transporte-active .hud-dock,
#transporte .hud-dock {
  background: #101115 !important;
  border-top: 1.5px solid #232630 !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.hud-dock-btn-red,
body.siget-transporte-active .hud-dock-btn-red,
#transporte .hud-dock-btn-red {
  background: linear-gradient(180deg, #2b1419 0%, #1e0e12 100%) !important;
  border: 1.5px solid #e11d48 !important;
  color: #fb7185 !important;
  border-radius: 6px !important;
  padding: 5px 11px !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}

.hud-dock-btn-red:hover,
body.siget-transporte-active .hud-dock-btn-red:hover,
#transporte .hud-dock-btn-red:hover {
  background: #e11d48 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.6) !important;
  transform: translateY(-1px) !important;
}

.hud-dock-btn-gold,
body.siget-transporte-active .hud-dock-btn-gold,
#transporte .hud-dock-btn-gold {
  background: linear-gradient(180deg, #2e2612 0%, #1f1a0c 100%) !important;
  border: 1.5px solid #eab308 !important;
  color: #facc15 !important;
  border-radius: 6px !important;
  padding: 5px 11px !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}

.hud-dock-btn-gold:hover,
body.siget-transporte-active .hud-dock-btn-gold:hover,
#transporte .hud-dock-btn-gold:hover {
  background: #eab308 !important;
  color: #181504 !important;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.6) !important;
  transform: translateY(-1px) !important;
}


/* ==========================================================================
   BADGES DE ESTADO OPERATIVO (ONLINE / OFFLINE) PARA FLOTA Y TARJETAS
   Diseño de Alta Legibilidad: Fondo verde esmeralda oscuro con texto verde brillante
   ========================================================================== */
.badge-status-online,
body.siget-transporte-active .badge-status-online,
.siget-theme .badge-status-online,
#transporte .badge-status-online {
  background: rgba(234, 179, 8, 0.14) !important;
  background-color: rgba(234, 179, 8, 0.14) !important;
  color: #facc15 !important;
  border: 1px solid rgba(234, 179, 8, 0.55) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 800 !important;
}

.badge-status-online .badge-status-dot,
body.siget-transporte-active .badge-status-online .badge-status-dot,
.siget-theme .badge-status-online .badge-status-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 9999px !important;
  background-color: #facc15 !important;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.9) !important;
  display: inline-block !important;
}

.badge-status-offline,
body.siget-transporte-active .badge-status-offline,
.siget-theme .badge-status-offline,
#transporte .badge-status-offline {
  background: rgba(24, 24, 27, 0.85) !important;
  background-color: rgba(24, 24, 27, 0.85) !important;
  color: #a1a1aa !important;
  border: 1px solid #3f3f46 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 800 !important;
}

.badge-status-offline .badge-status-dot,
body.siget-transporte-active .badge-status-offline .badge-status-dot,
.siget-theme .badge-status-offline .badge-status-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 9999px !important;
  background-color: #71717a !important;
  display: inline-block !important;
}




/* ==========================================================================
   SIGET EXPEDIENTE 360° - TECH-TREE HUD ASYMMETRICAL OPERATIONAL NETWORK
   ========================================================================== */
.hud-console {
  position: relative !important;
  width: 100% !important;
  background: #050508 !important;
  border: 1px solid #1C1C26 !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  box-shadow: 0 0 60px rgba(0,0,0,0.95), inset 0 0 120px rgba(0,0,0,0.9) !important;
  overflow: hidden !important;
}

.hud-grid-bg {
  position: absolute !important;
  inset: 0 !important;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(234, 179, 8, 0.04) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important;
  background-size: 100% 100%, 36px 36px, 36px 36px !important;
  pointer-events: none !important;
}

.hud-header {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(234, 179, 8, 0.25) !important;
  padding-bottom: 14px !important;
  margin-bottom: 12px !important;
}

.hud-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hud-main-title {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 3px !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.hud-pills-row {
  display: flex !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

.hud-pill {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  border: 1px solid #EAB308 !important;
  color: #EAB308 !important;
  background: rgba(234, 179, 8, 0.08) !important;
  letter-spacing: 1px !important;
}

.hud-pill.active {
  background: #EAB308 !important;
  color: #060608 !important;
  font-weight: 800 !important;
}

.corner-widget {
  position: absolute !important;
  z-index: 5 !important;
  pointer-events: none !important;
}
.corner-top-left { top: 22px !important; left: 24px !important; }
.corner-top-right { top: 22px !important; right: 24px !important; }
.corner-bottom-left { bottom: 20px !important; left: 24px !important; }
.corner-bottom-right { bottom: 20px !important; right: 24px !important; }

.tree-stage {
  position: relative !important;
  width: 100% !important;
  height: 520px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: #EAB308 #121218 !important;
  -webkit-overflow-scrolling: touch !important;
}

.tree-svg-canvas {
  width: 1420px !important;
  height: 520px !important;
  display: block !important;
}

.tree-node-group {
  cursor: pointer !important;
}
.tree-node-group .hex-bg {
  transition: filter 0.2s ease, stroke-width 0.2s ease !important;
}
.tree-node-group:hover .hex-bg {
  filter: drop-shadow(0 0 12px rgba(234, 179, 8, 0.85)) !important;
  stroke-width: 3px !important;
}

.tree-text-doc {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
}
.tree-text-sub {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  fill: #8E8E9F !important;
}
.tree-text-metric {
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
}


/* ==========================================================================
   SIGET HUD MAP DRAWER & 3-RAMAS TOPOLOGY ENHANCEMENTS
   ========================================================================== */
.hud-map-drawer {
  position: relative !important;
  z-index: 2 !important;
  background: #0B0C12 !important;
  border: 1px solid #1F2232 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-top: 14px !important;
}

.hud-map-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

#route-leaflet-map {
  height: 320px !important;
  width: 100% !important;
  border-radius: 12px !important;
  border: 1px solid #2B2E42 !important;
}

.dark-tiles {
  filter: brightness(0.65) invert(1) contrast(2.5) hue-rotate(200deg) saturate(0.2) !important;
}

.tree-node-group.orange:hover .hex-bg {
  filter: drop-shadow(0 0 12px rgba(251, 146, 60, 0.9)) !important;
}

.tree-node-group.cyan:hover .hex-bg {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.9)) !important;
}

.hud-pill.cyan {
  border-color: #38BDF8 !important;
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

/* ==========================================================================
   TICKET TÉRMICO EPSON TM-T20III - COMPATIBILIDAD BÁSCULA ROMANA
   ========================================================================== */
.toneladas-netas-box {
  text-align: center !important;
  margin: 10px 0 !important;
  border: 2px solid #000000 !important;
  border-radius: 4px !important;
  padding: 8px !important;
  width: 100% !important;
  background: #ffffff !important;
  color: #000000 !important;
  opacity: 1 !important;
}

.toneladas-netas-label {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  opacity: 1 !important;
  margin-bottom: 4px !important;
  text-align: center !important;
}

.toneladas-netas-val {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.ticket-logo {
  display: block !important;
  margin: 0 !important;
  width: 50px !important;
  max-width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  filter: grayscale(100%) contrast(250%) brightness(0) !important;
  -webkit-filter: grayscale(100%) contrast(250%) brightness(0) !important;
}

.ticket-wrap {
  width: 72mm !important;
  max-width: 72mm !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #000000 !important;
}


/* === IMAPSAS TRANSPORTE NO-GREEN & ANTI-JUMP HOVER === */
.leaflet-marker-icon,
.leaflet-marker-icon:hover,
.siget-marker-container,
.siget-marker-container:hover {
  transition: none !important;
}

.siget-truck-pin,
.siget-truck-pin * {
  transition: box-shadow 0.15s ease, border-color 0.15s ease !important;
}

body.siget-transporte-active .text-emerald-400,
body.siget-transporte-active .text-emerald-300,
body.siget-transporte-active .text-emerald-500,
body.siget-transporte-active .text-green-400,
body.siget-transporte-active .text-green-500,
.siget-theme .text-emerald-400,
.siget-theme .text-emerald-300,
.siget-theme .text-emerald-500,
#transporte .text-emerald-400,
#transporte .text-emerald-300 {
  color: #EAB308 !important;
}

body.siget-transporte-active .bg-emerald-500,
body.siget-transporte-active .bg-emerald-600,
body.siget-transporte-active .bg-green-500,
.siget-theme .bg-emerald-500,
#transporte .bg-emerald-500 {
  background-color: #EAB308 !important;
}

body.siget-transporte-active .hover\:border-emerald-500:hover,
.siget-theme .hover\:border-emerald-500:hover,
#transporte .hover\:border-emerald-500:hover {
  border-color: #EAB308 !important;
}

.rugged-card-outer,
.rugged-card-amber,
.rugged-card-body {
  border-radius: 0px !important;
}
.rugged-card-outer { background-color: #3F3F46 !important; }
.rugged-card-amber { background-color: #EAB308 !important; }
.rugged-card-body {
  background-color: #121215 !important;
  background-image: radial-gradient(#27272A 1px, transparent 1px) !important;
  background-size: 6px 6px !important;
}

.rugged-person-outer:hover .rugged-card-amber {
  filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.25));
}

.rugged-tactical-wrap {
  padding: 1px;
  background-color: #3F3F46;
  border-radius: 0px !important;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: background-color 0.16s ease, filter 0.16s ease;
}

.rugged-tactical-wrap:hover {
  background-color: #EAB308 !important;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.55));
}

.rugged-tactical-wrap.rugged-tactical-danger {
  background-color: rgba(225, 29, 72, 0.55);
}

.rugged-tactical-wrap.rugged-tactical-danger:hover {
  background-color: #EAB308 !important;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.55));
}

.rugged-tactical-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #09090B;
  color: #D4D4D8;
  border-radius: 0px !important;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: background-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.rugged-tactical-wrap:hover .rugged-tactical-btn {
  background-color: #181408 !important;
  color: #EAB308 !important;
}

.rugged-tactical-wrap.rugged-tactical-danger .rugged-tactical-btn {
  color: #FDA4AF;
}

.rugged-tactical-wrap.rugged-tactical-danger:hover .rugged-tactical-btn {
  background-color: #181408 !important;
  color: #EAB308 !important;
}

/* === HEAVY DUTY 3D PERSONAL RUGGED HARDWARE === */
.rugged-person-drop {
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.92)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85));
  transition: filter 0.18s ease;
}

.rugged-person-drop:hover {
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.96)) drop-shadow(0 0 10px rgba(234, 179, 8, 0.24));
}

.rugged-person-armor {
  background: linear-gradient(145deg, #5C5C68 0%, #3F3F46 32%, #27272A 68%, #16161A 100%) !important;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.22), inset 0 -3px 3px rgba(0, 0, 0, 0.88) !important;
  border-radius: 0px !important;
}

.rugged-amber-lock {
  background: linear-gradient(155deg, #FDE047 0%, #EAB308 42%, #A16207 84%, #713F12 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 5px rgba(0, 0, 0, 0.85) !important;
  border-radius: 0px !important;
}

.rugged-recessed-well {
  background-color: #0D0D10 !important;
  background-image: radial-gradient(#27272A 1px, transparent 1px) !important;
  background-size: 6px 6px !important;
  box-shadow: inset 0 7px 15px rgba(0, 0, 0, 0.96), inset 0 0 28px rgba(0, 0, 0, 0.92), inset 0 -3px 8px rgba(0, 0, 0, 0.85) !important;
  border-radius: 0px !important;
}

.rugged-screw-hex {
  width: 11px;
  height: 11px;
  background: radial-gradient(circle at 32% 28%, #D4D4D8 0%, #71717A 44%, #27272A 82%, #09090B 100%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.rugged-screw-slot {
  width: 7px;
  height: 1.5px;
  background: #09090B;
  transform: rotate(-32deg);
}

.rugged-dock-tray {
  background: #060608;
  border: 1px solid #27272A;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.96), 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 0px !important;
}

.rugged-key-btn {
  width: 30px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px !important;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.rugged-key-btn:active {
  transform: scale(0.95) translateY(1px);
  border-bottom-width: 1px !important;
}

.rugged-key-amber {
  background: linear-gradient(180deg, #FACC15 0%, #EAB308 62%, #B45309 100%);
  color: #09090B;
  border-top: 1px solid #FEF08A;
  border-left: 1px solid #FDE047;
  border-right: 1px solid #A16207;
  border-bottom: 3px solid #713F12;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

.rugged-key-amber:hover {
  filter: brightness(1.1) drop-shadow(0 0 7px rgba(234, 179, 8, 0.72));
}

.rugged-key-steel {
  background: linear-gradient(180deg, #63636E 0%, #3F3F46 60%, #27272A 100%);
  color: #F4F4F5;
  border-top: 1px solid #A1A1AA;
  border-left: 1px solid #52525B;
  border-right: 1px solid #27272A;
  border-bottom: 3px solid #09090B;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

.rugged-key-steel:hover {
  border-top-color: #EAB308;
  color: #FACC15;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.5));
}

.rugged-key-danger {
  background: linear-gradient(180deg, #F43F5E 0%, #E11D48 58%, #9F1239 100%);
  color: #FFFFFF;
  border-top: 1px solid #FDA4AF;
  border-left: 1px solid #FB7185;
  border-right: 1px solid #881337;
  border-bottom: 3px solid #4C0519;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

.rugged-key-danger:hover {
  filter: brightness(1.12) drop-shadow(0 0 7px rgba(244, 63, 94, 0.65));
}


/* ==========================================================================
   IMAPSAS TRANSPORTE — ESPECIFICACIÓN INTEGRAL DE MODO CLARO DE ALTO CONTRASTE
   Aplica en todas las subvistas: Flota/Censo, Personal, Patio, Taller, Logística, Reportes
   ========================================================================== */

/* ── A. SUPERFICIES, CONTENEDORES Y FONDOS EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active .bg-\[\#141418\],
body.siget-transporte-active .transporte-light-mode .bg-\[\#141418\],
#transporte.transporte-light-mode .bg-\[\#141418\],
.transporte-light-mode .bg-\[\#141418\] {
  background-color: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .bg-\[\#1E1E24\],
body.siget-transporte-active .transporte-light-mode .bg-\[\#1E1E24\],
#transporte.transporte-light-mode .bg-\[\#1E1E24\],
.transporte-light-mode .bg-\[\#1E1E24\] {
  background-color: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

body.siget-transporte-active.transporte-light-mode-active .bg-\[\#2E2E38\],
body.siget-transporte-active .transporte-light-mode .bg-\[\#2E2E38\],
#transporte.transporte-light-mode .bg-\[\#2E2E38\],
.transporte-light-mode .bg-\[\#2E2E38\] {
  background-color: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
}

body.siget-transporte-active.transporte-light-mode-active .border-\[\#2E2E38\],
body.siget-transporte-active .transporte-light-mode .border-\[\#2E2E38\],
#transporte.transporte-light-mode .border-\[\#2E2E38\],
.transporte-light-mode .border-\[\#2E2E38\] {
  border-color: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .border-\[\#1E1E24\],
body.siget-transporte-active .transporte-light-mode .border-\[\#1E1E24\],
#transporte.transporte-light-mode .border-\[\#1E1E24\],
.transporte-light-mode .border-\[\#1E1E24\] {
  border-color: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .divide-\[\#2E2E38\] > :not([hidden]) ~ :not([hidden]),
body.siget-transporte-active .transporte-light-mode .divide-\[\#2E2E38\] > :not([hidden]) ~ :not([hidden]),
#transporte.transporte-light-mode .divide-\[\#2E2E38\] > :not([hidden]) ~ :not([hidden]) {
  border-color: #E2E8F0 !important;
}

/* ── B. TIPOGRAFÍA Y TÍTULOS EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active .text-\[\#FFFFFF\],
body.siget-transporte-active .transporte-light-mode .text-\[\#FFFFFF\],
#transporte.transporte-light-mode .text-\[\#FFFFFF\],
.transporte-light-mode .text-\[\#FFFFFF\] {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active h1.text-white,
body.siget-transporte-active.transporte-light-mode-active h2.text-white,
body.siget-transporte-active.transporte-light-mode-active h3.text-white,
body.siget-transporte-active .transporte-light-mode h1.text-white,
body.siget-transporte-active .transporte-light-mode h2.text-white,
body.siget-transporte-active .transporte-light-mode h3.text-white,
#transporte.transporte-light-mode h1.text-white,
#transporte.transporte-light-mode h2.text-white,
#transporte.transporte-light-mode h3.text-white {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .text-\[\#A1A1AA\],
body.siget-transporte-active .transporte-light-mode .text-\[\#A1A1AA\],
#transporte.transporte-light-mode .text-\[\#A1A1AA\],
.transporte-light-mode .text-\[\#A1A1AA\] {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .text-gray-400,
body.siget-transporte-active.transporte-light-mode-active .text-zinc-400,
body.siget-transporte-active .transporte-light-mode .text-gray-400,
body.siget-transporte-active .transporte-light-mode .text-zinc-400 {
  color: #64748B !important;
}

/* ── C. ENCABEZADOS Y BANNERS DE SUBVISTAS (PERSONAL, VEHÍCULOS, PATIO, TALLER, ETC.) ── */
body.siget-transporte-active.transporte-light-mode-active div[class*="bg-[#1E1E24]"][class*="rounded-2xl"],
body.siget-transporte-active .transporte-light-mode div[class*="bg-[#1E1E24]"][class*="rounded-2xl"],
#transporte.transporte-light-mode div[class*="bg-[#1E1E24]"][class*="rounded-2xl"] {
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Contenedores de estadísticas / métricas dentro del banner (ej: PERSONAL REGISTRADO, GUARDIAS) */
body.siget-transporte-active.transporte-light-mode-active div[class*="bg-[#1E1E24]"] div[class*="border-[#2E2E38]"],
body.siget-transporte-active .transporte-light-mode div[class*="bg-[#1E1E24]"] div[class*="border-[#2E2E38]"] {
  background-color: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

/* ── D. CENSO DE UNIDADES Y FLOTA: TARJETAS INDUSTRIALES HUD EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active .hud-industrial-card,
body.siget-transporte-active .transporte-light-mode .hud-industrial-card,
#transporte.transporte-light-mode .hud-industrial-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

body.siget-transporte-active.transporte-light-mode-active .hud-industrial-card:hover,
body.siget-transporte-active .transporte-light-mode .hud-industrial-card:hover,
#transporte.transporte-light-mode .hud-industrial-card:hover {
  border-color: #EAB308 !important;
  box-shadow: 0 10px 25px rgba(234, 179, 8, 0.15) !important;
}

/* Título de Modelo del vehículo (FORLAND, SINOTRUK, etc.) en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .hud-industrial-card h3,
body.siget-transporte-active.transporte-light-mode-active .hud-industrial-card .font-black,
body.siget-transporte-active .transporte-light-mode .hud-industrial-card h3,
#transporte.transporte-light-mode .hud-industrial-card h3 {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .hud-industrial-card p,
body.siget-transporte-active .transporte-light-mode .hud-industrial-card p {
  color: #475569 !important;
}

/* Dock inferior de la tarjeta del vehículo */
body.siget-transporte-active.transporte-light-mode-active .hud-dock,
body.siget-transporte-active .transporte-light-mode .hud-dock,
#transporte.transporte-light-mode .hud-dock {
  background: #F1F5F9 !important;
  border-top: 1.5px solid #E2E8F0 !important;
}

/* Segmentos LED en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .hud-led-seg-off,
body.siget-transporte-active .transporte-light-mode .hud-led-seg-off,
#transporte.transporte-light-mode .hud-led-seg-off {
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
  opacity: 0.8 !important;
}

/* Toolbar de Filtros y Búsqueda en Censo de Unidades */
body.siget-transporte-active.transporte-light-mode-active .bg-\[\#141418\].rounded-2xl,
body.siget-transporte-active .transporte-light-mode .bg-\[\#141418\].rounded-2xl,
#transporte.transporte-light-mode .bg-\[\#141418\].rounded-2xl {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* ── E. PERSONAL OPERATIVO: TARJETAS RUGGED INDUSTRIALES EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active .rugged-person-armor,
body.siget-transporte-active .transporte-light-mode .rugged-person-armor {
  background: linear-gradient(145deg, #FFFFFF 0%, #F1F5F9 42%, #E2E8F0 80%, #CBD5E1 100%) !important;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.8), 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well,
body.siget-transporte-active .transporte-light-mode .rugged-recessed-well {
  background-color: #FFFFFF !important;
  background-image: radial-gradient(#E2E8F0 1.5px, transparent 1.5px) !important;
  background-size: 8px 8px !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well * {
  color: #0F172A;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well .text-zinc-400,
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well .text-zinc-500,
body.siget-transporte-active .transporte-light-mode .rugged-recessed-well .text-zinc-400 {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-dock-tray,
body.siget-transporte-active .transporte-light-mode .rugged-dock-tray {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Sub-pestañas tácticas (Directorio, Calendario, Organigrama) en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .flex.items-center.gap-2.border-b button,
body.siget-transporte-active .transporte-light-mode .flex.items-center.gap-2.border-b button {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .flex.items-center.gap-2.border-b button.bg-amber-400,
body.siget-transporte-active.transporte-light-mode-active .flex.items-center.gap-2.border-b button.bg-amber-500,
body.siget-transporte-active.transporte-light-mode-active .flex.items-center.gap-2.border-b button[class*="bg-amber"],
body.siget-transporte-active .transporte-light-mode .flex.items-center.gap-2.border-b button[class*="bg-amber"] {
  background-color: #EAB308 !important;
  border-color: #D97706 !important;
  color: #0F172A !important;
  font-weight: 900 !important;
}

/* ── F. TABLAS OPERATIVAS (BÁSCULA, LOGÍSTICA, TALLER, PERSONAL) ── */
body.siget-transporte-active.transporte-light-mode-active th,
body.siget-transporte-active .transporte-light-mode th {
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  border-bottom: 2px solid #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active td,
body.siget-transporte-active .transporte-light-mode td {
  background-color: #FFFFFF !important;
  color: #1E293B !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active tr:hover td,
body.siget-transporte-active .transporte-light-mode tr:hover td {
  background-color: #F8FAFC !important;
}

/* ── G. FOOTER DE TRANSPORTE EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active footer,
body.siget-transporte-active.transporte-light-mode-active #transporte-footer,
body.siget-transporte-active .transporte-light-mode footer,
#transporte.transporte-light-mode footer {
  background-color: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}


/* ==========================================================================
   IMAPSAS TRANSPORTE — REGLAS DE ULTRA-ALTA ESPECIFICIDAD PARA MODO CLARO
   Supera cualquier regla residual heredada de index-BC1VfE5_.css
   ========================================================================== */

/* ── 1. INPUTS, SELECTS Y TEXTAREAS EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container input:not([type="checkbox"]):not([type="radio"]):not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container select:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container textarea:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active .transporte-light-mode #transporte-main-container input:not([type="checkbox"]):not([type="radio"]):not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active .transporte-light-mode #transporte-main-container select:not(#printable-ticket *):not(.printable-thermal-ticket *),
#transporte.transporte-light-mode input:not([type="checkbox"]):not([type="radio"]):not(#printable-ticket *):not(.printable-thermal-ticket *),
#transporte.transporte-light-mode select:not(#printable-ticket *):not(.printable-thermal-ticket *) {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte-main-container input::placeholder,
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container textarea::placeholder,
body.siget-transporte-active .transporte-light-mode #transporte-main-container input::placeholder {
  color: #94A3B8 !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte-main-container input:focus,
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container select:focus,
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container textarea:focus {
  border-color: #EAB308 !important;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2) !important;
  outline: none !important;
}

/* ── 2. CABECERAS Y CUERPOS DE TABLAS EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container thead:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container thead th:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container th:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active .transporte-light-mode #transporte-main-container thead:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active .transporte-light-mode #transporte-main-container thead th:not(#printable-ticket *):not(.printable-thermal-ticket *),
#transporte.transporte-light-mode thead:not(#printable-ticket *):not(.printable-thermal-ticket *),
#transporte.transporte-light-mode thead th:not(#printable-ticket *):not(.printable-thermal-ticket *) {
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  border-bottom: 2px solid #CBD5E1 !important;
  font-weight: 900 !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte-main-container tbody:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container td:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active .transporte-light-mode #transporte-main-container td:not(#printable-ticket *):not(.printable-thermal-ticket *),
#transporte.transporte-light-mode td:not(#printable-ticket *):not(.printable-thermal-ticket *) {
  background-color: #FFFFFF !important;
  color: #1E293B !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte-main-container tr:hover td:not(#printable-ticket *):not(.printable-thermal-ticket *) {
  background-color: #F8FAFC !important;
}

/* ── 3. SUPERFICIES BLANCAS RESPETADAS EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container .bg-white:not(#printable-ticket *):not(.printable-thermal-ticket *),
body.siget-transporte-active .transporte-light-mode #transporte-main-container .bg-white:not(#printable-ticket *):not(.printable-thermal-ticket *),
#transporte.transporte-light-mode .bg-white:not(#printable-ticket *):not(.printable-thermal-ticket *) {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #transporte-main-container .bg-slate-50:not(#printable-ticket *),
body.siget-transporte-active.transporte-light-mode-active #transporte-main-container .bg-slate-100:not(#printable-ticket *) {
  background-color: #F8FAFC !important;
}


/* ==========================================================================
   IMAPSAS TRANSPORTE — CORRECCIONES DE PRECISIÓN EN MODO CLARO
   1. Ficha Técnica Estática (Expediente)
   2. Chasis y Placas de Conductor (Registro de Conductores)
   3. Módulo de Control de Gasolina
   4. Módulo de Control de Diésel y Tarjetas KPI
   5. Timeline 360 / HUD Console
   ========================================================================== */

/* ── 1. FICHA TÉCNICA ESTÁTICA DE LA UNIDAD EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active .rugged-card-outer,
body.siget-transporte-active .transporte-light-mode .rugged-card-outer,
#transporte.transporte-light-mode .rugged-card-outer {
  background-color: #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-card-amber,
body.siget-transporte-active .transporte-light-mode .rugged-card-amber,
#transporte.transporte-light-mode .rugged-card-amber {
  background-color: #EAB308 !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-card-body,
body.siget-transporte-active .transporte-light-mode .rugged-card-body,
#transporte.transporte-light-mode .rugged-card-body {
  background-color: #FFFFFF !important;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px) !important;
  background-size: 8px 8px !important;
  border-color: #CBD5E1 !important;
}

/* Cabecera interna del módulo de ficha técnica */
body.siget-transporte-active.transporte-light-mode-active .rugged-card-body > div.flex.items-center,
body.siget-transporte-active .transporte-light-mode .rugged-card-body > div.flex.items-center,
#transporte.transporte-light-mode .rugged-card-body > div.flex.items-center {
  background-color: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-card-body h3,
body.siget-transporte-active .transporte-light-mode .rugged-card-body h3,
#transporte.transporte-light-mode .rugged-card-body h3 {
  color: #0F172A !important;
  text-shadow: none !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-card-body p,
body.siget-transporte-active .transporte-light-mode .rugged-card-body p,
#transporte.transporte-light-mode .rugged-card-body p {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-card-body span,
body.siget-transporte-active .transporte-light-mode .rugged-card-body span,
#transporte.transporte-light-mode .rugged-card-body span {
  color: #1E293B !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-card-body div.py-2\.5,
body.siget-transporte-active .transporte-light-mode .rugged-card-body div.py-2\.5 {
  border-top-color: #E2E8F0 !important;
}

/* ── 2. REGISTRO DE CONDUCTORES: PLACA DE OPERARIO Y DATOS EN MODO CLARO ── */
/* Placa superior donde van las iniciales y el nombre del conductor */
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well > div:first-child,
body.siget-transporte-active .transporte-light-mode .rugged-recessed-well > div:first-child,
#transporte.transporte-light-mode .rugged-recessed-well > div:first-child {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Nombre del conductor en modo claro */
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well h3,
body.siget-transporte-active .transporte-light-mode .rugged-recessed-well h3,
#transporte.transporte-light-mode .rugged-recessed-well h3 {
  color: #0F172A !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

/* Cédula y tag de empresa */
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well div.font-mono span,
body.siget-transporte-active .transporte-light-mode .rugged-recessed-well div.font-mono span,
#transporte.transporte-light-mode .rugged-recessed-well div.font-mono span {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well div.font-mono span[style*="color: #EAB308"],
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well div.font-mono span[style*="color: rgb(234, 179, 8)"] {
  color: #B45309 !important;
  font-weight: 800 !important;
}

/* Sub-retícula de documentos (Licencia, Certificado Médico, Habilitación) */
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well > div:nth-child(2),
body.siget-transporte-active .transporte-light-mode .rugged-recessed-well > div:nth-child(2),
#transporte.transporte-light-mode .rugged-recessed-well > div:nth-child(2) {
  background-color: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
}

body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well > div:nth-child(2) span,
body.siget-transporte-active.transporte-light-mode-active .rugged-recessed-well > div:nth-child(2) div,
#transporte.transporte-light-mode .rugged-recessed-well > div:nth-child(2) span,
#transporte.transporte-light-mode .rugged-recessed-well > div:nth-child(2) div {
  color: #1E293B !important;
}

/* ── 3. CONTROL EXCLUSIVO DE GASOLINA EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner,
body.siget-transporte-active .transporte-light-mode #gasolina-context-banner,
#transporte.transporte-light-mode #gasolina-context-banner {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner h1,
body.siget-transporte-active .transporte-light-mode #gasolina-context-banner h1 {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner p,
body.siget-transporte-active .transporte-light-mode #gasolina-context-banner p {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-top-summary-cards > div,
body.siget-transporte-active .transporte-light-mode #gasolina-top-summary-cards > div,
#transporte.transporte-light-mode #gasolina-top-summary-cards > div {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-top-summary-cards span,
body.siget-transporte-active.transporte-light-mode-active #gasolina-top-summary-cards p,
#transporte.transporte-light-mode #gasolina-top-summary-cards span,
#transporte.transporte-light-mode #gasolina-top-summary-cards p {
  color: #0F172A !important;
}

/* ── 4. CONTROL Y DESPACHO DE DIÉSEL EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner,
body.siget-transporte-active .transporte-light-mode #diesel-context-banner,
#transporte.transporte-light-mode #diesel-context-banner {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner h1,
body.siget-transporte-active .transporte-light-mode #diesel-context-banner h1 {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner p,
body.siget-transporte-active .transporte-light-mode #diesel-context-banner p {
  color: #475569 !important;
}

/* Tarjetas KPI de Diésel (Total Despachado, Flota Oficial, Tercerizada, Apoyo) */
body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid > div,
body.siget-transporte-active .transporte-light-mode #diesel-kpi-grid > div,
#transporte.transporte-light-mode #diesel-kpi-grid > div {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid > div span,
body.siget-transporte-active .transporte-light-mode #diesel-kpi-grid > div span {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid > div .text-3xl,
body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid > div .text-4xl,
body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid > div .font-mono,
body.siget-transporte-active .transporte-light-mode #diesel-kpi-grid > div .text-3xl,
body.siget-transporte-active .transporte-light-mode #diesel-kpi-grid > div .font-mono {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid > div span.text-\[\#EAB308\],
body.siget-transporte-active .transporte-light-mode #diesel-kpi-grid > div span.text-\[\#EAB308\] {
  color: #D97706 !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-kpi-grid .bg-white\/10 {
  background-color: #FEF3C7 !important;
  border-color: #FCD34D !important;
}

/* ── 5. TIMELINE 360 / HUD CONSOLE EN MODO CLARO ── */
body.siget-transporte-active.transporte-light-mode-active .hud-console,
body.siget-transporte-active .transporte-light-mode .hud-console,
#transporte.transporte-light-mode .hud-console {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

body.siget-transporte-active.transporte-light-mode-active .hud-main-title,
body.siget-transporte-active .transporte-light-mode .hud-main-title,
#transporte.transporte-light-mode .hud-main-title {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .hud-header div[style*="background: #0C0D12"],
body.siget-transporte-active.transporte-light-mode-active .hud-header div[style*="background: rgb(12, 13, 18)"],
body.siget-transporte-active .transporte-light-mode .hud-header div[style*="background: #0C0D12"] {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .tree-stage,
body.siget-transporte-active .transporte-light-mode .tree-stage {
  background: #F8FAFC !important;
}


/* ==========================================================================
   IMAPSAS TRANSPORTE — REFINAMIENTOS COMBUSTIBLE (DIÉSEL Y GASOLINA) EN MODO CLARO
   ========================================================================== */
body.siget-transporte-active.transporte-light-mode-active #filter-bar-tickets-diesel,
body.siget-transporte-active.transporte-light-mode-active #tab-content-tickets-gasolina,
body.siget-transporte-active .transporte-light-mode #filter-bar-tickets-diesel,
body.siget-transporte-active .transporte-light-mode #tab-content-tickets-gasolina,
#transporte.transporte-light-mode #filter-bar-tickets-diesel,
#transporte.transporte-light-mode #tab-content-tickets-gasolina {
  background-color: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

/* Fondos compuestos con opacidades y variantes de color oscuro en Diésel/Gasolina */
body.siget-transporte-active.transporte-light-mode-active div[class*="bg-[#141418]"],
body.siget-transporte-active.transporte-light-mode-active div[class*="bg-[#1E1E24]"],
body.siget-transporte-active.transporte-light-mode-active div[class*="bg-[#0e1628]"],
body.siget-transporte-active.transporte-light-mode-active div[class*="bg-[#141b2d]"],
body.siget-transporte-active.transporte-light-mode-active button[class*="bg-[#0e1628]"],
body.siget-transporte-active.transporte-light-mode-active button[class*="bg-[#141b2d]"],
body.siget-transporte-active.transporte-light-mode-active div[class*="from-[#1E1E24]"],
body.siget-transporte-active .transporte-light-mode div[class*="bg-[#141418]"],
body.siget-transporte-active .transporte-light-mode div[class*="bg-[#1E1E24]"],
body.siget-transporte-active .transporte-light-mode div[class*="bg-[#0e1628]"],
body.siget-transporte-active .transporte-light-mode div[class*="bg-[#141b2d]"],
body.siget-transporte-active .transporte-light-mode button[class*="bg-[#0e1628]"],
body.siget-transporte-active .transporte-light-mode button[class*="bg-[#141b2d]"],
body.siget-transporte-active .transporte-light-mode div[class*="from-[#1E1E24]"],
#transporte.transporte-light-mode div[class*="bg-[#141418]"],
#transporte.transporte-light-mode div[class*="bg-[#1E1E24]"],
#transporte.transporte-light-mode div[class*="bg-[#0e1628]"],
#transporte.transporte-light-mode div[class*="bg-[#141b2d]"],
#transporte.transporte-light-mode button[class*="bg-[#0e1628]"],
#transporte.transporte-light-mode button[class*="bg-[#141b2d]"],
#transporte.transporte-light-mode div[class*="from-[#1E1E24]"] {
  background-color: #FFFFFF !important;
  background-image: none !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

/* Botones de subpestañas inactivos en Diésel y Gasolina */
body.siget-transporte-active.transporte-light-mode-active button[class*="bg-[#0e1628]"]:not([class*="ring-"]):not([class*="border-orange-500"]),
body.siget-transporte-active .transporte-light-mode button[class*="bg-[#0e1628]"]:not([class*="ring-"]):not([class*="border-orange-500"]) {
  background-color: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #475569 !important;
}



/* ==========================================================================
   IMAPSAS TRANSPORTE — AJUSTES ESPECÍFICOS MODO CLARO (GASOLINA, DIÉSEL, MODALES)
   ========================================================================== */

/* ── 1. MODAL DE IMPORTACIÓN EXCEL (#imapsas-excel-import-modal-root) ── */
/* Corrección de Z-Index para evitar que la barra sticky de filtros perfore el modal (z-index: 30) */
#imapsas-excel-import-modal-root {
  z-index: 999999 !important;
}

/* Adaptación completa del Modal de Importación en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root,
#transporte.transporte-light-mode #imapsas-excel-import-modal-root {
  background-color: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px) !important;
}

body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root > div,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root > div,
#transporte.transporte-light-mode #imapsas-excel-import-modal-root > div {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Modal Header */
body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root > div > div:first-child,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root > div > div:first-child,
#transporte.transporte-light-mode #imapsas-excel-import-modal-root > div > div:first-child {
  background: #F8FAFC !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root h3,
body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root h3 span,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root h3,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root h3 span {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root p,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root p {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active #btn-close-excel-modal,
body.siget-transporte-active .transporte-light-mode #btn-close-excel-modal {
  color: #64748B !important;
}
body.siget-transporte-active.transporte-light-mode-active #btn-close-excel-modal:hover,
body.siget-transporte-active .transporte-light-mode #btn-close-excel-modal:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* Modal Formatos y Plantilla Bar */
body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root .bg-slate-800\/40,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root .bg-slate-800\/40 {
  background-color: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  color: #334155 !important;
}
body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root .bg-slate-800\/40 span,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root .bg-slate-800\/40 span {
  color: #334155 !important;
}
body.siget-transporte-active.transporte-light-mode-active #btn-download-excel-template,
body.siget-transporte-active .transporte-light-mode #btn-download-excel-template {
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active #btn-download-excel-template:hover,
body.siget-transporte-active .transporte-light-mode #btn-download-excel-template:hover {
  background: #CBD5E1 !important;
}

/* Modal Dropzone */
body.siget-transporte-active.transporte-light-mode-active #excel-dropzone,
body.siget-transporte-active .transporte-light-mode #excel-dropzone,
#transporte.transporte-light-mode #excel-dropzone {
  background: #F8FAFC !important;
  border: 2px dashed #CBD5E1 !important;
}
body.siget-transporte-active.transporte-light-mode-active #excel-dropzone > div,
body.siget-transporte-active .transporte-light-mode #excel-dropzone > div {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
body.siget-transporte-active.transporte-light-mode-active #excel-dropzone p,
body.siget-transporte-active .transporte-light-mode #excel-dropzone p {
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active #excel-dropzone p:last-child,
body.siget-transporte-active .transporte-light-mode #excel-dropzone p:last-child {
  color: #64748B !important;
}

/* Modal Preview cards */
body.siget-transporte-active.transporte-light-mode-active #excel-preview-container .bg-slate-800\/50,
body.siget-transporte-active .transporte-light-mode #excel-preview-container .bg-slate-800\/50 {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
body.siget-transporte-active.transporte-light-mode-active #preview-count,
body.siget-transporte-active .transporte-light-mode #preview-count {
  color: #0F172A !important;
}

/* Modal Preview Table */
body.siget-transporte-active.transporte-light-mode-active #excel-preview-container table,
body.siget-transporte-active .transporte-light-mode #excel-preview-container table {
  background: #FFFFFF !important;
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active #excel-preview-container thead,
body.siget-transporte-active .transporte-light-mode #excel-preview-container thead,
body.siget-transporte-active.transporte-light-mode-active #excel-preview-container thead th,
body.siget-transporte-active .transporte-light-mode #excel-preview-container thead th {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border-color: #E2E8F0 !important;
}
body.siget-transporte-active.transporte-light-mode-active #excel-preview-container tbody tr,
body.siget-transporte-active .transporte-light-mode #excel-preview-container tbody tr {
  border-color: #F1F5F9 !important;
  color: #0F172A !important;
}

/* Modal Footer */
body.siget-transporte-active.transporte-light-mode-active #imapsas-excel-import-modal-root > div > div:last-child,
body.siget-transporte-active .transporte-light-mode #imapsas-excel-import-modal-root > div > div:last-child,
#transporte.transporte-light-mode #imapsas-excel-import-modal-root > div > div:last-child {
  background: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
}
body.siget-transporte-active.transporte-light-mode-active #btn-cancel-excel-modal,
body.siget-transporte-active .transporte-light-mode #btn-cancel-excel-modal {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
}


/* ── 2. SUBPESTAÑAS DE GASOLINA (#gasolina-navigation-tabs) ── */
body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs,
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs,
#transporte.transporte-light-mode #gasolina-navigation-tabs {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Botones dentro de gasolina-navigation-tabs */
body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs button,
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs button,
#transporte.transporte-light-mode #gasolina-navigation-tabs button {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Botón activo en gasolina-navigation-tabs (solo el activo, no el hover:border-orange-500 de inactivos) */
body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs button[class*="from-orange-500"],
body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs button[class*="ring-orange-500"],
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs button[class*="from-orange-500"],
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs button[class*="ring-orange-500"],
#transporte.transporte-light-mode #gasolina-navigation-tabs button[class*="from-orange-500"] {
  background: #FFFBEB !important;
  border: 2px solid #F59E0B !important;
  color: #B45309 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15) !important;
}

/* Wrapper flex (icono + texto) siempre transparente — solo la cajita w-7 del icono lleva fondo */
body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs button > div:first-child,
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs button > div:first-child,
#transporte.transporte-light-mode #gasolina-navigation-tabs button > div:first-child {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs button > div:first-child > div.w-7,
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs button > div:first-child > div.w-7,
#transporte.transporte-light-mode #gasolina-navigation-tabs button > div:first-child > div.w-7 {
  background: #FEF3C7 !important;
  border: 1px solid #FCD34D !important;
  color: #B45309 !important;
  box-shadow: none !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-navigation-tabs button span,
body.siget-transporte-active .transporte-light-mode #gasolina-navigation-tabs button span {
  color: inherit !important;
}


/* ── 3. SUBPESTAÑAS DE DIÉSEL (#diesel-navigation-tabs) ── */
body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs,
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs,
#transporte.transporte-light-mode #diesel-navigation-tabs {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Botones dentro de diesel-navigation-tabs */
body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs button,
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs button,
#transporte.transporte-light-mode #diesel-navigation-tabs button {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Botón activo en diesel-navigation-tabs */
body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs button[class*="border-[#EAB308]"],
body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs button[class*="-translate-y-0.5"],
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"],
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs button[class*="-translate-y-0.5"],
#transporte.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"] {
  background: #FFFBEB !important;
  border: 2px solid #D97706 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.18) !important;
}

/* Contenedor de Icono en diesel-navigation-tabs */
body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs button > div:first-child,
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs button > div:first-child {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #D97706 !important;
}

/* Badges de despachos dentro de diesel-navigation-tabs */
body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs button span.font-mono,
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs button span.font-mono {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-navigation-tabs button span,
body.siget-transporte-active .transporte-light-mode #diesel-navigation-tabs button span {
  color: inherit !important;
}


/* ── 4. GASOLINA: CONSOLIDADO Y REPORTES (#gasolina-reportes-kpi-grid & SECCIÓN) ── */
/* 4 KPI cards en Consolidado y Reportes */
body.siget-transporte-active.transporte-light-mode-active #gasolina-reportes-kpi-grid > div,
body.siget-transporte-active .transporte-light-mode #gasolina-reportes-kpi-grid > div,
#transporte.transporte-light-mode #gasolina-reportes-kpi-grid > div {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-top: 3px solid #F59E0B !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-reportes-kpi-grid > div .text-3xl,
body.siget-transporte-active.transporte-light-mode-active #gasolina-reportes-kpi-grid > div .font-mono,
body.siget-transporte-active .transporte-light-mode #gasolina-reportes-kpi-grid > div .text-3xl,
body.siget-transporte-active .transporte-light-mode #gasolina-reportes-kpi-grid > div .font-mono {
  color: #0F172A !important;
}

/* Barra de progreso de flota vs apoyo en KPI 1 */
body.siget-transporte-active.transporte-light-mode-active #gasolina-reportes-kpi-grid > div .bg-\[\#050811\],
body.siget-transporte-active .transporte-light-mode #gasolina-reportes-kpi-grid > div .bg-\[\#050811\] {
  background: #E2E8F0 !important;
}

/* Switcher de períodos (Hoy / Esta Semana / Este Mes / Personalizado) */
body.siget-transporte-active.transporte-light-mode-active div.bg-\[\#070b16\],
body.siget-transporte-active .transporte-light-mode div.bg-\[\#070b16\] {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
}
body.siget-transporte-active.transporte-light-mode-active div.bg-\[\#070b16\] button:not([class*="from-orange-500"]),
body.siget-transporte-active .transporte-light-mode div.bg-\[\#070b16\] button:not([class*="from-orange-500"]) {
  color: #475569 !important;
}

/* Tabla A y Tabla B en Consolidado y Reportes */
body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card,
#transporte.transporte-light-mode #gasolina-flota-section-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card h3,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card h3 {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card p,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card p {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card input,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card input {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card table,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card table {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card thead th,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card thead th {
  background: #F8FAFC !important;
  color: #475569 !important;
  border-bottom: 2px solid #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card tbody tr,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card tbody tr {
  border-bottom: 1px solid #F1F5F9 !important;
}

body.siget-transporte-active.transporte-light-mode-active #gasolina-flota-section-card tbody tr:hover,
body.siget-transporte-active .transporte-light-mode #gasolina-flota-section-card tbody tr:hover {
  background: #F8FAFC !important;
}




/* ==========================================================================
   IMAPSAS TRANSPORTE — AUTOCOMPLETE COMBOBOX & SELECTORES EN MODO CLARO
   ========================================================================== */

/* 1. Input del Combobox en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] input,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] input,
#transporte.transporte-light-mode [id*="-combobox-wrapper"] input {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] input:focus,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] input:focus {
  border-color: #D97706 !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2) !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] button svg,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] button svg {
  color: #64748B !important;
}

/* 2. Contenedor Flotante del Menú Desplegable */
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"],
body.siget-transporte-active.transporte-light-mode-active div[class*="max-h-60"][class*="bg-slate-900"],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"],
body.siget-transporte-active .transporte-light-mode div[class*="max-h-60"][class*="bg-slate-900"],
#transporte.transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  scrollbar-color: #CBD5E1 #F8FAFC !important;
}

/* Divisores entre opciones */
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] > :not(:last-child),
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] > :not(:last-child) {
  border-bottom: 1px solid #F1F5F9 !important;
}

/* 3. Opciones Normales (No seleccionadas) */
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button,
body.siget-transporte-active.transporte-light-mode-active div[class*="max-h-60"][class*="bg-slate-900"] button,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button,
body.siget-transporte-active .transporte-light-mode div[class*="max-h-60"][class*="bg-slate-900"] button {
  background-color: #FFFFFF !important;
  border-left: 3px solid transparent !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button:hover,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button:hover {
  background-color: #F8FAFC !important;
}

/* Textos dentro de opciones normales */
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button .font-bold,
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button div[class*="text-white"],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button .font-bold,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button div[class*="text-white"] {
  color: #0F172A !important;
  font-weight: 700 !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button .text-\[11px\],
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button .text-slate-400,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button .text-\[11px\],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button .text-slate-400 {
  color: #64748B !important;
}

/* 4. Opción Seleccionada (isSel) */
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"],
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="bg-cyan-950"],
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-l-2"],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="bg-cyan-950"],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-l-2"] {
  background: #FFFBEB !important;
  background-color: #FFFBEB !important;
  border-left: 4px solid #D97706 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"] .font-bold,
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-l-2"] .font-bold,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"] .font-bold,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-l-2"] .font-bold {
  color: #0F172A !important;
  font-weight: 800 !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"] .text-\[11px\],
body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-l-2"] .text-\[11px\],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"] .text-\[11px\],
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-l-2"] .text-\[11px\] {
  color: #B45309 !important;
}

body.siget-transporte-active.transporte-light-mode-active [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"] svg,
body.siget-transporte-active .transporte-light-mode [id*="-combobox-wrapper"] div[class*="max-h-60"] button[class*="border-cyan-400"] svg {
  color: #D97706 !important;
}



.hud-plaque-irrecuperable, body.siget-transporte-active .hud-plaque-irrecuperable, #transporte .hud-plaque-irrecuperable {
  background: linear-gradient(180deg, #374151 0%, #111827 100%) !important;
  border: 1.5px solid #6b7280 !important;
  color: #fca5a5 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 3px 6px rgba(0, 0, 0, 0.7) !important;
}


/* === MODO DARK BENTO: TARJETAS DE INVENTARIO / ALMACÉN === */
.bento-inv-card {
  background-color: #111114 !important;
  border: 1px solid #27272A !important;
  border-radius: 1rem !important;
  padding: 1rem !important;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bento-inv-card:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
}
.bento-inv-kpi {
  background-color: #0D0D10 !important;
  border: 1px solid #27272A !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.bento-inv-rail {
  width: 100%;
  height: 6px;
  background-color: #3A280A !important;
  border-radius: 9999px;
  overflow: hidden;
}
.bento-inv-fill-ok { background-color: #F59E0B !important; }
.bento-inv-fill-low { background-color: #EF4444 !important; }
.bento-inv-knob {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background-color: #111114 !important;
  border: 3px solid #F59E0B !important;
  position: absolute;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}
.bento-inv-knob-low {
  border-color: #EF4444 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
.bento-inv-status-ok {
  background-color: rgba(245, 158, 11, 0.15) !important;
  color: #F59E0B !important;
  border-radius: 0.75rem !important;
}
.bento-inv-status-low {
  background-color: rgba(239, 68, 68, 0.15) !important;
  color: #F87171 !important;
  border-radius: 0.75rem !important;
}
.bento-inv-led-ok {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: #F59E0B !important;
  box-shadow: 0 0 10px #f59e0b !important;
}
.bento-inv-led-low {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: #EF4444 !important;
  box-shadow: 0 0 10px #ef4444 !important;
}
.bento-inv-pill {
  background-color: #0D0D10 !important;
  border: 1px solid #27272A !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 0.75rem !important;
}
.bento-inv-btn {
  width: 100%;
  background-color: transparent !important;
  border: 1px solid #27272A !important;
  border-radius: 0.75rem !important;
  padding: 0.625rem 0.75rem !important;
  color: #F59E0B !important;
  transition: all 0.2s ease;
}
.bento-inv-btn:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  background-color: rgba(245, 158, 11, 0.1) !important;
}


/* === TARJETA COMPACTA DE UNIDAD EN RUTA ("INDUSTRIAL RUGGED" MINI) === */
.rugged-route-outer {
  width: 100%;
  max-width: 310px;
  padding: 3px !important;
  background: linear-gradient(180deg, #71717A 0%, #3F3F46 50%, #27272A 100%) !important;
  border-radius: 0 !important;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}
.rugged-route-amber {
  padding: 1.5px !important;
  background: #EAB308 !important;
  border-radius: 0 !important;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.rugged-route-body {
  background-color: #121215 !important;
  background-image: radial-gradient(#27272A 1px, transparent 1px) !important;
  background-size: 5px 5px !important;
  padding: 8px 9px !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px !important;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.rugged-chip-dark {
  background: #09090B !important;
  border: 1px solid #52525B !important;
  border-radius: 0 !important;
  padding: 1px 6px !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}
.rugged-chip-clock {
  background: #09090B !important;
  border: 1px solid rgba(234, 179, 8, 0.85) !important;
  color: #EAB308 !important;
  border-radius: 0 !important;
  padding: 2px 6px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}
.rugged-plate-wrap {
  padding: 1px !important;
  background: #EAB308 !important;
  border-radius: 0 !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}
.rugged-plate-steel {
  background: linear-gradient(90deg, #A1A1AA 0%, #D4D4D8 50%, #A1A1AA 100%) !important;
  color: #09090B !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  border-radius: 0 !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}
.rugged-phone-chip {
  background: #121215 !important;
  color: #EAB308 !important;
  border: 1px solid rgba(234, 179, 8, 0.65) !important;
  padding: 1px 6px !important;
  font-size: 10px !important;
  border-radius: 0 !important;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}
.rugged-note-well {
  background: #09090B !important;
  border: 1px solid rgba(63, 63, 70, 0.9) !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.75) !important;
  padding: 4px 8px !important;
  font-size: 10.5px !important;
  color: #D4D4D8 !important;
  border-radius: 0 !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}
.rugged-btn-red {
  background: linear-gradient(180deg, #DC2626 0%, #B91C1C 100%) !important;
  border: none !important;
  border-bottom: 3px solid #450A0A !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  padding: 5px 6px !important;
  font-size: 10.5px !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
  transition: transform 0.1s ease, filter 0.15s ease;
}
.rugged-btn-red:hover { filter: brightness(1.12); }
.rugged-btn-red:active { transform: translateY(1px); }
.rugged-btn-steel {
  background: linear-gradient(180deg, #3F3F46 0%, #27272A 100%) !important;
  border: none !important;
  border-bottom: 3px solid #09090B !important;
  color: #EAB308 !important;
  border-radius: 0 !important;
  padding: 5px 6px !important;
  font-size: 10.5px !important;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
  transition: transform 0.1s ease, filter 0.15s ease;
}
.rugged-btn-steel:hover { filter: brightness(1.18); }
.rugged-btn-steel:active { transform: translateY(1px); }


/* === BLINDAJE MODO CLARO PARA TARJETAS DARK BENTO, INDUSTRIAL RUGGED Y BOTONES DE INGRESO === */
body.transporte-light-mode-active .rugged-route-outer,
.transporte-light-mode .rugged-route-outer {
  background: linear-gradient(180deg, #71717A 0%, #3F3F46 50%, #27272A 100%) !important;
}
body.transporte-light-mode-active .rugged-route-amber,
.transporte-light-mode .rugged-route-amber {
  background: #EAB308 !important;
}
body.transporte-light-mode-active .rugged-route-body,
.transporte-light-mode .rugged-route-body {
  background-color: #121215 !important;
  background-image: radial-gradient(#27272A 1px, transparent 1px) !important;
  color: #E4E4E7 !important;
}
body.transporte-light-mode-active .rugged-chip-dark,
.transporte-light-mode .rugged-chip-dark {
  background: #09090B !important;
  color: #FFFFFF !important;
  border: 1px solid #52525B !important;
}
body.transporte-light-mode-active .rugged-route-body strong,
.transporte-light-mode .rugged-route-body strong {
  color: #FFFFFF !important;
}
body.transporte-light-mode-active .rugged-chip-clock,
.transporte-light-mode .rugged-chip-clock,
body.transporte-light-mode-active .rugged-chip-clock span,
.transporte-light-mode .rugged-chip-clock span {
  background: #09090B !important;
  color: #EAB308 !important;
}
body.transporte-light-mode-active .rugged-plate-steel,
.transporte-light-mode .rugged-plate-steel {
  background: linear-gradient(90deg, #A1A1AA 0%, #D4D4D8 50%, #A1A1AA 100%) !important;
  color: #09090B !important;
}
body.transporte-light-mode-active .rugged-phone-chip,
.transporte-light-mode .rugged-phone-chip,
body.transporte-light-mode-active .rugged-phone-chip span,
.transporte-light-mode .rugged-phone-chip span {
  background: #121215 !important;
  color: #EAB308 !important;
}
body.transporte-light-mode-active .rugged-note-well,
.transporte-light-mode .rugged-note-well {
  background: #09090B !important;
  color: #D4D4D8 !important;
}
body.transporte-light-mode-active button.rugged-btn-red,
.transporte-light-mode button.rugged-btn-red,
body.transporte-light-mode-active button.rugged-btn-red span,
.transporte-light-mode button.rugged-btn-red span,
body.transporte-light-mode-active button.rugged-btn-red svg,
.transporte-light-mode button.rugged-btn-red svg {
  background-color: transparent !important;
  color: #FFFFFF !important;
}
body.transporte-light-mode-active button.rugged-btn-red,
.transporte-light-mode button.rugged-btn-red {
  background: linear-gradient(180deg, #DC2626 0%, #B91C1C 100%) !important;
  border-bottom: 4px solid #450A0A !important;
}
body.transporte-light-mode-active button.rugged-btn-steel,
.transporte-light-mode button.rugged-btn-steel,
body.transporte-light-mode-active button.rugged-btn-steel span,
.transporte-light-mode button.rugged-btn-steel span,
body.transporte-light-mode-active button.rugged-btn-steel svg,
.transporte-light-mode button.rugged-btn-steel svg {
  background-color: transparent !important;
  color: #EAB308 !important;
}
body.transporte-light-mode-active button.rugged-btn-steel,
.transporte-light-mode button.rugged-btn-steel {
  background: linear-gradient(180deg, #3F3F46 0%, #27272A 100%) !important;
  border-bottom: 4px solid #09090B !important;
}

/* Blindaje Dark Bento en Modo Claro */
body.transporte-light-mode-active .bento-inv-card,
.transporte-light-mode .bento-inv-card {
  background-color: #111114 !important;
  border: 1px solid #27272A !important;
  color: #FFFFFF !important;
}
body.transporte-light-mode-active .bento-inv-card h3,
.transporte-light-mode .bento-inv-card h3,
body.transporte-light-mode-active .bento-inv-card .text-white,
.transporte-light-mode .bento-inv-card .text-white {
  color: #FFFFFF !important;
}
body.transporte-light-mode-active .bento-inv-kpi,
.transporte-light-mode .bento-inv-kpi,
body.transporte-light-mode-active .bento-inv-pill,
.transporte-light-mode .bento-inv-pill {
  background-color: #0D0D10 !important;
  border: 1px solid #27272A !important;
}
body.transporte-light-mode-active button.bento-inv-btn,
.transporte-light-mode button.bento-inv-btn,
body.transporte-light-mode-active button.bento-inv-btn span,
.transporte-light-mode button.bento-inv-btn span,
body.transporte-light-mode-active button.bento-inv-btn svg,
.transporte-light-mode button.bento-inv-btn svg {
  background-color: transparent !important;
  color: #F59E0B !important;
}
body.transporte-light-mode-active button.bento-inv-btn,
.transporte-light-mode button.bento-inv-btn {
  border: 1px solid #27272A !important;
}
body.transporte-light-mode-active button.bento-inv-btn:hover,
.transporte-light-mode button.bento-inv-btn:hover {
  background-color: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
}

/* Blindaje botones inyectados (Peticiones, Pedir Insumo, Ingresar Gasolina/Diésel) en Modo Claro */
body.transporte-light-mode-active #btn-imapsas-peticiones-compras,
.transporte-light-mode #btn-imapsas-peticiones-compras {
  background: #064E3B !important;
  color: #ECFDF5 !important;
  border: 1px solid #10B981 !important;
}
body.transporte-light-mode-active #btn-imapsas-peticiones-compras span:not(#imapsas-peticiones-badge),
.transporte-light-mode #btn-imapsas-peticiones-compras span:not(#imapsas-peticiones-badge) {
  color: #ECFDF5 !important;
}
body.transporte-light-mode-active #btn-imapsas-nueva-peticion,
.transporte-light-mode #btn-imapsas-nueva-peticion {
  background: #0C4A6E !important;
  color: #E0F2FE !important;
  border: 1px solid #0EA5E9 !important;
}
body.transporte-light-mode-active #btn-imapsas-nueva-peticion span,
.transporte-light-mode #btn-imapsas-nueva-peticion span {
  color: #E0F2FE !important;
}
body.transporte-light-mode-active #btn-imapsas-ingreso-gasolina-header,
.transporte-light-mode #btn-imapsas-ingreso-gasolina-header {
  background: linear-gradient(90deg, #059669, #0D9488) !important;
  color: #FFFFFF !important;
  border: 1px solid #34D399 !important;
}
body.transporte-light-mode-active #btn-imapsas-ingreso-gasolina-header span,
.transporte-light-mode #btn-imapsas-ingreso-gasolina-header span {
  color: #FFFFFF !important;
}
body.transporte-light-mode-active #btn-imapsas-ingreso-diesel-header,
.transporte-light-mode #btn-imapsas-ingreso-diesel-header {
  background: linear-gradient(90deg, #F59E0B, #CA8A04) !important;
  color: #0F172A !important;
  border: 1px solid #FDE047 !important;
}
body.transporte-light-mode-active #btn-imapsas-ingreso-diesel-header span,
.transporte-light-mode #btn-imapsas-ingreso-diesel-header span {
  color: #0F172A !important;
}


/* ============================================================================
   HISTORIAL DE MOVIMIENTOS — CONSOLA ERP DE ALTA DENSIDAD (MODO OSCURO & CLARO)
   ============================================================================ */
.erp-mov-root {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #E4E4E7;
}
.erp-mov-toolbar {
  background: #111114 !important;
  border: 1px solid #27272A !important;
  border-radius: 2px !important;
  padding: 10px 12px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.erp-mov-search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 448px;
}
.erp-mov-search-input {
  width: 100%;
  background: #09090B !important;
  border: 1px solid #27272A !important;
  border-radius: 2px !important;
  padding: 7px 12px 7px 34px !important;
  font-size: 12px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  color: #FFFFFF !important;
  outline: none !important;
  transition: border-color 0.15s ease;
}
.erp-mov-search-input::placeholder {
  color: #71717A !important;
}
.erp-mov-search-input:focus {
  border-color: #EAB308 !important;
}
.erp-mov-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.erp-mov-chip-btn {
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  padding: 6px 14px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 0 !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.erp-mov-btn-todos {
  background: #18181B !important;
  color: #D4D4D8 !important;
  border: 1px solid #27272A !important;
}
.erp-mov-btn-todos:hover { background: #27272A !important; color: #FFFFFF !important; }
.erp-mov-btn-todos.is-active {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border-color: #DC2626 !important;
}
.erp-mov-btn-entrada {
  background: #09090B !important;
  color: #D4D4D8 !important;
  border: 1px solid #3F3F46 !important;
}
.erp-mov-btn-entrada:hover { border-color: #71717A !important; color: #FFFFFF !important; }
.erp-mov-btn-entrada.is-active {
  background: #E4E4E7 !important;
  color: #09090B !important;
  border-color: #E4E4E7 !important;
}
.erp-mov-btn-salida {
  background: #09090B !important;
  color: #EAB308 !important;
  border: 1px solid rgba(234, 179, 8, 0.6) !important;
}
.erp-mov-btn-salida:hover { background: rgba(234, 179, 8, 0.1) !important; }
.erp-mov-btn-salida.is-active {
  background: #EAB308 !important;
  color: #09090B !important;
  border-color: #EAB308 !important;
}
.erp-mov-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #27272A !important;
  border-radius: 2px !important;
  background: #09090B !important;
}
.erp-mov-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.erp-mov-table thead tr {
  background: #141418 !important;
  border-bottom: 1px solid #3F3F46 !important;
}
.erp-mov-table thead th {
  padding: 9px 12px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #A1A1AA !important;
  border-right: 1px solid rgba(39, 39, 42, 0.85) !important;
  white-space: nowrap;
}
.erp-mov-table thead th:last-child { border-right: none !important; }
.erp-mov-table tbody tr {
  border-bottom: 1px solid rgba(39, 39, 42, 0.8) !important;
  transition: background-color 0.12s ease;
}
.erp-mov-table tbody tr:last-child { border-bottom: none !important; }
.erp-mov-table tbody tr.erp-row-even { background: #09090B !important; }
.erp-mov-table tbody tr.erp-row-odd { background: #0E0E12 !important; }
.erp-mov-table tbody tr:hover { background: rgba(234, 179, 8, 0.06) !important; }
.erp-mov-table tbody td {
  padding: 10px 12px !important;
  vertical-align: middle;
  font-size: 12px !important;
  border-right: 1px solid rgba(39, 39, 42, 0.6) !important;
}
.erp-mov-table tbody td:last-child { border-right: none !important; }
.erp-mov-badge {
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap;
}
.erp-mov-badge-salida {
  border: 1px solid rgba(234, 179, 8, 0.8) !important;
  color: #EAB308 !important;
  background: rgba(234, 179, 8, 0.1) !important;
}
.erp-mov-badge-entrada {
  border: 1px solid #71717A !important;
  color: #F4F4F5 !important;
  background: rgba(39, 39, 42, 0.85) !important;
}
.erp-mov-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 700 !important;
  color: #EAB308 !important;
  white-space: nowrap;
}
.erp-mov-qty {
  text-align: center !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  color: #EAB308 !important;
  white-space: nowrap;
}
.erp-mov-title {
  font-weight: 700 !important;
  color: #FFFFFF !important;
  line-height: 1.25;
}
.erp-mov-sub {
  font-size: 11px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  color: #71717A !important;
  margin-top: 2px;
}
.erp-mov-dest-main {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600 !important;
  color: #FFFFFF !important;
}
.erp-mov-dest-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px !important;
  color: #A1A1AA !important;
  margin-top: 2px;
}
.erp-mov-note {
  font-size: 11px !important;
  font-style: italic;
  color: #71717A !important;
  margin-top: 2px;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.erp-mov-date-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11px !important;
  white-space: nowrap;
}
.erp-mov-date-day { color: #D4D4D8 !important; font-weight: 600; }
.erp-mov-date-time { color: #71717A !important; }
.erp-mov-empty {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  border-radius: 2px !important;
  padding: 40px 24px !important;
  text-align: center;
  color: #A1A1AA !important;
}

/* Extensiones Consola ERP para Catálogo de Inventario */
.erp-mov-select {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  border-radius: 2px !important;
  padding: 7px 10px !important;
  font-size: 11.5px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  color: #E4E4E7 !important;
  outline: none !important;
  cursor: pointer;
}
.erp-mov-select:focus { border-color: #EAB308 !important; }
.erp-mov-btn-alert {
  background: #09090B !important;
  color: #D4D4D8 !important;
  border: 1px solid #3F3F46 !important;
}
.erp-mov-btn-alert:hover { border-color: #DC2626 !important; color: #FCA5A5 !important; }
.erp-mov-btn-alert.is-active {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border-color: #DC2626 !important;
}
.erp-mov-badge-alert {
  border: 1px solid rgba(220, 38, 38, 0.8) !important;
  color: #F87171 !important;
  background: rgba(220, 38, 38, 0.14) !important;
}
.erp-mov-table tbody tr.erp-row-low {
  background: rgba(127, 29, 29, 0.18) !important;
}
.erp-mov-table tbody tr.erp-row-low:hover {
  background: rgba(220, 38, 38, 0.22) !important;
}
.erp-mov-icon-btn {
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
  padding: 5px 7px !important;
  background: #141418 !important;
  color: #A1A1AA !important;
  border: 1px solid #27272A !important;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.erp-mov-icon-btn:hover { background: #27272A !important; color: #EAB308 !important; border-color: rgba(234, 179, 8, 0.6) !important; }
.erp-mov-icon-btn.is-pinned { background: #EAB308 !important; color: #09090B !important; border-color: #EAB308 !important; }
.erp-mov-icon-btn.is-danger:hover { background: rgba(220, 38, 38, 0.2) !important; color: #F87171 !important; border-color: #DC2626 !important; }


/* ============================================================================
   TABLERO DE CONTROL DEL TALLER — HOJA TÉCNICA DE DIAGNÓSTICO (EDITORIAL INDUSTRIAL)
   ============================================================================ */
.wk-sheet-card {
  position: relative;
  background: #121215 !important;
  border: 1px solid #27272A !important;
  border-radius: 0 !important;
  display: flex;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.55) !important;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  color: #E4E4E7;
}
.wk-sheet-stripe {
  width: 6px;
  flex-shrink: 0;
  background: #EAB308 !important;
}
.wk-sheet-stripe.is-critical {
  background: #DC2626 !important;
}
.wk-sheet-main {
  flex: 1 1 0%;
  min-width: 0;
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wk-clip-sm {
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  border-radius: 0 !important;
}
.wk-badge-os {
  background: #EAB308 !important;
  color: #09090B !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  padding: 4px 10px !important;
  display: inline-flex;
  align-items: center;
}
.wk-badge-spec {
  background: #1A1A1F !important;
  border: 1px solid #3F3F46 !important;
  color: #E4E4E7 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 4px 10px !important;
  display: inline-flex;
  align-items: center;
}
.wk-badge-status {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 179, 8, 0.14) !important;
  border: 1px solid rgba(234, 179, 8, 0.6) !important;
  color: #EAB308 !important;
}
.wk-badge-status.is-final {
  background: rgba(220, 38, 38, 0.15) !important;
  border: 1px solid rgba(220, 38, 38, 0.6) !important;
  color: #F87171 !important;
}
.wk-btn-pdf {
  background: #1A1A1F !important;
  border: 1px solid #3F3F46 !important;
  color: #EAB308 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 4px 12px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.wk-btn-pdf:hover { background: #27272A !important; }
.wk-unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.85) !important;
  padding-bottom: 8px;
}
.wk-area-tag {
  font-size: 11px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  color: #A1A1AA !important;
  background: #09090B !important;
  border: 1px solid #27272A !important;
  padding: 2px 8px !important;
  flex-shrink: 0;
}
.wk-sunken-well {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
  line-height: 1.45;
}
.wk-bunker {
  background: #0B0B0E !important;
  border: 1px solid rgba(234, 179, 8, 0.4) !important;
  padding: 12px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.wk-kpi-cell {
  background: #121215 !important;
  border: 1px solid #27272A !important;
  padding: 8px 6px !important;
  text-align: center;
}
.wk-kpi-cell.is-amber {
  border-color: rgba(234, 179, 8, 0.4) !important;
}
.wk-seg-bar {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  height: 8px;
}
.wk-seg-block {
  height: 100%;
  background: rgba(234, 179, 8, 0.35) !important;
}
.wk-seg-block.is-active {
  background: #DC2626 !important;
}
.wk-steel-plate {
  background: linear-gradient(90deg, #A1A1AA 0%, #D4D4D8 50%, #A1A1AA 100%) !important;
  color: #09090B !important;
  padding: 6px 12px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  font-weight: 800 !important;
}
.wk-steel-plate span {
  color: #09090B !important;
}
.wk-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: #09090B !important;
  border: 1px solid #27272A !important;
  padding: 9px 10px !important;
  font-size: 12px !important;
}
.wk-trace-btn {
  width: 100%;
  background: #18181B !important;
  border: 1px solid #27272A !important;
  padding: 7px 12px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px !important;
  color: #D4D4D8 !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.wk-trace-btn:hover { background: #27272A !important; }
.wk-trace-drawer {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  border-top: none !important;
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wk-btn-pause {
  background: #EAB308 !important;
  border: none !important;
  border-bottom: 2px solid #B45309 !important;
  color: #09090B !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.wk-btn-pause:hover { filter: brightness(1.08); }
.wk-btn-pause:active { transform: translateY(1px); }
.wk-btn-pause.is-disabled {
  background: #27272A !important;
  border-bottom: 2px solid #09090B !important;
  color: #71717A !important;
  cursor: not-allowed;
  filter: none;
}
.wk-btn-finish {
  background: #DC2626 !important;
  border: none !important;
  border-bottom: 2px solid #7F1D1D !important;
  color: #FFFFFF !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.wk-btn-finish:hover { filter: brightness(1.1); }
.wk-btn-finish:active { transform: translateY(1px); }
.wk-btn-trash {
  background: #27272A !important;
  border: 1px solid #3F3F46 !important;
  color: #A1A1AA !important;
  padding: 6px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wk-btn-trash:hover {
  background: rgba(220, 38, 38, 0.2) !important;
  border-color: #DC2626 !important;
  color: #F87171 !important;
}


/* ============================================================================
   TALLER — VOLUMEN 3D, BISELES REALES (DOBLE CONTENEDOR) Y ACABADO METÁLICO
   ============================================================================ */
.wk-bevel-outer {
  padding: 2px !important;
  background: linear-gradient(180deg, #71717A 0%, #3F3F46 50%, #18181B 100%) !important;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.8));
  border-radius: 0 !important;
}
.wk-bevel-outer > .wk-sheet-card {
  border: none !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, #222228 0%, #17171C 50%, #111115 100%) !important;
}
.wk-sheet-stripe {
  width: 8px !important;
  background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%) !important;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.45), inset 1px 0 0 rgba(255, 255, 255, 0.35) !important;
}
.wk-sheet-stripe.is-critical {
  background: linear-gradient(180deg, #EF4444 0%, #B91C1C 100%) !important;
}
/* Bisel real de 1px por doble contenedor */
.wk-bevel-amber {
  padding: 1px !important;
  background: rgba(234, 179, 8, 0.6) !important;
}
.wk-bevel-amber.is-strong {
  background: rgba(234, 179, 8, 0.85) !important;
}
.wk-bevel-steel {
  padding: 1px !important;
  background: linear-gradient(180deg, #52525B 0%, #27272A 100%) !important;
}
/* Paneles hundidos */
.wk-bevel-amber > .wk-sunken-well,
.wk-bevel-amber > .wk-bunker,
.wk-bevel-amber > .wk-kpi-cell,
.wk-bevel-steel > .wk-kpi-cell {
  border: none !important;
  background: #09090B !important;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.85) !important;
}
.wk-bevel-amber > .wk-kpi-cell,
.wk-bevel-steel > .wk-kpi-cell {
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.9) !important;
  padding: 10px 6px !important;
}
.wk-bevel-amber > .wk-bunker {
  background: linear-gradient(180deg, #0B0B0E 0%, #09090B 100%) !important;
}
/* Placa metálica con remaches */
.wk-steel-plate {
  position: relative;
  background: linear-gradient(180deg, #D4D4D8 0%, #A1A1AA 55%, #71717A 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  padding: 7px 18px !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.wk-rivet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, #A1A1AA 0%, #52525B 55%, #27272A 100%) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.5);
}
.wk-rivet.tl { left: 5px; top: 4px; }
.wk-rivet.tr { right: 5px; top: 4px; }
.wk-rivet.bl { left: 5px; bottom: 4px; }
.wk-rivet.br { right: 5px; bottom: 4px; }
.wk-steel-plate > svg { margin-left: 6px; }
/* Botones táctiles 3D con volumen real */
.wk-badge-os {
  background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%) !important;
  border-bottom: 3px solid #92400E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 10px rgba(0, 0, 0, 0.6) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.wk-btn-pause {
  background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%) !important;
  border-bottom: 3px solid #92400E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 8px rgba(0, 0, 0, 0.5) !important;
}
.wk-btn-pause:hover { background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%) !important; filter: none; }
.wk-btn-pause.is-disabled {
  background: linear-gradient(180deg, #3F3F46 0%, #27272A 100%) !important;
  border-bottom: 3px solid #09090B !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.wk-btn-finish {
  background: linear-gradient(180deg, #EF4444 0%, #B91C1C 100%) !important;
  border-bottom: 3px solid #450A0A !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 8px rgba(0, 0, 0, 0.5) !important;
}
.wk-btn-finish:hover { background: linear-gradient(180deg, #F87171 0%, #DC2626 100%) !important; filter: none; }
.wk-btn-pdf,
.wk-btn-trash,
.wk-trace-btn {
  background: linear-gradient(180deg, #2A2A30 0%, #18181B 100%) !important;
  border-bottom-width: 3px !important;
  border-bottom-color: #09090B !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 6px rgba(0, 0, 0, 0.5) !important;
}
.wk-btn-pause:active,
.wk-btn-finish:active,
.wk-btn-pdf:active,
.wk-btn-trash:active,
.wk-trace-btn:active {
  transform: translateY(1px);
  border-bottom-width: 2px !important;
}
.wk-meta-grid {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.75) !important;
}


/* ============================================================================
   TALLER — SIN FRANJA LATERAL Y FORMATO COMPACTO
   ============================================================================ */
.wk-sheet-stripe,
.wk-sheet-stripe.is-critical { display: none !important; }
.wk-sheet-main { padding: 10px 11px !important; gap: 8px !important; }
.wk-badge-os { font-size: 10.5px !important; padding: 2px 7px !important; border-bottom-width: 2px !important; }
.wk-badge-spec, .wk-badge-status { font-size: 10.5px !important; padding: 2px 7px !important; gap: 4px !important; }
.wk-btn-pdf { font-size: 10.5px !important; padding: 2px 8px !important; }
.wk-unit-row { padding-bottom: 6px !important; }
.wk-unit-row > div { font-size: 12px !important; }
.wk-area-tag { font-size: 10px !important; padding: 1px 6px !important; }
.wk-sunken-well { font-size: 11px !important; padding: 5px 9px !important; }
.wk-bunker { padding: 8px !important; gap: 7px !important; }
.wk-bunker > div:first-child { font-size: 11px !important; }
.wk-kpi-grid { gap: 5px !important; }
.wk-bevel-amber > .wk-kpi-cell,
.wk-bevel-steel > .wk-kpi-cell { padding: 6px 4px !important; }
.wk-kpi-cell span { font-size: 9.5px !important; }
.wk-kpi-cell span.text-sm { font-size: 12.5px !important; }
.wk-seg-bar { height: 6px !important; gap: 3px !important; }
.wk-steel-plate { font-size: 10.5px !important; padding: 4px 16px !important; }
.wk-steel-plate > svg { width: 13px !important; height: 13px !important; }
.wk-meta-grid { font-size: 11px !important; padding: 6px 8px !important; gap: 6px !important; }
.wk-meta-grid span { font-size: 9.5px !important; }
.wk-trace-btn { font-size: 11px !important; padding: 5px 9px !important; }
.wk-btn-pause, .wk-btn-finish { font-size: 10.5px !important; padding: 4px 9px !important; gap: 4px !important; }
.wk-btn-pause svg, .wk-btn-finish svg { width: 12px !important; height: 12px !important; }
.wk-btn-trash { padding: 4px !important; }
.wk-btn-trash svg { width: 14px !important; height: 14px !important; }


/* ============================================================================
   ULTRA-COMPACT DENSITY ENFORCER (TALLER, PATIO, ERP INVENTARIO / MOVIMIENTOS)
   ============================================================================ */

/* 1. Taller Órdenes de Servicio */
.wk-bevel-outer {
  width: 100% !important;
  max-width: 325px !important;
  margin: 0 auto !important;
  padding: 1.5px !important;
  background: linear-gradient(180deg, #71717A 0%, #3F3F46 50%, #18181B 100%) !important;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px) !important;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7)) !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
.wk-sheet-card {
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px) !important;
  border: none !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, #222228 0%, #17171C 50%, #111115 100%) !important;
  width: 100% !important;
}
.wk-sheet-stripe,
.wk-sheet-stripe.is-critical {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.wk-sheet-main {
  flex: 1 1 0%;
  min-width: 0;
  padding: 7px 9px !important;
  display: flex;
  flex-direction: column;
  gap: 5px !important;
}
.wk-clip-sm {
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px) !important;
  border-radius: 0 !important;
}
.wk-badge-os {
  font-size: 10.5px !important;
  padding: 2px 6px !important;
}
.wk-badge-spec {
  font-size: 10px !important;
  padding: 2px 6px !important;
}
.wk-badge-status {
  font-size: 10px !important;
  padding: 2px 6px !important;
  gap: 3px !important;
}
.wk-btn-pdf {
  font-size: 9.5px !important;
  padding: 2px 6px !important;
}
.wk-unit-row {
  padding-bottom: 3px !important;
}
.wk-unit-row > div {
  font-size: 11px !important;
}
.wk-area-tag {
  font-size: 9px !important;
  padding: 1px 5px !important;
}
.wk-sunken-well {
  font-size: 10px !important;
  padding: 3px 7px !important;
  line-height: 1.25 !important;
}
.wk-bunker {
  padding: 5px 7px !important;
  gap: 4px !important;
}
.wk-bunker > div:first-child {
  font-size: 9.5px !important;
}
.wk-kpi-grid {
  gap: 3px !important;
}
.wk-bevel-amber > .wk-kpi-cell,
.wk-bevel-steel > .wk-kpi-cell {
  padding: 3px 2px !important;
}
.wk-kpi-cell span {
  font-size: 8.5px !important;
}
.wk-kpi-cell span.text-sm {
  font-size: 11px !important;
  font-weight: 800 !important;
}
.wk-seg-bar {
  height: 4px !important;
  gap: 2px !important;
}
.wk-steel-plate {
  font-size: 9px !important;
  padding: 2px 10px !important;
}
.wk-steel-plate > svg {
  width: 11px !important;
  height: 11px !important;
}
.wk-meta-grid {
  font-size: 9.5px !important;
  padding: 3px 5px !important;
  gap: 3px !important;
}
.wk-meta-grid span {
  font-size: 8.5px !important;
}
.wk-trace-btn {
  font-size: 9.5px !important;
  padding: 3px 6px !important;
}
.wk-btn-pause, .wk-btn-finish {
  font-size: 9.5px !important;
  padding: 2.5px 7px !important;
  gap: 3px !important;
}
.wk-btn-pause svg, .wk-btn-finish svg {
  width: 11px !important;
  height: 11px !important;
}
.wk-btn-trash {
  padding: 2.5px !important;
}
.wk-btn-trash svg {
  width: 12px !important;
  height: 12px !important;
}

/* 2. Patio Tarjetas de Ruta */
.rugged-route-outer {
  width: 100% !important;
  max-width: 290px !important;
  margin: 0 auto !important;
  padding: 2px !important;
  background: linear-gradient(180deg, #71717A 0%, #3F3F46 50%, #27272A 100%) !important;
  box-sizing: border-box !important;
}
.rugged-route-body {
  padding: 7px 9px !important;
  gap: 5px !important;
}
.rugged-chip-dark {
  font-size: 11px !important;
  padding: 1px 5px !important;
}
.rugged-chip-clock {
  font-size: 9.5px !important;
  padding: 1px 5px !important;
}
.rugged-plate-wrap {
  margin-top: 2px !important;
}
.rugged-plate-steel {
  padding: 3px 6px !important;
  font-size: 10px !important;
}
.rugged-obs-well {
  padding: 3px 6px !important;
  font-size: 9.5px !important;
  min-height: 22px !important;
}
.rugged-btn-return, .rugged-btn-track {
  padding: 3px 6px !important;
  font-size: 9.5px !important;
}

/* 3. ERP Alta Densidad (Inventario / Movimientos) */
.erp-mov-table th {
  padding: 5px 7px !important;
  font-size: 9.5px !important;
}
.erp-mov-table td {
  padding: 4px 7px !important;
  font-size: 10.5px !important;
}
.erp-mov-badge {
  font-size: 9.5px !important;
  padding: 1.5px 6px !important;
}
.erp-mov-chip-btn {
  font-size: 9.5px !important;
  padding: 2px 6px !important;
}


/* ==========================================================================
   4. COMBUSTIBLE — CONTROL DE GASOLINA Y GASOIL (DIÉSEL) — HIERRO FORJADO ERP
   ========================================================================== */

/* --- Banners de Cabecera Técnicos (Gasolina y Diésel) --- */
#gasolina-context-banner,
#diesel-context-banner {
  background: linear-gradient(180deg, #18181D 0%, #111114 100%) !important;
  border: 1px solid #27272A !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  background-image: none !important;
  padding: 18px 20px !important;
}

#gasolina-context-banner h1,
#diesel-context-banner h1 {
  font-family: inherit !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em !important;
}

#gasolina-context-banner p,
#diesel-context-banner p {
  color: #71717A !important;
  font-size: 11px !important;
}

/* Ícono de Cabecera Industrial */
#gasolina-context-banner .w-12.h-12,
#diesel-context-banner .w-12.h-12 {
  background: linear-gradient(180deg, #27272A 0%, #18181D 100%) !important;
  border: 1px solid #3F3F46 !important;
  border-radius: 4px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 8px rgba(0,0,0,0.5) !important;
}

/* Badges Técnicos en Cabecera */
#gasolina-context-banner span.rounded-full,
#diesel-context-banner span.rounded-full {
  background: #1E1E24 !important;
  color: #EAB308 !important;
  border: 1px solid rgba(234, 179, 8, 0.5) !important;
  border-radius: 3px !important;
  font-family: monospace !important;
  font-weight: 900 !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* --- Botones Principales de Cabecera (3D Relieve Táctil) --- */
#btn-emitir-ticket-gasolina-header,
#btn-emitir-ticket-diesel-header {
  background: linear-gradient(180deg, #EAB308 0%, #CA8A04 100%) !important;
  color: #09090B !important;
  font-weight: 900 !important;
  border: 1px solid #FACC15 !important;
  border-bottom: 3px solid #854D0E !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.35) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  transition: all 0.1s ease !important;
}
#btn-emitir-ticket-gasolina-header:active,
#btn-emitir-ticket-diesel-header:active {
  transform: translateY(2px) !important;
  border-bottom-width: 1px !important;
}

#btn-nuevo-beneficiario-gasolina-header,
#btn-nuevo-contratista-header {
  background: #141418 !important;
  color: #EAB308 !important;
  border: 1px solid #27272A !important;
  border-bottom: 2px solid #1E1E24 !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
  transition: all 0.1s ease !important;
}
#btn-nuevo-beneficiario-gasolina-header:hover,
#btn-nuevo-contratista-header:hover {
  background: #1E1E24 !important;
  border-color: #EAB308 !important;
  color: #FACC15 !important;
}

/* --- Tarjetas Resumen de KPIs de Combustible --- */
#gasolina-top-summary-cards > div,
#diesel-top-summary-cards > div {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  border-radius: 4px !important;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.85) !important;
  padding: 12px 14px !important;
  transition: border-color 0.15s ease !important;
}
#gasolina-top-summary-cards > div:hover,
#diesel-top-summary-cards > div:hover {
  border-color: rgba(234, 179, 8, 0.45) !important;
}

#gasolina-top-summary-cards span,
#diesel-top-summary-cards span {
  font-family: monospace !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

#gasolina-top-summary-cards .text-2xl,
#gasolina-top-summary-cards .text-3xl,
#diesel-top-summary-cards .text-2xl,
#diesel-top-summary-cards .text-3xl {
  font-family: monospace !important;
  font-weight: 900 !important;
  color: #EAB308 !important;
}

/* --- Pestañas de Módulos (Tabs) --- */
#gasolina-navigation-tabs,
#diesel-navigation-tabs {
  gap: 6px !important;
}
#gasolina-navigation-tabs button,
#diesel-navigation-tabs button {
  background: #111114 !important;
  border: 1px solid #27272A !important;
  border-radius: 4px !important;
  color: #71717A !important;
  font-weight: 800 !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}
#gasolina-navigation-tabs button:hover,
#diesel-navigation-tabs button:hover {
  color: #FFFFFF !important;
  border-color: #3F3F46 !important;
  background: #16161A !important;
}
#gasolina-navigation-tabs button[class*="border-[#EAB308]"],
#gasolina-navigation-tabs button[class*="from-amber"],
#gasolina-navigation-tabs button[class*="from-orange"],
#diesel-navigation-tabs button[class*="border-[#EAB308]"],
#diesel-navigation-tabs button[class*="border-2"] {
  background: #1E1E24 !important;
  border: 1px solid #EAB308 !important;
  color: #EAB308 !important;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.15), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

/* --- Contenedor Principal de Tickets (Gasolina & Diésel) --- */
#tab-content-tickets-gasolina,
#gasolina-main-view .bg-\[\#1E1E24\]\/90 {
  background: #111114 !important;
  border: 1px solid #27272A !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
}

/* Sub-filtros (Cola, Despachados, Todos) */
#btn-subtab-gasolina-cola,
#btn-subtab-gasolina-despachados,
#btn-subtab-gasolina-todos {
  border-radius: 4px !important;
  font-family: monospace !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}
#btn-subtab-gasolina-cola[class*="from-amber"],
#btn-subtab-gasolina-despachados[class*="from-orange"],
#btn-subtab-gasolina-todos[class*="border-amber"] {
  background: #EAB308 !important;
  color: #09090B !important;
  font-weight: 900 !important;
  border: 1px solid #CA8A04 !important;
}

/* Buscador de Combustible */
#gasolina-main-view input[type="text"],
#tab-content-tickets-gasolina input[type="text"],
#diesel-context-banner ~ div input[type="text"] {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  border-radius: 4px !important;
  color: #FFFFFF !important;
  font-family: monospace !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.7) !important;
}
#gasolina-main-view input[type="text"]:focus,
#tab-content-tickets-gasolina input[type="text"]:focus,
#diesel-context-banner ~ div input[type="text"]:focus {
  border-color: #EAB308 !important;
}

/* --- Lista de Tarjetas de Tickets de Gasolina --- */
#gasolina-main-list > div {
  background: #0E0E12 !important;
  border: 1px solid #27272A !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4) !important;
  transition: all 0.15s ease !important;
}
#gasolina-main-list > div:hover {
  background: #141418 !important;
  border-color: rgba(234, 179, 8, 0.5) !important;
}

/* Número de Ticket en Gasolina */
#gasolina-main-list span[class*="text-amber-300"],
#gasolina-main-list span[class*="font-mono"] {
  background: #141418 !important;
  color: #EAB308 !important;
  border: 1px solid rgba(234, 179, 8, 0.4) !important;
  font-family: monospace !important;
  font-weight: 900 !important;
  border-radius: 3px !important;
  font-size: 11px !important;
}

/* Pastillas de Estado (Gasolina) */
#gasolina-main-list span[class*="Flota Oficial"],
#gasolina-main-list span[class*="Apoyo Externo"] {
  background: #16161A !important;
  border: 1px solid #27272A !important;
  color: #A1A1AA !important;
  border-radius: 3px !important;
  font-size: 10px !important;
}

/* Pastillas de Cola / Despachado (Gasolina) */
#gasolina-main-list span[class*="bg-amber-500\/20"],
#gasolina-main-list span[class*="bg-orange-500\/20"] {
  background: #1E1E24 !important;
  color: #EAB308 !important;
  border: 1px solid #EAB308 !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
}

/* Litros de Gasolina */
#gasolina-main-list .font-mono.font-black,
#gasolina-main-list .text-2xl,
#gasolina-main-list .text-xl {
  font-family: monospace !important;
  font-weight: 900 !important;
  color: #EAB308 !important;
}

/* --- Tabla de Consola ERP de Diésel / Gasoil --- */
#diesel-context-banner ~ div table,
div[id*="diesel"] table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 11px !important;
}

#diesel-context-banner ~ div thead tr,
div[id*="diesel"] thead tr {
  background: #141418 !important;
  border-bottom: 2px solid #27272A !important;
}

#diesel-context-banner ~ div thead th,
div[id*="diesel"] thead th {
  padding: 8px 10px !important;
  font-family: monospace !important;
  text-transform: uppercase !important;
  font-size: 10.5px !important;
  letter-spacing: 0.05em !important;
  color: #A1A1AA !important;
  border-right: 1px solid rgba(39, 39, 42, 0.6) !important;
}

#diesel-context-banner ~ div tbody tr,
div[id*="diesel"] tbody tr {
  transition: background 0.1s ease !important;
  border-bottom: 1px solid #18181D !important;
}

#diesel-context-banner ~ div tbody tr:nth-child(even),
div[id*="diesel"] tbody tr:nth-child(even) {
  background: #0E0E12 !important;
}

#diesel-context-banner ~ div tbody tr:nth-child(odd),
div[id*="diesel"] tbody tr:nth-child(odd) {
  background: #09090B !important;
}

#diesel-context-banner ~ div tbody tr:hover,
div[id*="diesel"] tbody tr:hover {
  background: rgba(234, 179, 8, 0.06) !important;
}

#diesel-context-banner ~ div tbody td,
div[id*="diesel"] tbody td {
  padding: 7px 10px !important;
  border-right: 1px solid rgba(39, 39, 42, 0.4) !important;
  vertical-align: middle !important;
}

/* N° Ticket en Diésel */
#diesel-context-banner ~ div tbody td .font-mono.font-black,
div[id*="diesel"] tbody td .font-mono.font-black {
  color: #EAB308 !important;
  font-family: monospace !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
}

/* Litros en Diésel */
#diesel-context-banner ~ div tbody td.text-right,
div[id*="diesel"] tbody td.text-right {
  font-family: monospace !important;
  font-weight: 900 !important;
  color: #EAB308 !important;
  font-size: 12.5px !important;
}

/* Reemplazo de Pastillas Modo Claro en Diésel */
#diesel-context-banner ~ div .bg-amber-100,
div[id*="diesel"] .bg-amber-100 {
  background: #1E1E24 !important;
  color: #EAB308 !important;
  border: 1px solid #EAB308 !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
}

#diesel-context-banner ~ div .bg-rose-100,
div[id*="diesel"] .bg-rose-100 {
  background: #2D0606 !important;
  color: #EF4444 !important;
  border: 1px solid #DC2626 !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
}

#diesel-context-banner ~ div .bg-slate-100,
div[id*="diesel"] .bg-slate-100 {
  background: #141418 !important;
  color: #FFFFFF !important;
  border: 1px solid #71717A !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
}

/* Reemplazo de Botones Fucsia en Diésel */
#diesel-context-banner ~ div .bg-\[\#E11D48\],
div[id*="diesel"] .bg-\[\#E11D48\] {
  background: linear-gradient(180deg, #EAB308 0%, #CA8A04 100%) !important;
  color: #09090B !important;
  font-weight: 900 !important;
  border: 1px solid #FACC15 !important;
  border-bottom: 2px solid #854D0E !important;
  border-radius: 4px !important;
}

/* Botones de Acción en Fila (Ver, Imprimir, Despachar, Anular) */
#diesel-context-banner ~ div tbody td button,
div[id*="diesel"] tbody td button {
  border-radius: 3px !important;
  font-weight: 800 !important;
  padding: 4px 8px !important;
  font-size: 10px !important;
  transition: all 0.1s ease !important;
}


/* ==========================================================================
   FIXES ESPECÍFICOS DE CONTRASTE Y RENDERIZADO: COMBUSTIBLE Y ALMACÉN
   ========================================================================== */

/* Botón Nuevo Artículo en Almacén */
button.bg-\[\#E11D48\],
.bg-\[\#E11D48\] {
  background-color: #E11D48 !important;
  color: #FFFFFF !important;
  border: 1px solid #BE123C !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25) !important;
}
button.bg-\[\#E11D48\]:hover,
.bg-\[\#E11D48\]:hover {
  background-color: #BE123C !important;
  color: #FFFFFF !important;
}

/* Modo Claro: Cabeceras de Gasolina y Diésel con contraste impecable */
body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner,
body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner,
#transporte.transporte-light-mode #diesel-context-banner,
#transporte.transporte-light-mode #gasolina-context-banner {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner h1,
body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner h1,
#transporte.transporte-light-mode #diesel-context-banner h1,
#transporte.transporte-light-mode #gasolina-context-banner h1 {
  color: #0F172A !important;
  font-weight: 900 !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner p,
body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner p,
#transporte.transporte-light-mode #diesel-context-banner p,
#transporte.transporte-light-mode #gasolina-context-banner p {
  color: #64748B !important;
}

body.siget-transporte-active.transporte-light-mode-active #diesel-context-banner span.rounded-full,
body.siget-transporte-active.transporte-light-mode-active #gasolina-context-banner span.rounded-full,
#transporte.transporte-light-mode #diesel-context-banner span.rounded-full,
#transporte.transporte-light-mode #gasolina-context-banner span.rounded-full {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FCD34D !important;
}

/* Modo Oscuro / Hierro Forjado: Cabeceras de Gasolina y Diésel */
body.siget-transporte-active:not(.transporte-light-mode-active) #diesel-context-banner,
body.siget-transporte-active:not(.transporte-light-mode-active) #gasolina-context-banner,
#transporte:not(.transporte-light-mode) #diesel-context-banner,
#transporte:not(.transporte-light-mode) #gasolina-context-banner {
  background: linear-gradient(180deg, #18181D 0%, #111114 100%) !important;
  border: 1px solid #27272A !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) #diesel-context-banner h1,
body.siget-transporte-active:not(.transporte-light-mode-active) #gasolina-context-banner h1,
#transporte:not(.transporte-light-mode) #diesel-context-banner h1,
#transporte:not(.transporte-light-mode) #gasolina-context-banner h1 {
  color: #FFFFFF !important;
  font-weight: 900 !important;
}

body.siget-transporte-active:not(.transporte-light-mode-active) #diesel-context-banner p,
body.siget-transporte-active:not(.transporte-light-mode-active) #gasolina-context-banner p,
#transporte:not(.transporte-light-mode) #diesel-context-banner p,
#transporte:not(.transporte-light-mode) #gasolina-context-banner p {
  color: #A1A1AA !important;
}

/* ============================================================================
   PARIDAD VISUAL: CONTROL DE DIÉSEL CON LOS MISMOS ESTILOS DE CONTROL DE GASOLINA
   ============================================================================ */

/* Botones del header de Control de Diésel (misma jerarquía de color que Control de Gasolina) */
#btn-nuevo-contratista-header {
  background: #141418 !important;
  background-image: none !important;
  border: 1px solid #27272A !important;
  color: #FBBF24 !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) !important;
}
#btn-nuevo-contratista-header:hover {
  background: #1F1F26 !important;
  border-color: #EAB308 !important;
}
#btn-nuevo-contratista-header svg,
#btn-nuevo-contratista-header span {
  color: #FBBF24 !important;
}

#btn-imapsas-ingreso-diesel-header {
  background: linear-gradient(180deg, #0D9488 0%, #0F766E 100%) !important;
  border: 1px solid #14B8A6 !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.28) !important;
}
#btn-imapsas-ingreso-diesel-header:hover {
  background: linear-gradient(180deg, #14B8A6 0%, #0D9488 100%) !important;
}
#btn-imapsas-ingreso-diesel-header span {
  color: #FFFFFF !important;
}

#btn-emitir-ticket-diesel-header {
  background: linear-gradient(180deg, #FBBF24 0%, #D97706 100%) !important;
  border: 1px solid #D97706 !important;
  border-bottom: 3px solid #B45309 !important;
  color: #09090B !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3) !important;
}
#btn-emitir-ticket-diesel-header:hover {
  background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%) !important;
}
#btn-emitir-ticket-diesel-header svg,
#btn-emitir-ticket-diesel-header span {
  color: #09090B !important;
}

/* Modo Claro: Tarjetas KPI de Diésel idénticas a las de Gasolina */
html.transporte-light-mode #diesel-top-summary-cards > div,
body.transporte-light-mode-active #diesel-top-summary-cards > div,
.transporte-light-mode #diesel-top-summary-cards > div {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  padding: 16px 18px !important;
  color: #0F172A !important;
}
html.transporte-light-mode #diesel-top-summary-cards > div:hover,
body.transporte-light-mode-active #diesel-top-summary-cards > div:hover,
.transporte-light-mode #diesel-top-summary-cards > div:hover {
  border-color: #CBD5E1 !important;
}
html.transporte-light-mode #diesel-top-summary-cards > div span,
body.transporte-light-mode-active #diesel-top-summary-cards > div span,
.transporte-light-mode #diesel-top-summary-cards > div span {
  color: #475569 !important;
}
html.transporte-light-mode #diesel-top-summary-cards > div .text-2xl,
html.transporte-light-mode #diesel-top-summary-cards > div .text-3xl,
body.transporte-light-mode-active #diesel-top-summary-cards > div .text-2xl,
body.transporte-light-mode-active #diesel-top-summary-cards > div .text-3xl,
.transporte-light-mode #diesel-top-summary-cards > div .text-2xl,
.transporte-light-mode #diesel-top-summary-cards > div .text-3xl {
  color: #0F172A !important;
  font-size: 1.95rem !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}
html.transporte-light-mode #diesel-top-summary-cards > div .text-2xl span,
html.transporte-light-mode #diesel-top-summary-cards > div .text-3xl span,
body.transporte-light-mode-active #diesel-top-summary-cards > div .text-2xl span,
body.transporte-light-mode-active #diesel-top-summary-cards > div .text-3xl span {
  color: #64748B !important;
  font-size: 0.72rem !important;
}

/* Modo Claro: Pestañas de Diésel (#diesel-navigation-tabs) idénticas a las de Gasolina */
html.transporte-light-mode #diesel-navigation-tabs,
body.transporte-light-mode-active #diesel-navigation-tabs,
.transporte-light-mode #diesel-navigation-tabs {
  gap: 10px !important;
}
html.transporte-light-mode #diesel-navigation-tabs button,
body.transporte-light-mode-active #diesel-navigation-tabs button,
.transporte-light-mode #diesel-navigation-tabs button {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  color: #1E293B !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  padding: 10px 14px !important;
  transform: none !important;
}
html.transporte-light-mode #diesel-navigation-tabs button:hover,
body.transporte-light-mode-active #diesel-navigation-tabs button:hover,
.transporte-light-mode #diesel-navigation-tabs button:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}
html.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"],
html.transporte-light-mode #diesel-navigation-tabs button[class*="-translate-y-0.5"],
body.transporte-light-mode-active #diesel-navigation-tabs button[class*="border-[#EAB308]"],
body.transporte-light-mode-active #diesel-navigation-tabs button[class*="-translate-y-0.5"],
.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"],
.transporte-light-mode #diesel-navigation-tabs button[class*="-translate-y-0.5"] {
  background: #FFFBEB !important;
  border: 2px solid #F59E0B !important;
  color: #B45309 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.14) !important;
}

/* Cajita del ícono en pestañas de Diésel (Modo Claro) */
html.transporte-light-mode #diesel-navigation-tabs button > div:first-child,
body.transporte-light-mode-active #diesel-navigation-tabs button > div:first-child,
.transporte-light-mode #diesel-navigation-tabs button > div:first-child {
  background: #FEF3C7 !important;
  background-image: none !important;
  border: 1px solid #FCD34D !important;
  color: #B45309 !important;
  box-shadow: none !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
}
html.transporte-light-mode #diesel-navigation-tabs button > div:first-child svg,
body.transporte-light-mode-active #diesel-navigation-tabs button > div:first-child svg,
.transporte-light-mode #diesel-navigation-tabs button > div:first-child svg {
  color: #B45309 !important;
}
html.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"] > div:first-child,
body.transporte-light-mode-active #diesel-navigation-tabs button[class*="border-[#EAB308]"] > div:first-child,
.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"] > div:first-child {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  border: 1px solid #D97706 !important;
  color: #FFFFFF !important;
}
html.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"] > div:first-child svg,
body.transporte-light-mode-active #diesel-navigation-tabs button[class*="border-[#EAB308]"] > div:first-child svg,
.transporte-light-mode #diesel-navigation-tabs button[class*="border-[#EAB308]"] > div:first-child svg {
  color: #FFFFFF !important;
}

/* Badge contador dentro de las pestañas de Diésel (Modo Claro) */
html.transporte-light-mode #diesel-navigation-tabs button span.font-mono,
body.transporte-light-mode-active #diesel-navigation-tabs button span.font-mono,
.transporte-light-mode #diesel-navigation-tabs button span.font-mono {
  background: #FEF3C7 !important;
  border: 1px solid #FCD34D !important;
  color: #B45309 !important;
  border-radius: 6px !important;
}


/* ==========================================================================
   ALMACÉN CENTRAL — TARJETAS CUADRADAS POR CATEGORÍA (DARK + LIGHT MODE)
   ========================================================================== */
.almacen-view-toggle {
  display: inline-flex;
  align-items: center;
  background: #141418;
  border: 1px solid #2E2E38;
  border-radius: 10px;
  padding: 2px;
  gap: 2px;
}

.almacen-view-btn {
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #A1A1AA;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.16s ease;
}

.almacen-view-btn:hover {
  color: #FFFFFF;
}

.almacen-view-btn.is-active {
  background: #EAB308;
  color: #141418;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.25);
}

.almacen-cat-backbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #18181F;
  border: 1px solid #2E2E38;
}

.almacen-cat-backbtn {
  padding: 6px 13px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #EAB308;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.35);
  cursor: pointer;
  transition: all 0.15s ease;
}

.almacen-cat-backbtn:hover {
  background: #EAB308;
  color: #141418;
}

.almacen-cat-activeinfo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.almacen-cat-activename {
  font-size: 13px;
  font-weight: 900;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.almacen-cat-activecount {
  font-size: 11px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #EAB308;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}

.almacen-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 14px;
  padding: 4px 0 8px;
}

.almacen-cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  aspect-ratio: 1 / 1;
  min-height: 220px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, #1E1E26 0%, #16161C 100%);
  border: 1px solid #2E2E38;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.almacen-cat-card:hover {
  transform: translateY(-3px);
  border-color: #EAB308;
  box-shadow: 0 12px 26px rgba(234, 179, 8, 0.14);
}

.almacen-cat-card.has-low {
  border-color: rgba(244, 63, 94, 0.45);
}

.almacen-cat-card.has-low:hover {
  border-color: #F43F5E;
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.16);
}

.almacen-cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.almacen-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #EAB308;
  flex-shrink: 0;
}

.almacen-cat-count {
  font-size: 11px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #FFFFFF;
  background: #262632;
  border: 1px solid #3A3A4A;
  padding: 4px 9px;
  border-radius: 999px;
}

.almacen-cat-title {
  margin: 10px 0 6px;
  font-size: 14.5px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.almacen-cat-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 10px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(12, 12, 16, 0.55);
  border: 1px solid rgba(46, 46, 56, 0.8);
  overflow: hidden;
}

.almacen-cat-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #D4D4D8;
}

.almacen-cat-preview-stk {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
  font-size: 10.5px;
  color: #EAB308;
  flex-shrink: 0;
}

.almacen-cat-preview-stk.is-low {
  color: #FB7185;
}

.almacen-cat-more {
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #A1A1AA;
  margin-top: 2px;
}

.almacen-cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #2E2E38;
  width: 100%;
}

.almacen-cat-status {
  font-size: 10px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 7px;
}

.almacen-cat-status.is-ok {
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.almacen-cat-status.is-low {
  color: #FDA4AF;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.almacen-cat-open {
  font-size: 11px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #EAB308;
}

/* ── MODO CLARO PARA TARJETAS CUADRADAS POR CATEGORÍA ── */
body.siget-transporte-active.transporte-light-mode-active .almacen-view-toggle,
.transporte-light-mode .almacen-view-toggle {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-view-btn,
.transporte-light-mode .almacen-view-btn {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-view-btn.is-active,
.transporte-light-mode .almacen-view-btn.is-active {
  background: #EAB308 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-backbar,
.transporte-light-mode .almacen-cat-backbar {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-activename,
.transporte-light-mode .almacen-cat-activename {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-backbtn,
.transporte-light-mode .almacen-cat-backbtn {
  color: #B45309 !important;
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-card,
.transporte-light-mode .almacen-cat-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-card:hover,
.transporte-light-mode .almacen-cat-card:hover {
  border-color: #EAB308 !important;
  box-shadow: 0 10px 24px rgba(234, 179, 8, 0.18) !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-card.has-low,
.transporte-light-mode .almacen-cat-card.has-low {
  border-color: #FDA4AF !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-icon,
.transporte-light-mode .almacen-cat-icon {
  background: #FEF3C7 !important;
  border-color: #FCD34D !important;
  color: #B45309 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-count,
.transporte-light-mode .almacen-cat-count {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-title,
.transporte-light-mode .almacen-cat-title {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-preview,
.transporte-light-mode .almacen-cat-preview {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-preview-row,
.transporte-light-mode .almacen-cat-preview-row {
  color: #334155 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-preview-stk,
.transporte-light-mode .almacen-cat-preview-stk {
  color: #B45309 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-preview-stk.is-low,
.transporte-light-mode .almacen-cat-preview-stk.is-low {
  color: #BE123C !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-more,
.transporte-light-mode .almacen-cat-more {
  color: #64748B !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-footer,
.transporte-light-mode .almacen-cat-footer {
  border-top-color: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-status.is-ok,
.transporte-light-mode .almacen-cat-status.is-ok {
  color: #047857 !important;
  background: #ECFDF5 !important;
  border-color: #A7F3D0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-status.is-low,
.transporte-light-mode .almacen-cat-status.is-low {
  color: #BE123C !important;
  background: #FFF1F2 !important;
  border-color: #FECDD3 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-cat-open,
.transporte-light-mode .almacen-cat-open {
  color: #B45309 !important;
}


/* ==========================================================================
   ALMACÉN CENTRAL — TARJETA DE NOTIFICACIÓN COLAPSABLE (STOCK CRÍTICO)
   ========================================================================== */
.almacen-crit-notif {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.24) 0%, rgba(24, 24, 31, 0.96) 100%);
  border: 1px solid rgba(244, 63, 94, 0.45);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.almacen-crit-notif:hover {
  border-color: rgba(244, 63, 94, 0.75);
}

.almacen-crit-notif-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.almacen-crit-notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #FB7185;
  flex-shrink: 0;
}

.almacen-crit-notif-title {
  font-size: 13.5px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.almacen-crit-notif-sub {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #FDA4AF;
  margin-top: 2px;
}

.almacen-crit-notif-badge {
  font-size: 13px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #FFFFFF;
  background: #E11D48;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 11px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.almacen-crit-notif-toggle {
  font-size: 11px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #FDA4AF;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 5px 11px;
  border-radius: 9px;
  transition: all 0.15s ease;
}

.almacen-crit-notif-bar:hover .almacen-crit-notif-toggle {
  background: rgba(244, 63, 94, 0.25);
  color: #FFFFFF;
}

.almacen-crit-notif-body {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(244, 63, 94, 0.28);
}

/* ── MODO CLARO PARA NOTIFICACIÓN DE STOCK CRÍTICO ── */
body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif,
.transporte-light-mode .almacen-crit-notif {
  background: #FFF1F2 !important;
  border: 1.5px solid #FDA4AF !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.08) !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif-icon,
.transporte-light-mode .almacen-crit-notif-icon {
  background: #FFE4E6 !important;
  border-color: #FDA4AF !important;
  color: #BE123C !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif-title,
.transporte-light-mode .almacen-crit-notif-title {
  color: #881337 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif-sub,
.transporte-light-mode .almacen-crit-notif-sub {
  color: #9F1239 !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif-badge,
.transporte-light-mode .almacen-crit-notif-badge {
  background: #E11D48 !important;
  color: #FFFFFF !important;
  border-color: #BE123C !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif-toggle,
.transporte-light-mode .almacen-crit-notif-toggle {
  background: #FFFFFF !important;
  color: #BE123C !important;
  border-color: #FDA4AF !important;
}

body.siget-transporte-active.transporte-light-mode-active .almacen-crit-notif-body,
.transporte-light-mode .almacen-crit-notif-body {
  background: #FFFFFF !important;
  border-top-color: #FECDD3 !important;
}


/* ==========================================================================
   ORDEN DE SERVICIO OFICIAL IMAPSAS — PLANILLA INSTITUCIONAL (#os-official-sheet)
   Siempre papel blanco institucional nítido (inmune a Modo Oscuro / Claro)
   ========================================================================== */
#os-official-sheet.os-sheet {
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  padding: 28px 30px !important;
  border-radius: 6px !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 11.5px !important;
  line-height: 1.38 !important;
}

#os-official-sheet .os-hdr {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border-bottom: 2.5px solid #0F172A !important;
  padding-bottom: 11px !important;
  margin-bottom: 14px !important;
}

#os-official-sheet .os-hdr-logo {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

#os-official-sheet .os-hdr-mid {
  flex: 1 !important;
  text-align: center !important;
}

#os-official-sheet .os-hdr-mid .r1 {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #475569 !important;
  text-transform: uppercase !important;
}

#os-official-sheet .os-hdr-mid .r2 {
  font-size: 12.5px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  text-transform: uppercase !important;
  margin: 2px 0 !important;
}

#os-official-sheet .os-hdr-mid .r3 {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
}

#os-official-sheet .os-hdr-box {
  border: 2px solid #0F172A !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  text-align: center !important;
  min-width: 170px !important;
  background: #F8FAFC !important;
}

#os-official-sheet .os-hdr-box .lbl {
  font-size: 8.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: #475569 !important;
  text-transform: uppercase !important;
}

#os-official-sheet .os-hdr-box .num {
  font-size: 16.5px !important;
  font-weight: 900 !important;
  font-family: Consolas, ui-monospace, monospace !important;
  color: #0F172A !important;
  margin: 2px 0 !important;
}

#os-official-sheet .os-hdr-box .srv {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #92400E !important;
  background: #FEF3C7 !important;
  border: 1px solid #F59E0B !important;
  border-radius: 4px !important;
  padding: 1px 7px !important;
  display: inline-block !important;
}

#os-official-sheet .os-sec {
  margin-bottom: 12px !important;
}

#os-official-sheet .os-sec-hdr {
  background: #0F172A !important;
  color: #FFFFFF !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 5px 10px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#os-official-sheet .os-sec-hdr span {
  color: #FFFFFF !important;
}

#os-official-sheet .os-sec-hdr .tag {
  color: #FACC15 !important;
  font-family: Consolas, ui-monospace, monospace !important;
}

#os-official-sheet table.os-tbl {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #94A3B8 !important;
  background: #FFFFFF !important;
}

#os-official-sheet table.os-tbl th,
#os-official-sheet table.os-tbl td {
  border: 1px solid #CBD5E1 !important;
  padding: 6px 9px !important;
  text-align: left !important;
  vertical-align: top !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}

#os-official-sheet table.os-tbl .k {
  font-size: 8.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #475569 !important;
  display: block !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 2px !important;
}

#os-official-sheet table.os-tbl .v {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
}

#os-official-sheet table.os-tbl .v.mono {
  font-family: Consolas, ui-monospace, monospace !important;
}

#os-official-sheet .os-diag {
  border: 1px solid #CBD5E1 !important;
  border-left: 4px solid #D97706 !important;
  background: #FFFBEB !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
}

#os-official-sheet .os-obs {
  border: 1px solid #CBD5E1 !important;
  padding: 8px 12px !important;
  background: #FFFFFF !important;
}

#os-official-sheet .os-obs ul {
  margin: 0 !important;
  padding-left: 18px !important;
  list-style: disc !important;
}

#os-official-sheet .os-obs li {
  margin: 3px 0 !important;
  font-size: 11px !important;
  color: #1E293B !important;
}

#os-official-sheet table.os-rep th {
  background: #F1F5F9 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #334155 !important;
}

#os-official-sheet .os-fotos {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  padding: 9px !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
}

#os-official-sheet .os-fotos img {
  width: 100% !important;
  height: 115px !important;
  object-fit: cover !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 4px !important;
}

#os-official-sheet .os-sigs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin-top: 26px !important;
  padding-top: 8px !important;
}

#os-official-sheet .os-sig {
  text-align: center !important;
}

#os-official-sheet .os-sig .line {
  border-top: 1.5px solid #0F172A !important;
  margin-top: 34px !important;
  padding-top: 5px !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #0F172A !important;
}

#os-official-sheet .os-sig .role {
  font-size: 8.5px !important;
  color: #475569 !important;
}

#os-official-sheet .os-sig .ci {
  font-size: 8px !important;
  color: #64748B !important;
  margin-top: 2px !important;
}

#os-official-sheet .os-foot {
  margin-top: 16px !important;
  padding-top: 7px !important;
  border-top: 1px solid #CBD5E1 !important;
  display: flex !important;
  justify-content: space-between !important;
  font-size: 8.5px !important;
  color: #64748B !important;
}


/* ==========================================================================
   CENTRO DE NOTIFICACIONES DE TRANSPORTE (DARK + LIGHT MODE)
   Solo visible para perfiles con acceso total a Transporte
   ========================================================================== */
.tnotif-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.tnotif-bell-btn.is-dark {
  background: #1E1E24;
  border: 1px solid #2E2E38;
  color: #EAB308;
}

.tnotif-bell-btn.is-dark:hover {
  background: #272732;
  border-color: #EAB308;
}

.tnotif-bell-btn.is-light {
  background: #F4F4F5 !important;
  border: 1px solid #CBD5E1 !important;
  color: #B45309 !important;
}

.tnotif-bell-btn.is-light:hover {
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
}

.tnotif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #E11D48;
  color: #FFFFFF !important;
  font-size: 10px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #141418;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.45);
}

.tnotif-bell-btn.is-light .tnotif-badge {
  border-color: #FFFFFF !important;
}

.tnotif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 24px);
  border-radius: 16px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.tnotif-panel.is-dark {
  background: #18181F;
  border: 1px solid #2E2E38;
  color: #FFFFFF;
}

.tnotif-panel.is-light {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18) !important;
}

.tnotif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #2E2E38;
}

.tnotif-panel.is-light .tnotif-head {
  background: #F8FAFC !important;
  border-bottom-color: #E2E8F0 !important;
}

.tnotif-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.tnotif-sub {
  font-size: 10.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #A1A1AA;
  margin-top: 2px;
}

.tnotif-panel.is-light .tnotif-sub {
  color: #64748B !important;
}

.tnotif-act-btn {
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #EAB308;
  cursor: pointer;
}

.tnotif-panel.is-light .tnotif-act-btn {
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
  color: #B45309 !important;
}

.tnotif-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid #2E2E38;
}

.tnotif-panel.is-light .tnotif-cats {
  border-bottom-color: #E2E8F0 !important;
}

.tnotif-cat-chip {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: #23232D;
  border: 1px solid #2E2E38;
  color: #A1A1AA;
  cursor: pointer;
}

.tnotif-cat-chip.is-active {
  background: #EAB308;
  border-color: #EAB308;
  color: #141418;
}

.tnotif-panel.is-light .tnotif-cat-chip {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #475569 !important;
}

.tnotif-panel.is-light .tnotif-cat-chip.is-active {
  background: #EAB308 !important;
  border-color: #D97706 !important;
  color: #0F172A !important;
}

.tnotif-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.tnotif-empty {
  padding: 26px 14px;
  text-align: center;
  font-size: 12px;
  color: #A1A1AA;
}

.tnotif-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(46, 46, 56, 0.7);
  cursor: pointer;
  transition: background 0.14s ease;
}

.tnotif-item.is-unread {
  background: rgba(234, 179, 8, 0.06);
}

.tnotif-item:hover {
  background: rgba(234, 179, 8, 0.12);
}

.tnotif-item.is-read {
  opacity: 0.68;
}

.tnotif-panel.is-light .tnotif-item {
  border-bottom-color: #E2E8F0 !important;
}

.tnotif-panel.is-light .tnotif-item.is-unread {
  background: #FFFBEB !important;
}

.tnotif-panel.is-light .tnotif-item:hover {
  background: #FEF3C7 !important;
}

.tnotif-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-top: 4px;
  flex-shrink: 0;
}

.tnotif-dot.sev-crit {
  background: #F43F5E;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.65);
}

.tnotif-dot.sev-warn {
  background: #F59E0B;
}

.tnotif-dot.sev-info {
  background: #38BDF8;
}

.tnotif-item-title {
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
}

.tnotif-panel.is-light .tnotif-item-title {
  color: #0F172A !important;
}

.tnotif-item-cat {
  font-size: 9.5px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 6px;
  background: #262632;
  color: #EAB308;
  flex-shrink: 0;
}

.tnotif-panel.is-light .tnotif-item-cat {
  background: #F1F5F9 !important;
  color: #334155 !important;
}

.tnotif-item-desc {
  font-size: 11px;
  color: #A1A1AA;
  margin-top: 2px;
  line-height: 1.3;
}

.tnotif-panel.is-light .tnotif-item-desc {
  color: #475569 !important;
}

.tnotif-item-date {
  font-size: 9.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #71717A;
  margin-top: 3px;
}


/* ==========================================================================
   REPORTES DE INCIDENTE — BARRA DE ACCIONES (ESTATUS, ACTA PDF, ENVIAR A TALLER)
   ========================================================================== */
.inc-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #2E2E38;
}

.inc-est-lbl {
  font-size: 10.5px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  color: #A1A1AA;
}

.inc-est-select {
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  border: 1px solid #2E2E38;
  background: #141418;
  color: #FFFFFF;
}

.inc-est-select.is-pend {
  border-color: rgba(245, 158, 11, 0.55);
  color: #FCD34D;
  background: rgba(120, 53, 15, 0.28);
}

.inc-est-select.is-rev {
  border-color: rgba(56, 189, 248, 0.55);
  color: #7DD3FC;
  background: rgba(12, 74, 110, 0.28);
}

.inc-est-select.is-ok {
  border-color: rgba(16, 185, 129, 0.55);
  color: #6EE7B7;
  background: rgba(6, 78, 59, 0.28);
}

.inc-act-btn {
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.inc-act-btn.is-pdf {
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #FDA4AF;
}

.inc-act-btn.is-pdf:hover {
  background: #E11D48;
  border-color: #E11D48;
  color: #FFFFFF;
}

.inc-act-btn.is-taller {
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #FDE047;
}

.inc-act-btn.is-taller:hover {
  background: #EAB308;
  border-color: #EAB308;
  color: #141418;
}

/* ── MODO CLARO PARA ACCIONES DE INCIDENTES ── */
body.siget-transporte-active.transporte-light-mode-active .inc-actions-bar,
.transporte-light-mode .inc-actions-bar {
  border-top-color: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-est-lbl,
.transporte-light-mode .inc-est-lbl {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-est-select.is-pend,
.transporte-light-mode .inc-est-select.is-pend {
  background: #FFFBEB !important;
  border-color: #F59E0B !important;
  color: #92400E !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-est-select.is-rev,
.transporte-light-mode .inc-est-select.is-rev {
  background: #EFF6FF !important;
  border-color: #3B82F6 !important;
  color: #1D4ED8 !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-est-select.is-ok,
.transporte-light-mode .inc-est-select.is-ok {
  background: #ECFDF5 !important;
  border-color: #10B981 !important;
  color: #047857 !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-act-btn.is-pdf,
.transporte-light-mode .inc-act-btn.is-pdf {
  background: #FFF1F2 !important;
  border-color: #FDA4AF !important;
  color: #BE123C !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-act-btn.is-pdf:hover,
.transporte-light-mode .inc-act-btn.is-pdf:hover {
  background: #E11D48 !important;
  color: #FFFFFF !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-act-btn.is-taller,
.transporte-light-mode .inc-act-btn.is-taller {
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
  color: #92400E !important;
}

body.siget-transporte-active.transporte-light-mode-active .inc-act-btn.is-taller:hover,
.transporte-light-mode .inc-act-btn.is-taller:hover {
  background: #EAB308 !important;
  color: #0F172A !important;
}


/* ==========================================================================
   SERVICIOS DE MANTENIMIENTO — SEMÁFORO PREVENTIVO SINOTRACK (DARK + LIGHT)
   ========================================================================== */
.maint-sem-panel {
  background: #1E1E24;
  border: 1px solid #2E2E38;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.maint-sem-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.maint-sem-title {
  font-size: 15px;
  font-weight: 900;
  color: #FFFFFF;
}

.maint-sem-sub {
  font-size: 11px;
  color: #A1A1AA;
  margin-top: 2px;
}

.maint-sem-search {
  min-width: 220px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #141418;
  border: 1px solid #2E2E38;
  color: #FFFFFF;
  font-size: 12px;
  outline: none;
}

.maint-sem-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.maint-sem-chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #141418;
  border: 1px solid #2E2E38;
  color: #A1A1AA;
  cursor: pointer;
  transition: all 0.15s ease;
}

.maint-sem-chip.is-active {
  background: #EAB308;
  border-color: #EAB308;
  color: #141418;
}

.maint-sem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.maint-sem-card {
  background: #16161C;
  border: 1.5px solid #2E2E38;
  border-radius: 14px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.maint-sem-card.st-vencido {
  border-color: rgba(244, 63, 94, 0.6);
}

.maint-sem-card.st-proximo {
  border-color: rgba(245, 158, 11, 0.55);
}

.maint-sem-card.st-al_dia {
  border-color: rgba(16, 185, 129, 0.45);
}

.maint-sem-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.maint-sem-code {
  font-size: 13.5px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.maint-sem-plate {
  font-size: 10.5px;
  font-weight: 700;
  color: #A1A1AA;
  background: #23232D;
  padding: 1px 6px;
  border-radius: 6px;
}

.maint-sem-model {
  font-size: 11px;
  color: #A1A1AA;
  margin-top: 2px;
}

.maint-sem-pill {
  font-size: 9.5px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.maint-sem-pill.st-vencido {
  background: rgba(244, 63, 94, 0.18);
  color: #FDA4AF;
  border: 1px solid rgba(244, 63, 94, 0.5);
}

.maint-sem-pill.st-proximo {
  background: rgba(245, 158, 11, 0.18);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.maint-sem-pill.st-al_dia {
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.maint-sem-pill.st-sin_base {
  background: #262632;
  color: #A1A1AA;
  border: 1px solid #3A3A4A;
}

.maint-sem-gps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #EAB308;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.22);
  padding: 4px 8px;
  border-radius: 8px;
}

.maint-sem-cat {
  font-size: 9.5px;
  color: #A1A1AA;
}

.maint-sem-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.maint-sem-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #D4D4D8;
}

.maint-sem-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #262632;
  overflow: hidden;
}

.maint-sem-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.maint-sem-fill.st-vencido { background: #F43F5E; }
.maint-sem-fill.st-proximo { background: #F59E0B; }
.maint-sem-fill.st-al_dia { background: #10B981; }
.maint-sem-fill.st-sin_base { background: #52525B; }

.maint-sem-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #2E2E38;
}

.maint-sem-last {
  font-size: 10px;
  color: #A1A1AA;
}

.maint-sem-edit-btn {
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #FDE047;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.maint-sem-edit-btn:hover {
  background: #EAB308;
  color: #141418;
}

/* ── MODO CLARO PARA SEMÁFORO PREVENTIVO ── */
body.siget-transporte-active.transporte-light-mode-active .maint-sem-panel,
.transporte-light-mode .maint-sem-panel {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-title,
.transporte-light-mode .maint-sem-title {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-sub,
.transporte-light-mode .maint-sem-sub {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-chip,
.transporte-light-mode .maint-sem-chip {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #334155 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-chip.is-active,
.transporte-light-mode .maint-sem-chip.is-active {
  background: #EAB308 !important;
  border-color: #D97706 !important;
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-card,
.transporte-light-mode .maint-sem-card {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-card.st-vencido,
.transporte-light-mode .maint-sem-card.st-vencido {
  border-color: #FDA4AF !important;
  background: #FFF1F2 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-card.st-proximo,
.transporte-light-mode .maint-sem-card.st-proximo {
  border-color: #FCD34D !important;
  background: #FFFBEB !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-card.st-al_dia,
.transporte-light-mode .maint-sem-card.st-al_dia {
  border-color: #6EE7B7 !important;
  background: #ECFDF5 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-code,
.transporte-light-mode .maint-sem-code {
  color: #0F172A !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-plate,
.transporte-light-mode .maint-sem-plate {
  background: #E2E8F0 !important;
  color: #334155 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-model,
body.siget-transporte-active.transporte-light-mode-active .maint-sem-bar-row,
body.siget-transporte-active.transporte-light-mode-active .maint-sem-last,
.transporte-light-mode .maint-sem-model,
.transporte-light-mode .maint-sem-bar-row,
.transporte-light-mode .maint-sem-last {
  color: #334155 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-gps,
.transporte-light-mode .maint-sem-gps {
  background: #FEF3C7 !important;
  border-color: #FCD34D !important;
  color: #92400E !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-cat,
.transporte-light-mode .maint-sem-cat {
  color: #475569 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-track,
.transporte-light-mode .maint-sem-track {
  background: #E2E8F0 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-foot,
.transporte-light-mode .maint-sem-foot {
  border-top-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-edit-btn,
.transporte-light-mode .maint-sem-edit-btn {
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
  color: #92400E !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-pill.st-vencido,
.transporte-light-mode .maint-sem-pill.st-vencido {
  background: #FFE4E6 !important;
  color: #BE123C !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-pill.st-proximo,
.transporte-light-mode .maint-sem-pill.st-proximo {
  background: #FEF3C7 !important;
  color: #B45309 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-pill.st-al_dia,
.transporte-light-mode .maint-sem-pill.st-al_dia {
  background: #D1FAE5 !important;
  color: #047857 !important;
}

body.siget-transporte-active.transporte-light-mode-active .maint-sem-pill.st-sin_base,
.transporte-light-mode .maint-sem-pill.st-sin_base {
  background: #E2E8F0 !important;
  color: #475569 !important;
}


/* ==========================================================================
   CONTROL DE DIÉSEL — TARJETA DISTRIBUCIÓN DE DIÉSEL (3 COLORES DISTINTOS)
   ========================================================================== */
.diesel-dist-total {
  font-size: 11px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #EAB308;
  flex-shrink: 0;
}

.diesel-dist-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: #262632 !important;
  border: 1px solid #3A3A4A !important;
}

.diesel-dist-seg {
  height: 100%;
  transition: width 0.4s ease;
}

.diesel-dist-seg.seg-oficial,
.diesel-dist-dot.seg-oficial {
  background: #2563EB !important;
}

.diesel-dist-seg.seg-terceros,
.diesel-dist-dot.seg-terceros {
  background: #F59E0B !important;
}

.diesel-dist-seg.seg-apoyo,
.diesel-dist-dot.seg-apoyo {
  background: #9333EA !important;
}

.diesel-dist-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #2E2E38;
  font-size: 10.5px;
  font-weight: 700;
  color: #D4D4D8;
  background: transparent !important;
}

.diesel-dist-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.diesel-dist-leg-item strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  color: #FFFFFF;
}

.diesel-dist-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ── MODO CLARO PARA DISTRIBUCIÓN DE DIÉSEL ── */
body.siget-transporte-active.transporte-light-mode-active .diesel-dist-total,
.transporte-light-mode .diesel-dist-total {
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
  color: #92400E !important;
}

body.siget-transporte-active.transporte-light-mode-active .diesel-dist-track,
.transporte-light-mode .diesel-dist-track {
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
}

body.siget-transporte-active.transporte-light-mode-active .diesel-dist-legend,
.transporte-light-mode .diesel-dist-legend {
  border-top-color: #E2E8F0 !important;
  color: #475569 !important;
  background: transparent !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

body.siget-transporte-active.transporte-light-mode-active .diesel-dist-leg-item strong,
.transporte-light-mode .diesel-dist-leg-item strong {
  color: #0F172A !important;
}

/* === TRANSPORTE CLEAN LABELS V21 === */
/* Diseño limpio y ejecutivo: elimina etiquetas/cajas con bordes y fondos llamativos en todo Transporte */

/* 1. Hojas Oficiales / Impresión (Orden de Servicio, Ticket de Requerimiento) */
#os-official-sheet .os-hdr-box .srv,
#tr-official-sheet .os-hdr-box .srv {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 2px !important;
  color: #475569 !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

/* 2. Etiquetas nombradas de Taller, Almacén, Flota y Semáforo */
body.siget-transporte-active .wk-badge-os,
body.siget-transporte-active .wk-badge-spec,
body.siget-transporte-active .wk-badge-status,
body.siget-transporte-active .wk-badge-status.is-final,
body.siget-transporte-active .wk-area-tag,
body.siget-transporte-active .erp-mov-badge,
body.siget-transporte-active .erp-mov-badge-salida,
body.siget-transporte-active .erp-mov-badge-entrada,
body.siget-transporte-active .erp-mov-badge-alert,
body.siget-transporte-active .bento-inv-pill,
body.siget-transporte-active .badge-status-online,
body.siget-transporte-active .badge-status-offline,
body.siget-transporte-active .maint-sem-pill,
body.siget-transporte-active .maint-sem-pill.st-vencido,
body.siget-transporte-active .maint-sem-pill.st-proximo,
body.siget-transporte-active .maint-sem-pill.st-al_dia,
body.siget-transporte-active .maint-sem-pill.st-sin_base,
#transporte .wk-badge-os,
#transporte .wk-badge-spec,
#transporte .wk-badge-status,
#transporte .wk-area-tag,
#transporte .erp-mov-badge,
#transporte .bento-inv-pill,
#transporte .badge-status-online,
#transporte .badge-status-offline,
#transporte .maint-sem-pill {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Tipografía limpia y legible para las etiquetas de Taller (Dark & Light) */
body.siget-transporte-active .wk-badge-os,
#transporte .wk-badge-os {
  color: #F4F4F5 !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
}
body.siget-transporte-active .wk-badge-spec,
#transporte .wk-badge-spec {
  color: #A1A1AA !important;
  font-weight: 600 !important;
}
body.siget-transporte-active .wk-badge-status,
#transporte .wk-badge-status {
  color: #FBBF24 !important;
  font-weight: 700 !important;
}
body.siget-transporte-active .wk-badge-status.is-final,
#transporte .wk-badge-status.is-final {
  color: #34D399 !important;
}

body.siget-transporte-active.transporte-light-mode-active .wk-badge-os,
.transporte-light-mode .wk-badge-os {
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active .wk-badge-spec,
.transporte-light-mode .wk-badge-spec {
  color: #475569 !important;
}
body.siget-transporte-active.transporte-light-mode-active .wk-badge-status,
.transporte-light-mode .wk-badge-status {
  color: #B45309 !important;
}
body.siget-transporte-active.transporte-light-mode-active .wk-badge-status.is-final,
.transporte-light-mode .wk-badge-status.is-final {
  color: #047857 !important;
}

/* 3. Etiquetas tipo pill/tag en banners, listas, tarjetas y tablas de Transporte (excluyendo botones, puntos y contadores) */
body.siget-transporte-active #gasolina-context-banner span.rounded-full,
body.siget-transporte-active #diesel-context-banner span.rounded-full,
body.siget-transporte-active #transporte .grid button span.rounded-full,
body.siget-transporte-active #transporte button.group span.rounded-full,
body.siget-transporte-active span[class*="rounded"][class*="border"][class*="bg-"]:not(.tnotif-badge):not(.almacen-crit-notif-badge):not(.badge-status-dot):not(#imapsas-peticiones-badge):not([class*="w-1.5"]):not([class*="w-2"]):not([class*="w-2.5"]):not([class*="w-3"]):not([class*="animate-"]),
body.siget-transporte-active span[class*="rounded-full"][class*="bg-"]:not(.tnotif-badge):not(.almacen-crit-notif-badge):not(.badge-status-dot):not(#imapsas-peticiones-badge):not([class*="w-1.5"]):not([class*="w-2"]):not([class*="w-2.5"]):not([class*="w-3"]):not([class*="animate-"]),
body.siget-transporte-active span[class*="rounded-md"][class*="bg-amber-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-yellow-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-orange-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-emerald-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-green-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-red-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-rose-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-blue-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-sky-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-purple-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-indigo-"],
body.siget-transporte-active span[class*="rounded-md"][class*="bg-cyan-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-amber-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-yellow-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-orange-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-emerald-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-green-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-red-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-rose-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-blue-"],
body.siget-transporte-active span[class*="rounded-lg"][class*="bg-purple-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-amber-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-yellow-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-orange-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-emerald-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-red-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-rose-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-blue-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-purple-"],
body.siget-transporte-active span[class*="rounded"][class*="bg-indigo-"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Asegurar que los span dentro de botones CTA no pierdan su estilo de botón */
body.siget-transporte-active button > span:not(.tnotif-badge):not(.almacen-crit-notif-badge):not(#imapsas-peticiones-badge) {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Modo claro: asegurar contraste limpio en textos de etiquetas sin fondo */
body.siget-transporte-active.transporte-light-mode-active span[class*="text-amber-300"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-amber-400"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-yellow-300"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-yellow-400"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-[#EAB308]"],
.transporte-light-mode span[class*="text-amber-300"],
.transporte-light-mode span[class*="text-amber-400"],
.transporte-light-mode span[class*="text-yellow-400"] {
  color: #92400E !important;
}
body.siget-transporte-active.transporte-light-mode-active span[class*="text-emerald-300"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-emerald-400"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-green-400"],
.transporte-light-mode span[class*="text-emerald-400"] {
  color: #047857 !important;
}
body.siget-transporte-active.transporte-light-mode-active span[class*="text-rose-300"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-rose-400"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-red-400"],
.transporte-light-mode span[class*="text-rose-400"] {
  color: #BE123C !important;
}
body.siget-transporte-active.transporte-light-mode-active span[class*="text-blue-300"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-blue-400"],
body.siget-transporte-active.transporte-light-mode-active span[class*="text-sky-400"],
.transporte-light-mode span[class*="text-blue-400"] {
  color: #1D4ED8 !important;
}

/* === QUITAR SOMBRAS SUCIAS DE TARJETAS CONDUCTORES V26 === */
/* Mantiene 100% intactos los estilos de las tarjetas (biseles, tornillos, hexágono) y elimina solo las sombras negras */
.rugged-person-drop,
.rugged-person-drop:hover,
.rugged-person-outer:hover .rugged-card-amber {
  filter: none !important;
  box-shadow: none !important;
}
.rugged-person-drop .rugged-person-armor,
.rugged-person-drop .rugged-amber-lock,
.rugged-person-drop .rugged-recessed-well,
.rugged-person-drop .rugged-recessed-well > div:first-child,
.rugged-person-drop [style*="drop-shadow"] {
  filter: none !important;
  box-shadow: none !important;
}

/* === HEXAGONO BLANCO EN MODO CLARO V27 === */
/* Mantiene el borde dorado hexagonal intacto y pone el fondo interno blanco con iniciales oscuras legibles en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .rugged-person-drop .rugged-recessed-well > div:first-child > div:first-child > div.relative.shrink-0 > div:first-child > div,
.transporte-light-mode .rugged-person-drop .rugged-recessed-well > div:first-child > div:first-child > div.relative.shrink-0 > div:first-child > div,
body.siget-transporte-active.transporte-light-mode-active .rugged-person-drop .rugged-recessed-well > div:first-child > div:first-child > div.relative.shrink-0 > div:first-child > div > div,
.transporte-light-mode .rugged-person-drop .rugged-recessed-well > div:first-child > div:first-child > div.relative.shrink-0 > div:first-child > div > div {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #0F172A !important;
  text-shadow: none !important;
}
body.siget-transporte-active.transporte-light-mode-active .rugged-person-drop .rugged-recessed-well > div:first-child > div:first-child > div.relative.shrink-0 > div:first-child span,
.transporte-light-mode .rugged-person-drop .rugged-recessed-well > div:first-child > div:first-child > div.relative.shrink-0 > div:first-child span {
  color: #0F172A !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* === HERRAMIENTAS MODO CLARO V28 === */
/* Adapta barra de selección, botón deshabilitado y tarjetas .tool-blueprint-card al Modo Claro sin tocar Modo Hierro/Oscuro */

/* 1. Botón "Asignar Herramientas Seleccionadas (0)" legible en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active button.bg-slate-200.cursor-not-allowed,
.transporte-light-mode button.bg-slate-200.cursor-not-allowed {
  background: #F1F5F9 !important;
  background-color: #F1F5F9 !important;
  color: #64748B !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: none !important;
}
body.siget-transporte-active.transporte-light-mode-active button.bg-slate-200.cursor-not-allowed span,
.transporte-light-mode button.bg-slate-200.cursor-not-allowed span {
  color: #64748B !important;
}

/* 2. Barra "SELECCIONAR TODAS LAS HERRAMIENTAS DISPONIBLES" en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active div:has(+ div > .tool-blueprint-card),
.transporte-light-mode div:has(+ div > .tool-blueprint-card) {
  background: #CBD5E1 !important;
  box-shadow: none !important;
}
body.siget-transporte-active.transporte-light-mode-active div:has(+ div > .tool-blueprint-card) > div,
.transporte-light-mode div:has(+ div > .tool-blueprint-card) > div {
  background: #F8FAFC !important;
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active div:has(+ div > .tool-blueprint-card) button,
body.siget-transporte-active.transporte-light-mode-active div:has(+ div > .tool-blueprint-card) button > span:last-child,
.transporte-light-mode div:has(+ div > .tool-blueprint-card) button,
.transporte-light-mode div:has(+ div > .tool-blueprint-card) button > span:last-child {
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active div:has(+ div > .tool-blueprint-card) button > span:first-child,
.transporte-light-mode div:has(+ div > .tool-blueprint-card) button > span:first-child {
  background: #FFFFFF !important;
  border-color: #94A3B8 !important;
}
body.siget-transporte-active.transporte-light-mode-active div:has(+ div > .tool-blueprint-card) > div > span:last-child,
.transporte-light-mode div:has(+ div > .tool-blueprint-card) > div > span:last-child {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #92400E !important;
}

/* 3. Tarjetas .tool-blueprint-card en Modo Claro (mantiene estética técnica/blueprint pero en blanco limpio) */
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card,
.transporte-light-mode .tool-blueprint-card {
  background: linear-gradient(180deg, #CBD5E1, #94A3B8) !important;
  box-shadow: none !important;
}
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card > div > div,
.transporte-light-mode .tool-blueprint-card > div > div {
  background-color: #FFFFFF !important;
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 0) !important;
  color: #0F172A !important;
}

/* Checkbox y textos internos de la tarjeta en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card button[title="Seleccionar"],
.transporte-light-mode .tool-blueprint-card button[title="Seleccionar"] {
  background: #FFFFFF !important;
  border-color: #94A3B8 !important;
}
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card h3,
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card h4,
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card strong,
.transporte-light-mode .tool-blueprint-card h3,
.transporte-light-mode .tool-blueprint-card h4,
.transporte-light-mode .tool-blueprint-card strong {
  color: #0F172A !important;
}
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card p,
.transporte-light-mode .tool-blueprint-card p {
  color: #475569 !important;
}

/* Viewport del plano / foto en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card .tool-bp-viewport,
.transporte-light-mode .tool-blueprint-card .tool-bp-viewport {
  background-color: #F8FAFC !important;
  background-image: linear-gradient(rgba(180, 83, 9, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 83, 9, 0.09) 1px, transparent 1px) !important;
  border-color: #CBD5E1 !important;
}
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card .tool-bp-viewport svg,
.transporte-light-mode .tool-blueprint-card .tool-bp-viewport svg {
  color: #B45309 !important;
  filter: none !important;
}

/* Caja de Ubicación y botones de editar/eliminar dentro de la tarjeta en Modo Claro */
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card [style*="background: rgb(9, 9, 11)"],
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card [style*="background:#09090B"],
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card [style*="background: #09090B"],
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card [style*="background:#18181B"],
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card [style*="background: #18181B"],
body.siget-transporte-active.transporte-light-mode-active .tool-blueprint-card [style*="background: rgb(24, 24, 27)"],
.transporte-light-mode .tool-blueprint-card [style*="background:#09090B"],
.transporte-light-mode .tool-blueprint-card [style*="background: #09090B"],
.transporte-light-mode .tool-blueprint-card [style*="background:#18181B"],
.transporte-light-mode .tool-blueprint-card [style*="background: #18181B"] {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}

/* === COMPROBANTE DE GASOLINA EXECUTIVE STYLE V30 === */
/* Diseño institucional limpio (papel blanco, azul marino #0F172A y gris pizarra #E2E8F0) sin cajas amarillas/naranjas */

#modal-imprimir-ticket-gasolina-backdrop {
  background: rgba(9, 9, 11, 0.72) !important;
  backdrop-filter: blur(6px) !important;
}

#modal-imprimir-ticket-gasolina-container {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28) !important;
  overflow: hidden !important;
}

/* Cabecera superior del modal (sin scrollbar horizontal) */
#modal-imprimir-ticket-gasolina-container > div:first-child {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-bottom: 1px solid #E2E8F0 !important;
  overflow: visible !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 14px 20px !important;
}
#modal-imprimir-ticket-gasolina-container > div:first-child > div {
  overflow: visible !important;
}
#modal-imprimir-ticket-gasolina-container > div:first-child h3 {
  color: #0F172A !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
}
#modal-imprimir-ticket-gasolina-container > div:first-child p {
  color: #64748B !important;
}
#modal-imprimir-ticket-gasolina-container > div:first-child .w-8.h-8 {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}
#modal-imprimir-ticket-gasolina-container > div:first-child .w-8.h-8 svg {
  color: #0F172A !important;
}

/* Botones de cabecera */
#btn-download-pdf-ticket-gasolina-top {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
#btn-download-pdf-ticket-gasolina-top:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}
#btn-download-pdf-ticket-gasolina-top svg {
  color: #0F172A !important;
}
#btn-print-ticket-gasolina-top {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: 1px solid #0F172A !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
#btn-print-ticket-gasolina-top:hover {
  background: #1E293B !important;
}
#btn-print-ticket-gasolina-top span,
#btn-print-ticket-gasolina-top svg {
  color: #FFFFFF !important;
}
#btn-close-ticket-gasolina-modal-top {
  color: #64748B !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}
#btn-close-ticket-gasolina-modal-top:hover {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}

/* Cuerpo del comprobante (papel limpio, scrollbar discreta) */
#modal-imprimir-ticket-gasolina-container #printable-ticket {
  background: #FFFFFF !important;
  color: #0F172A !important;
  scrollbar-width: thin !important;
  scrollbar-color: #CBD5E1 transparent !important;
}
#modal-imprimir-ticket-gasolina-container #printable-ticket::-webkit-scrollbar {
  width: 6px !important;
}
#modal-imprimir-ticket-gasolina-container #printable-ticket::-webkit-scrollbar-track {
  background: transparent !important;
}
#modal-imprimir-ticket-gasolina-container #printable-ticket::-webkit-scrollbar-thumb {
  background: #CBD5E1 !important;
  border-radius: 999px !important;
}

/* Membrete institucional */
#modal-imprimir-ticket-gasolina-container #printable-ticket > div:first-child {
  border-bottom: 2px solid #0F172A !important;
}
#modal-imprimir-ticket-gasolina-container #printable-ticket h1,
#modal-imprimir-ticket-gasolina-container #printable-ticket h2,
#modal-imprimir-ticket-gasolina-container #printable-ticket h3,
#modal-imprimir-ticket-gasolina-container #printable-ticket strong {
  color: #0F172A !important;
}
#modal-imprimir-ticket-gasolina-container #printable-ticket p,
#modal-imprimir-ticket-gasolina-container #printable-ticket span {
  color: #334155 !important;
}

/* Eliminar TODAS las cajas amarillas/naranjas dentro del comprobante */
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="bg-amber"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="bg-yellow"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="bg-orange"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="bg-[#1E1E24]"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="bg-[#141418]"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="border-amber"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="border-yellow"],
#modal-imprimir-ticket-gasolina-container #printable-ticket [class*="border-orange"] {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  background-image: none !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: none !important;
}

/* Encabezados internos dentro de las cajas (Conductor / Vehículo) sin barra blanca fea */
#modal-imprimir-ticket-gasolina-container #printable-ticket .grid > div > div:first-child {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 6px !important;
  margin-bottom: 8px !important;
}

/* Cuadro de número de ticket */
#modal-imprimir-ticket-gasolina-container #printable-ticket > div:first-child .inline-block {
  border: 1.5px solid #0F172A !important;
  background: #F8FAFC !important;
  border-radius: 8px !important;
}

/* Iconos neutros elegantes en lugar de naranjas/amarillos */
#modal-imprimir-ticket-gasolina-container #printable-ticket svg {
  color: #475569 !important;
}

/* Pie del modal (botones ejecutivos limpios sin naranja chillón) */
#modal-imprimir-ticket-gasolina-container > div:last-child {
  background: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}
#modal-imprimir-ticket-gasolina-container > div:last-child button {
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
}
#modal-imprimir-ticket-gasolina-container > div:last-child button:first-child {
  background: #FFFFFF !important;
  color: #334155 !important;
  border: 1px solid #CBD5E1 !important;
}
#modal-imprimir-ticket-gasolina-container > div:last-child button:nth-child(2) {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: 1px solid #0F172A !important;
}
#modal-imprimir-ticket-gasolina-container > div:last-child button:nth-child(2) *,
#modal-imprimir-ticket-gasolina-container > div:last-child button:nth-child(3) * {
  color: #FFFFFF !important;
}
#modal-imprimir-ticket-gasolina-container > div:last-child button:nth-child(3) {
  background: #E11D48 !important;
  color: #FFFFFF !important;
  border: 1px solid #E11D48 !important;
}

/* === TALLER MODO CLARO CONTRASTE V31 === */
/* Corrige textos invisibles en Modo Claro (OS-2026-XXX, En Espera y botón Finalizar y Devolver Operativo) */

html.transporte-light-mode body #root .wk-badge-os,
body.siget-transporte-active.transporte-light-mode-active #transporte .wk-badge-os,
body.siget-transporte-active.transporte-light-mode-active .wk-badge-os,
.transporte-light-mode .wk-badge-os {
  color: #0F172A !important;
  font-weight: 900 !important;
}

html.transporte-light-mode body #root .wk-badge-spec,
body.siget-transporte-active.transporte-light-mode-active #transporte .wk-badge-spec,
body.siget-transporte-active.transporte-light-mode-active .wk-badge-spec,
.transporte-light-mode .wk-badge-spec {
  color: #334155 !important;
  font-weight: 700 !important;
}

html.transporte-light-mode body #root .wk-badge-status,
body.siget-transporte-active.transporte-light-mode-active #transporte .wk-badge-status,
body.siget-transporte-active.transporte-light-mode-active .wk-badge-status,
.transporte-light-mode .wk-badge-status {
  color: #B45309 !important;
  font-weight: 800 !important;
}
html.transporte-light-mode body #root .wk-badge-status.is-final,
body.siget-transporte-active.transporte-light-mode-active #transporte .wk-badge-status.is-final,
.transporte-light-mode .wk-badge-status.is-final {
  color: #047857 !important;
}

/* Botón Finalizar y Devolver Operativo visible en Modo Claro */
html.transporte-light-mode body #root .wk-btn-finish,
body.siget-transporte-active.transporte-light-mode-active #transporte .wk-btn-finish,
body.siget-transporte-active.transporte-light-mode-active .wk-btn-finish,
.transporte-light-mode .wk-btn-finish {
  background: #059669 !important;
  background-image: none !important;
  border: 1px solid #047857 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
html.transporte-light-mode body #root .wk-btn-finish:hover,
.transporte-light-mode .wk-btn-finish:hover {
  background: #047857 !important;
}
html.transporte-light-mode body #root .wk-btn-finish span,
html.transporte-light-mode body #root .wk-btn-finish svg,
body.siget-transporte-active.transporte-light-mode-active .wk-btn-finish span,
body.siget-transporte-active.transporte-light-mode-active .wk-btn-finish svg,
.transporte-light-mode .wk-btn-finish span,
.transporte-light-mode .wk-btn-finish svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
