
/* ─── BOTÓN HEADER DISPARADOR ─── */
.header-guide-trigger[data-v-965058e9] {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.header-guide-trigger[data-v-965058e9]:hover {
  background-color: #F1F5F9;
}
.guide-active-dot[data-v-965058e9] {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 9999px;
  box-shadow: 0 0 0 2px #FFFFFF;
}

/* ─── CONTENEDOR PRINCIPAL DEL MODAL (ADAPTABLE) ─── */
.guide-modal-card[data-v-965058e9] {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 25px 65px -15px rgba(0, 44, 83, 0.25),
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(226, 232, 240, 0.9);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  max-height: calc(90dvh - 20px);
  width: 100%;
}

/* ─── 1. ENCABEZADO INSTITUCIONAL ELEGANTE ─── */
.guide-modal-header[data-v-965058e9] {
  position: relative;
  background: linear-gradient(145deg, #001E3D 0%, #002C53 60%, #0C3660 100%);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 44, 83, 0.15);
  flex-shrink: 0;
}
.header-ambient-glow[data-v-965058e9] {
  position: absolute;
  top: -30px;
  right: 20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(24, 119, 242, 0.35) 0%, rgba(24, 119, 242, 0) 70%);
  pointer-events: none;
}
.header-main-content[data-v-965058e9] {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  z-index: 1;
}
.header-avatar-anchor[data-v-965058e9] {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.header-avatar-img[data-v-965058e9] {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}
.avatar-live-indicator[data-v-965058e9] {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: #10B981;
  border: 2px solid #002C53;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.6);
}
.header-info-col[data-v-965058e9] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.header-title-row[data-v-965058e9] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.header-main-title[data-v-965058e9] {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.2px;
}
.header-role-badge[data-v-965058e9] {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.5px 7px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}
.header-subtitle-row[data-v-965058e9] {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #BAE6FD;
  margin-top: 3px;
  opacity: 0.92;
}
.header-close-btn[data-v-965058e9] {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 1;
}
.header-close-btn[data-v-965058e9]:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

/* ─── 2. CUERPO DEL MODAL (RESPONSIVO Y SCROLLEABLE) ─── */
.guide-modal-body[data-v-965058e9] {
  padding: 18px 20px;
  overflow-y: auto;
  max-height: calc(85dvh - 145px);
  background: #FFFFFF;
  flex: 1;
}

/* Campo de Búsqueda Rápida */
.search-box-wrapper[data-v-965058e9] {
  position: relative;
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}
.search-box-wrapper[data-v-965058e9]:focus-within {
  border-color: #1877F2;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12);
}
.search-icon[data-v-965058e9] {
  margin-right: 8px;
  flex-shrink: 0;
}
.search-input-field[data-v-965058e9] {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: #0F172A;
}
.search-input-field[data-v-965058e9]::placeholder {
  color: #94A3B8;
}
.search-clear-btn[data-v-965058e9] {
  background: #E2E8F0;
  border: none;
  border-radius: 9999px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.search-clear-btn[data-v-965058e9]:hover {
  background: #CBD5E1;
}
.search-kbd-tag[data-v-965058e9] {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #94A3B8;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 1px 6px;
  border-radius: 5px;
}

/* Encabezados de Sección */
.section-label-header[data-v-965058e9] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-indicator-dot[data-v-965058e9] {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #1877F2;
}
.section-title-text[data-v-965058e9] {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
}
.route-slug-pill[data-v-965058e9] {
  font-size: 10px;
  color: #94A3B8;
  background: #F1F5F9;
  padding: 1px 6px;
  border-radius: 4px;
}
.filter-active-pill[data-v-965058e9] {
  font-size: 9.5px;
  font-weight: 700;
  color: #1877F2;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ─── TARJETA HERO DE LA PANTALLA ACTUAL ─── */
.current-screen-hero-card[data-v-965058e9] {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95) 0%, rgba(245, 248, 255, 0.9) 100%);
  border: 1.5px solid rgba(191, 219, 254, 0.95);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.08);
  transition: all 0.25s ease;
}
.current-screen-hero-card[data-v-965058e9]:hover {
  border-color: #93C5FD;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.12);
}
.hero-card-header[data-v-965058e9] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-target-icon-box[data-v-965058e9] {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-tour-title[data-v-965058e9] {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.2px;
}
.hero-category-chip[data-v-965058e9] {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid;
}
.hero-tour-subtitle[data-v-965058e9] {
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.btn-start-screen-tour[data-v-965058e9] {
  width: 100%;
  height: 36px;
  border: none;
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  color: #FFFFFF;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-start-screen-tour[data-v-965058e9]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.42);
}
.btn-start-screen-tour[data-v-965058e9]:active {
  transform: translateY(0);
}

/* Aviso cuando la pantalla no tiene guía directa */
.empty-screen-notice[data-v-965058e9] {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.empty-icon-circle[data-v-965058e9] {
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.empty-notice-text[data-v-965058e9] {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.4;
}
.modal-section-divider[data-v-965058e9] {
  height: 1px;
  background: #F1F5F9;
  width: 100%;
}

/* ─── DIRECTORIO DE GUÍAS ─── */
.directory-list-container[data-v-965058e9] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.directory-item-card[data-v-965058e9] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.directory-item-card[data-v-965058e9]:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(0, 44, 83, 0.05);
}
.directory-item-card.is-screen-match[data-v-965058e9] {
  background: #F0FDF4 !important;
  border-color: #BBF7D0 !important;
}
.module-icon-box[data-v-965058e9] {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
}
.directory-item-info[data-v-965058e9] {
  flex: 1;
}
.directory-item-title[data-v-965058e9] {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}
.directory-item-meta[data-v-965058e9] {
  font-size: 10px;
  color: #94A3B8;
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.category-meta-name[data-v-965058e9] {
  font-weight: 600;
  color: #64748B;
}
.meta-separator[data-v-965058e9] {
  color: #CBD5E1;
}
.directory-item-desc[data-v-965058e9] {
  color: #64748B;
  font-size: 10px;
  font-weight: 500;
}
.badge-current-location[data-v-965058e9] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}
.pulse-here-dot[data-v-965058e9] {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: #FFFFFF;
  animation: pulse-dot-965058e9 1.4s infinite;
}
@keyframes pulse-dot-965058e9 {
0%, 100% { opacity: 1;
}
50% { opacity: 0.4;
}
}
.chevron-action-circle[data-v-965058e9] {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  transition: background 0.2s ease;
}
.directory-item-card:hover .chevron-action-circle[data-v-965058e9] {
  background: #EFF6FF;
}
.directory-item-card:hover .chevron-action-circle[data-v-965058e9] .v-icon {
  color: #1877F2 !important;
}

/* Estado de Búsqueda Vacía */
.search-empty-state[data-v-965058e9] {
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-state-title[data-v-965058e9] {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}
.empty-state-subtitle[data-v-965058e9] {
  font-size: 11px;
  color: #94A3B8;
  max-width: 280px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.btn-reset-search[data-v-965058e9] {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1877F2;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-reset-search[data-v-965058e9]:hover {
  background: #DBEAFE;
}

/* ─── 3. PIE DE PÁGINA DISCRETO ─── */
.guide-modal-footer[data-v-965058e9] {
  padding: 10px 20px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
  flex-shrink: 0;
}
.footer-tip[data-v-965058e9] {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 500;
}

/* ─── SCROLLBAR SUAVE ─── */
.custom-scrollbar[data-v-965058e9]::-webkit-scrollbar {
  width: 5px;
}
.custom-scrollbar[data-v-965058e9]::-webkit-scrollbar-track {
  background: #F8FAFC;
}
.custom-scrollbar[data-v-965058e9]::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
.custom-scrollbar[data-v-965058e9]::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ─── ADAPTABILIDAD RESPONSIVA PARA PANTALLAS PEQUEÑAS (MÓVIL Y TABLET) ─── */
@media (max-width: 600px) {
.guide-modal-card[data-v-965058e9] {
    border-radius: 20px;
    max-height: calc(100dvh - 24px);
}
.guide-modal-header[data-v-965058e9] {
    padding: 14px 16px;
}
.header-avatar-anchor[data-v-965058e9] {
    width: 38px;
    height: 38px;
}
.header-main-title[data-v-965058e9] {
    font-size: 14px;
}
.guide-modal-body[data-v-965058e9] {
    padding: 14px 16px;
    max-height: calc(85dvh - 120px);
}
.btn-start-screen-tour[data-v-965058e9] {
    height: 38px;
    font-size: 12px;
}
}

.custom-search-item[data-v-19358109] .v-list-item-title,
.custom-search-item[data-v-19358109] .v-list-item-subtitle {
  display: none !important;
}
.hover-bg-light[data-v-19358109]:hover {
  background-color: #F8FAFC !important;
}

.header-bar[data-v-19358109] {
  border-bottom: 1px solid #F1F5F9 !important;
}
.header-bar[data-v-19358109] {
  border-bottom: 1px solid #F1F5F9 !important;
}

/* Notification Dropdown (Compact & Professional) */
.notification-dropdown[data-v-19358109] {
  width: 280px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.6);
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}
.notif-header[data-v-19358109] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F8FAFC;
}
.notif-title-group[data-v-19358109] {
  display: flex;
  flex-direction: column;
}
.notif-title[data-v-19358109] {
  font-size: 11px;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
}
.notif-subtitle[data-v-19358109] {
  font-size: 8px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.notif-badge[data-v-19358109] {
  background: #EF4444;
  color: white;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-list[data-v-19358109] {
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  background: transparent;
}
.notif-empty[data-v-19358109] {
  text-align: center;
  padding: 24px 0;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
}
.notif-item[data-v-19358109] {
  padding: 10px 12px !important;
  transition: all 0.2s ease;
  cursor: pointer;
}
.notif-item[data-v-19358109]:hover {
  background: #F1F5F9 !important;
}
.notif-item.is-read[data-v-19358109] {
  opacity: 0.65;
  background: #FAFAFA !important;
}
.notif-item.is-read[data-v-19358109]:hover {
  background: #F1F5F9 !important;
}
.notif-item-content[data-v-19358109] {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notif-unread-indicator[data-v-19358109] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  background: transparent;
  transition: all 0.2s ease;
}
.notif-unread-indicator.is-unread[data-v-19358109] {
  background: #1877F2;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.25);
}
.notif-data[data-v-19358109] {
  flex-grow: 1;
  min-width: 0;
}
.notif-meta[data-v-19358109] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.notif-type[data-v-19358109] {
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: -0.2px;
}
.notif-type.high[data-v-19358109], .notif-type.critical[data-v-19358109] {
  color: #EF4444;
}
.notif-type.assignment[data-v-19358109] {
  color: #10B981;
}
.notif-type.decommission[data-v-19358109] {
  color: #9333EA;
}
.notif-date[data-v-19358109] {
  font-size: 8px;
  font-weight: 700;
  color: #94A3B8;
}
.notif-message[data-v-19358109] {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
  margin-bottom: 4px;
}
.notif-footer[data-v-19358109] {
  display: flex;
  align-items: center;
}
.notif-time[data-v-19358109] {
  font-size: 8px;
  font-weight: 700;
  color: #94A3B8;
}
.notif-btn-detail[data-v-19358109] {
  font-size: 9px !important;
  font-weight: 900 !important;
  color: #002C53 !important;
  padding: 0 !important;
  height: auto !important;
  text-transform: none !important;
  min-width: 0 !important;
}
.notif-divider[data-v-19358109] {
  opacity: 0.4;
  margin: 0 12px;
}
.notif-actions[data-v-19358109] {
  padding: 8px;
  background: #F8FAFC;
}
.notif-btn-all[data-v-19358109] {
  width: 100%;
  height: 28px !important;
  background: #002C53 !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  text-transform: none !important;
}

/* Profile dropdown (Facebook Account Switcher Pure CSS) */
.blue-avatar-border[data-v-19358109] {
  border: 3px solid #1877F2 !important;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #1877F2 !important;
}
.profile-menu-card[data-v-19358109] {
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 12px 36px -4px rgba(0, 44, 83, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #E2E8F0 !important;
  overflow: hidden;
}
.fb-main-profile-card[data-v-19358109] {
  padding: 12px;
  background: #FFFFFF;
}
.fb-profile-name[data-v-19358109] {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}
.fb-profile-role-sub[data-v-19358109] {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  margin-top: 1px;
}
.fb-profile-row[data-v-19358109] {
  border-radius: 12px !important;
  transition: all 0.2s ease;
}
.fb-profile-row[data-v-19358109]:hover {
  background-color: #F8FAFC !important;
}
.fb-see-all-roles-btn[data-v-19358109] {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px !important;
  transition: all 0.2s ease;
}
.fb-see-all-roles-btn[data-v-19358109]:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}
.fb-see-all-title[data-v-19358109] {
  font-size: 11.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
}
.fb-see-all-sub[data-v-19358109] {
  font-size: 9.5px;
  font-weight: 600;
  color: #64748B;
  margin-top: 1px;
}
.fb-roles-view[data-v-19358109] {
  background: #FFFFFF;
}
.fb-roles-header[data-v-19358109] {
  background: #FFFFFF;
}
.fb-roles-header-title[data-v-19358109] {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
}
.fb-roles-subtitle[data-v-19358109] {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fb-role-card[data-v-19358109] {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0px !important;
  margin-bottom: 8px !important;
  padding: 6px 10px !important;
  transition: all 0.2s ease;
}
.fb-role-card[data-v-19358109]:last-child {
  margin-bottom: 2px !important;
}
.fb-role-card[data-v-19358109]:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}
.fb-role-card.is-active-role[data-v-19358109] {
  background: #FFFFFF;
  border: 1.5px solid #002C53;
  box-shadow: 0 2px 8px rgba(0, 44, 83, 0.1);
}
.fb-role-name[data-v-19358109] {
  font-size: 11.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
}
.fb-role-desc[data-v-19358109] {
  font-size: 9.5px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.2;
}

/* Badge Cuadrado con marca de verificación en el perfil activo */
.fb-active-badge[data-v-19358109] {
  width: 18px;
  height: 18px;
  border-radius: 0px !important;
  background: #1877F2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dendra Role Switching Overlay (Fondo blanco tipo Dashboard con marcas tecnológicas) */
.role-switching-overlay[data-v-19358109] {
  background: rgba(248, 250, 252, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
.role-switching-overlay[data-v-19358109] .v-overlay__scrim {
  display: none !important;
}

/* Decoración Ambiental de Fondo: Dendras, Nodos y Rayos */
.role-switch-bg-decor[data-v-19358109] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.role-switching-content[data-v-19358109] {
  position: relative;
  z-index: 2;
}
.decor-corner[data-v-19358109] {
  position: absolute;
  pointer-events: none;
}
.decor-top-left[data-v-19358109] { top: 0; left: 0;
}
.decor-top-right[data-v-19358109] { top: 0; right: 0;
}
.decor-bottom-left[data-v-19358109] { bottom: 0; left: 0;
}
.decor-bottom-right[data-v-19358109] { bottom: 0; right: 0;
}
.dendra-watermark-svg[data-v-19358109] {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  pointer-events: none;
  animation: watermarkRotate-19358109 90s linear infinite;
}
@keyframes watermarkRotate-19358109 {
from { transform: translate(-50%, -50%) rotate(0deg);
}
to   { transform: translate(-50%, -50%) rotate(360deg);
}
}
.circuit-line-watermark[data-v-19358109] {
  stroke: #243647;
  stroke-width: 6;
  fill: none;
}
.node-hollow-watermark[data-v-19358109] {
  fill: transparent;
  stroke: #243647;
  stroke-width: 6;
}
.node-solid-watermark[data-v-19358109] {
  fill: #243647;
}
.lightning-bolt-watermark[data-v-19358109] {
  fill: #243647;
}
.decor-pulse-fast[data-v-19358109] {
  animation: decorFade-19358109 2.8s ease-in-out infinite alternate;
}
.decor-pulse-slow[data-v-19358109] {
  animation: decorFade-19358109 4.2s ease-in-out infinite alternate;
}
@keyframes decorFade-19358109 {
0%   { opacity: 0.05; transform: scale(0.96);
}
100% { opacity: 0.14; transform: scale(1.04);
}
}

/* Dendra Loader SVG Animation (Logo oficial Dendra OS, Color Header #243647, 3D Elevación y Levitación) */
.dendra-loader-svg-wrap[data-v-19358109] {
  width: 155px;
  height: 155px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dendraFloatingElevation-19358109 3.8s ease-in-out infinite alternate;
}
.dendra-loader-svg[data-v-19358109] {
  width: 100%;
  height: 100%;
  overflow: visible;
}
@keyframes dendraFloatingElevation-19358109 {
0% {
    transform: translateY(0px);
    filter: drop-shadow(0 10px 18px rgba(36, 54, 71, 0.22))
            drop-shadow(0 3px 6px rgba(36, 54, 71, 0.12));
}
100% {
    transform: translateY(-9px);
    filter: drop-shadow(0 22px 34px rgba(36, 54, 71, 0.16))
            drop-shadow(0 8px 14px rgba(36, 54, 71, 0.08));
}
}
.circuit-line-loader[data-v-19358109] {
  stroke: #243647;
  stroke-width: 7.5;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.node-solid-loader[data-v-19358109] {
  fill: #243647;
}
.node-hollow-loader[data-v-19358109] {
  fill: #FFFFFF;
  stroke: #243647;
  stroke-width: 7.5;
}
.lightning-bolt-loader[data-v-19358109] {
  fill: #243647;
}
.dendra-outer-ring-loader[data-v-19358109] {
  transform-origin: 0 0;
  animation: dendraSpin-19358109 6s linear infinite;
  will-change: transform;
}
@keyframes dendraSpin-19358109 {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}
.single-soft-blue-ring[data-v-19358109] {
  outline: 2px solid #93C5FD !important;
  outline-offset: 2px;
  border-radius: 50% !important;
}
.avatar-ring[data-v-19358109] {
  outline: none !important;
  box-shadow: none !important;
  transition: box-shadow 0.2s ease;
}
.avatar-ring[data-v-19358109]:hover {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #93C5FD !important;
}
.menu-item[data-v-19358109] .v-list-item__prepend .v-icon {
  font-size: 17px !important;
  color: #64748B !important;
}
.menu-item[data-v-19358109] .v-list-item-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
}
.menu-item[data-v-19358109]:hover {
  background: #F1F5F9 !important;
}
.menu-item-danger[data-v-19358109] .v-list-item__prepend .v-icon {
  font-size: 17px !important;
  color: #EF4444 !important;
}
.menu-item-danger[data-v-19358109] .v-list-item-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #EF4444 !important;
}
.menu-item-danger[data-v-19358109]:hover {
  background: #FEF2F2 !important;
}

/* Support Modal */
.support-modal[data-v-19358109] {
  border: 2px solid #CBD5E1;
  overflow: hidden;
}
.bg-slate-50[data-v-19358109] {
  background-color: #F8FAFC;
}
.contact-card[data-v-19358109] {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-color: #E2E8F0 !important;
}
.hover-lift[data-v-19358109]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #1877F2 !important;
}
.support-link-card:hover .contact-card h3[data-v-19358109] {
  color: #1877F2 !important;
}

.sidebar-drawer[data-v-7157036d] {
  border-right: 1px solid #E2E8F0 !important;
}
[data-v-7157036d] .v-list-item {
  border-radius: 8px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  transition: all 0.15s ease-in-out !important;
  min-height: 40px !important;
  padding-inline: 10px 10px !important;
}
[data-v-7157036d] .v-list-item__prepend {
  margin-inline-end: 12px !important;
}
[data-v-7157036d] .v-list-item__append {
  margin-inline-start: 4px !important;
}
[data-v-7157036d] .v-list-item-title {
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: -0.1px !important;
  color: #334155 !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Item principal activo (items directos sin hijos) */
[data-v-7157036d] .v-list-item--active:not(.child-item) {
  background: linear-gradient(135deg, #002C53 0%, #0F3B66 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 44, 83, 0.25) !important;
  border-left: 3px solid #1877F2 !important;
}
[data-v-7157036d] .v-list-item--active:not(.child-item) .v-list-item-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px !important;
}
[data-v-7157036d] .v-list-item--active:not(.child-item) .v-icon {
  color: #60A5FA !important;
}

/* Indicador de Padre con Submódulo Activo */
[data-v-7157036d] .parent-nav-item--active {
  background: rgba(0, 44, 83, 0.06) !important;
  color: #002C53 !important;
  border-left: 3px solid #1877F2 !important;
}
[data-v-7157036d] .parent-nav-item--active .v-list-item-title {
  color: #002C53 !important;
  font-weight: 700 !important;
}
[data-v-7157036d] .parent-nav-item--active .v-icon {
  color: #1877F2 !important;
}

/* Contenedor Dropdown Submenú */
[data-v-7157036d] .v-list-group__items {
  --indent-padding: 0px !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  border-left: 3px solid #002C53 !important;
  border-radius: 8px !important;
  padding: 4px 4px 4px 4px !important;
  margin: 2px 2px 6px 6px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

/* Ítems Hijos dentro del Contenedor */
[data-v-7157036d] .child-item {
  font-size: 13px !important;
  border-radius: 6px !important;
  margin-bottom: 2px !important;
  min-height: 36px !important;
  padding: 6px 8px !important;
}
[data-v-7157036d] .child-item .v-list-item-title {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}
[data-v-7157036d] .child-item .v-icon {
  font-size: 18px !important;
  color: #64748B !important;
}
[data-v-7157036d] .child-item:hover {
  background: #E2E8F0 !important;
}
[data-v-7157036d] .child-item:hover .v-list-item-title {
  color: #0F172A !important;
}

/* Ítem Hijo Activo */
[data-v-7157036d] .child-item.v-list-item--active {
  background: linear-gradient(135deg, #002C53 0%, #0F3B66 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 44, 83, 0.28) !important;
  border-left: 3px solid #1877F2 !important;
}
[data-v-7157036d] .child-item.v-list-item--active .v-list-item-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
[data-v-7157036d] .child-item.v-list-item--active .v-icon {
  color: #38BDF8 !important;
}

/* Subcabeceras de Submódulos (Elegante y Minimalista) */
.sidebar-sub-header[data-v-7157036d] {
  user-select: none;
}
.sub-header-bullet[data-v-7157036d] {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #94A3B8;
  display: inline-block;
  flex-shrink: 0;
}
.sub-header-title[data-v-7157036d] {
  color: #64748B;
  font-size: 9.5px !important;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  white-space: nowrap;
}
.sub-header-line[data-v-7157036d] {
  height: 1px;
  background: #E2E8F0;
}

/* Submódulo Dropdown Anidado (ej. Seguridad) */
.nested-submodule-container[data-v-7157036d] {
  border-radius: 6px;
}
.nested-submodule-activator[data-v-7157036d] {
  min-height: 36px;
  background: transparent;
  transition: all 0.15s ease-in-out;
  user-select: none;
}
.nested-submodule-activator[data-v-7157036d]:hover {
  background: #E2E8F0;
}
.nested-submodule-activator--active[data-v-7157036d] {
  background: rgba(24, 119, 242, 0.08);
}
.nested-submodule-title[data-v-7157036d] {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: -0.1px;
}
.submodule-chevron[data-v-7157036d] {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.submodule-chevron--open[data-v-7157036d] {
  transform: rotate(180deg);
}
.nested-submodule-items[data-v-7157036d] {
  border-left: 2px solid #CBD5E1;
  margin-left: 12px;
  margin-bottom: 4px;
}
[data-v-7157036d] .nested-subchild-item {
  min-height: 34px !important;
  font-size: 12.5px !important;
  padding: 4px 8px !important;
}
[data-v-7157036d] .nested-subchild-item .v-list-item-title {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.footer-bar[data-v-f23a55b5] {
  border-top: 2px solid #ebebeb !important;
  z-index: 5;
}

.chat-message-wrapper[data-v-98eb8990] {
  display: flex;
  margin-bottom: 12px;
  width: 100%;
}
.chat-bubble[data-v-98eb8990] {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.bubble-user[data-v-98eb8990] {
  max-width: 80%;
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}
.bubble-assistant[data-v-98eb8990] {
  max-width: 96%;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.bubble-guardrail[data-v-98eb8990] {
  max-width: 96%;
  background: #FFFDF5;
  color: #0F172A;
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.07);
}
.message-content[data-v-98eb8990] strong {
  font-weight: 600;
}
.message-content[data-v-98eb8990] .chat-code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85em;
}

/* Estilos Premium para Tablas en el Chat */
.message-content[data-v-98eb8990] .chat-table-wrapper {
  overflow-x: auto;
  margin: 12px 0;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  width: 100%;
}
.message-content[data-v-98eb8990] .chat-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
  line-height: 1.4;
}
.message-content[data-v-98eb8990] .chat-table th {
  background-color: #F1F5F9;
  color: #1E293B;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px 12px;
  border-bottom: 2px solid #CBD5E1;
}
.message-content[data-v-98eb8990] .chat-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}
.message-content[data-v-98eb8990] .chat-table tr:hover {
  background-color: #F8FAFC;
}
.message-content[data-v-98eb8990] .chat-table tr:last-child td {
  border-bottom: none;
}

/* Estilos para Encabezados en el Chat */
.message-content[data-v-98eb8990] .chat-h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 12px 0 6px 0;
  color: #1E3A8A;
}
.message-content[data-v-98eb8990] .chat-h2 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 10px 0 6px 0;
  color: #1E3A8A;
}
.message-content[data-v-98eb8990] .chat-h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0 4px 0;
  color: #0F172A;
}

/* Botones interactivos de acción en el Chat */
.message-content[data-v-98eb8990] .chat-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  color: #0284C7;
  border: 1.5px solid #7DD3FC;
  padding: 5px 12px;
  margin: 6px 3px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.message-content[data-v-98eb8990] .chat-guide-btn:hover {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border-color: #0284C7;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.3);
}
.message-content[data-v-98eb8990] .chat-guide-btn .guide-icon {
  font-size: 1.05em;
}
.message-content[data-v-98eb8990] .chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 4px 10px;
  margin: 4px 2px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.message-content[data-v-98eb8990] .chat-action-btn:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}
.message-content[data-v-98eb8990] .chat-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.message-content[data-v-98eb8990] .chat-action-restricted {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
}
.message-content[data-v-98eb8990] .chat-action-restricted:hover {
  background: #F59E0B;
  color: #FFFFFF;
  border-color: #F59E0B;
}
.message-content[data-v-98eb8990] .chat-link {
  color: #2563EB;
  text-decoration: underline;
  font-weight: 500;
}
.typing-indicator[data-v-98eb8990] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
}
.typing-dots[data-v-98eb8990] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
}
.typing-dots span[data-v-98eb8990] {
  width: 7.5px;
  height: 7.5px;
  background-color: #2563EB;
  border-radius: 50%;
  display: inline-block;
  animation: typing-bounce-98eb8990 1.4s infinite ease-in-out both;
}
.typing-dots span[data-v-98eb8990]:nth-child(1) { animation-delay: -0.32s;
}
.typing-dots span[data-v-98eb8990]:nth-child(2) { animation-delay: -0.16s;
}
.typing-dots span[data-v-98eb8990]:nth-child(3) { animation-delay: 0s;
}
@keyframes typing-bounce-98eb8990 {
0%, 80%, 100% {
    transform: translateY(0) scale(0.7);
    opacity: 0.45;
}
40% {
    transform: translateY(-5px) scale(1);
    opacity: 1;
}
}

.ai-chat-widget-root[data-v-f5c49b6c] {
  position: fixed !important;
  bottom: 24px;
  right: 160px;  /* Posicionado a la izquierda del traductor en paralelo */
  z-index: 999999999 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  pointer-events: auto !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Botón Píldora del Bot (Estático, limpio y elegante) */
.robot-pill-btn[data-v-f5c49b6c] {
  background: #FFFFFF !important;
  opacity: 1 !important;
  filter: none !important;
  border-radius: 999px;
  box-shadow: 0 10px 25px -5px rgba(0, 44, 83, 0.15), 0 8px 10px -6px rgba(0, 44, 83, 0.1);
  padding: 6px 16px 6px 10px;
  min-width: 145px;
  height: 42px;
  box-sizing: border-box;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #94A3B8;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.avatar-pill-head[data-v-f5c49b6c] {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pill-avatar-img[data-v-f5c49b6c] {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  border: 1.5px solid #00F0FF;
  background: #002C53;
}
.header-avatar-img[data-v-f5c49b6c] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.robot-pill-btn[data-v-f5c49b6c]:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(0, 44, 83, 0.15), 0 8px 10px -6px rgba(0, 44, 83, 0.1);
  border-color: #2563EB;
}
.robot-btn-text[data-v-f5c49b6c] {
  font-size: 13px;
  font-weight: 800;
  color: #002C53;
}

/* Bocadillo de Diálogo / Notificación Intermitente */
.ai-speech-bubble[data-v-f5c49b6c] {
  position: absolute;
  bottom: 52px;
  right: 0;
  white-space: nowrap;
  background: #FFFFFF;
  color: #0F172A;
  padding: 4px 12px;
  height: 32px;
  border-radius: 10px;
  border-bottom-right-radius: 2px;
  border: 1.5px solid #94A3B8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s, border-color 0.2s;
  z-index: 10000000005 !important;
}
.ai-speech-bubble[data-v-f5c49b6c]:hover {
  background-color: #F8FAFC;
  border-color: #2563EB;
}
.bubble-close-btn[data-v-f5c49b6c]:hover {
  color: #0F172A !important;
}

/* Transiciones del bocadillo */
.bounce-fade-enter-active[data-v-f5c49b6c] {
  animation: bounce-in-f5c49b6c 0.4s ease-out;
}
.bounce-fade-leave-active[data-v-f5c49b6c] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bounce-fade-leave-to[data-v-f5c49b6c] {
  opacity: 0;
  transform: translateY(8px);
}
@keyframes bounce-in-f5c49b6c {
0% {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
}
60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}
100% {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}

/* Ventana de Chat Flotante: Alta hacia arriba, más ancha, responsiva y expandible */
.ai-chat-drawer[data-v-f5c49b6c] {
  position: fixed !important;
  bottom: 80px;
  right: 160px;
  width: min(520px, calc(100vw - 32px));
  height: clamp(620px, 82vh, 840px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 2px solid #2563EB !important;
  box-shadow: 0 20px 50px -10px rgba(0, 44, 83, 0.35) !important;
  overflow: hidden;
  z-index: 999999999 !important;
  opacity: 1 !important;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

/* Modo Expandido / Panorámico para desplegar información amplia y tablas técnicas */
.ai-chat-drawer.is-expanded[data-v-f5c49b6c] {
  width: min(860px, calc(100vw - 48px));
  height: calc(100vh - 105px);
  max-height: 940px;
}
.chat-header[data-v-f5c49b6c] {
  background: linear-gradient(135deg, #002C53 0%, #1E3A8A 50%, #1877F2 100%);
  user-select: none;
}
.avatar-wrapper[data-v-f5c49b6c] {
  display: inline-block;
  position: relative;
}
.status-dot[data-v-f5c49b6c] {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}
.status-dot.pulse-green[data-v-f5c49b6c] {
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green-f5c49b6c 2s infinite;
}
.status-dot.pulse-amber[data-v-f5c49b6c] {
  background-color: #F59E0B;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-amber-f5c49b6c 1.2s infinite;
}
.status-dot.pulse-red[data-v-f5c49b6c] {
  background-color: #EF4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-red-f5c49b6c 1.5s infinite;
}
@keyframes pulse-green-f5c49b6c {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}
70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
}
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}
}
@keyframes pulse-amber-f5c49b6c {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
}
70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
}
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
}
}
@keyframes pulse-red-f5c49b6c {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}
70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
}
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
}
}
.chat-messages-container[data-v-f5c49b6c] {
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
  overflow-y: auto;
  background-color: #F8FAFC;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}
.empty-chat-placeholder[data-v-f5c49b6c] {
  margin: auto;
}
.chat-bottom-anchor[data-v-f5c49b6c] {
  height: 2px;
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
  visibility: hidden;
}
.chat-top-spacer[data-v-f5c49b6c] {
  height: 8px;
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
}
.chat-messages-container[data-v-f5c49b6c]::-webkit-scrollbar {
  width: 6px;
}
.chat-messages-container[data-v-f5c49b6c]::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages-container[data-v-f5c49b6c]::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.chat-messages-container[data-v-f5c49b6c]::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
.quick-pills-row[data-v-f5c49b6c] {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  min-height: 48px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F8FAFC;
  scroll-behavior: smooth;
  user-select: none;
}
.quick-pills-row[data-v-f5c49b6c]::-webkit-scrollbar {
  height: 6px;
  display: block !important;
}
.quick-pills-row[data-v-f5c49b6c]::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 4px;
}
.quick-pills-row[data-v-f5c49b6c]::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.quick-pills-row[data-v-f5c49b6c]::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
.quick-pill[data-v-f5c49b6c] {
  transition: all 0.2s ease;
  font-size: 11.5px !important;
  height: 28px !important;
  border: 1px solid #BFDBFE !important;
  color: #1E40AF !important;
  background-color: #EFF6FF !important;
}
.quick-pill[data-v-f5c49b6c]:hover {
  background-color: #DBEAFE !important;
  color: #1D4ED8 !important;
  border-color: #93C5FD !important;
  transform: translateY(-1px);
}
.chat-text-field[data-v-f5c49b6c] .v-field {
  border-radius: 12px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  box-shadow: none !important;
  transition: border-color 0.2s;
}
.chat-text-field[data-v-f5c49b6c] .v-field--focused {
  border-color: #2563EB;
  background-color: #FFFFFF;
}
@media (max-width: 640px) {
.ai-chat-widget-root[data-v-f5c49b6c] {
    right: 16px;
    bottom: 16px;
}
.robot-pill-btn[data-v-f5c49b6c] {
    min-width: 42px;
    padding: 6px 12px;
}
.ai-chat-drawer[data-v-f5c49b6c] {
    width: calc(100vw - 24px) !important;
    right: 12px !important;
    bottom: 75px !important;
    height: calc(100vh - 90px) !important;
    border-radius: 14px;
}
}

.universal-qr-modal[data-v-eddf18f3] {
  background: #FFFFFF;
}
.camera-viewport[data-v-eddf18f3] {
  width: 100%;
  height: 320px;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camera-stream-video[data-v-eddf18f3] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scanner-viewfinder[data-v-eddf18f3] {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.scanner-corner[data-v-eddf18f3] {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #38BDF8;
  border-style: solid;
}
.scanner-corner.top-left[data-v-eddf18f3] {
  top: 0;
  left: 0;
  border-width: 4px 0 0 4px;
  border-top-left-radius: 8px;
}
.scanner-corner.top-right[data-v-eddf18f3] {
  top: 0;
  right: 0;
  border-width: 4px 4px 0 0;
  border-top-right-radius: 8px;
}
.scanner-corner.bottom-left[data-v-eddf18f3] {
  bottom: 0;
  left: 0;
  border-width: 0 0 4px 4px;
  border-bottom-left-radius: 8px;
}
.scanner-corner.bottom-right[data-v-eddf18f3] {
  bottom: 0;
  right: 0;
  border-width: 0 4px 4px 0;
  border-bottom-right-radius: 8px;
}
.scanner-laser-line[data-v-eddf18f3] {
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38BDF8, #0284C7, #38BDF8, transparent);
  box-shadow: 0 0 10px #38BDF8, 0 0 20px #0284C7;
  top: 0;
  animation: laser-sweep-eddf18f3 2.4s ease-in-out infinite;
}
@keyframes laser-sweep-eddf18f3 {
0% {
    top: 5%;
    opacity: 0.2;
}
50% {
    top: 92%;
    opacity: 1;
}
100% {
    top: 5%;
    opacity: 0.2;
}
}
.resolving-overlay[data-v-eddf18f3] {
  top: 0;
  left: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10;
}
.camera-controls[data-v-eddf18f3] {
  bottom: 12px;
  right: 12px;
  z-index: 5;
}
.torch-btn[data-v-eddf18f3],
.flip-btn[data-v-eddf18f3] {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hover-bg[data-v-eddf18f3]:hover {
  background-color: #F8FAFC;
}
.animate-fade-in[data-v-eddf18f3] {
  animation: fadeIn-eddf18f3 0.25s ease-out;
}
@keyframes fadeIn-eddf18f3 {
from {
    opacity: 0;
    transform: translateY(6px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Reset base styles to prevent page-level scroll and fill screen dynamically */
html, body {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #F8FAFC !important;
}
#app {
  min-height: calc(100vh / var(--app-zoom, 1)) !important;
  height: calc(100vh / var(--app-zoom, 1)) !important;
  background-color: #F8FAFC !important;
}

.app-layout[data-v-d95f2ebd] {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  background-color: #F8FAFC !important;
}
.main-container[data-v-d95f2ebd] {
  height: 100% !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #F8FAFC !important;
  overflow: hidden !important;
}
.scrollable-content[data-v-d95f2ebd] {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.scrollable-content > .v-container[data-v-d95f2ebd] {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: 100% !important;
}

.dendra-transparent-avatar-root[data-v-d2f28a90] {
  position: relative;
  display: inline-block;
  user-select: none;
  pointer-events: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.character-body-wrapper[data-v-d2f28a90] {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center bottom;
  transition: transform 0.35s ease;
  background: transparent !important;
}
.transparent-character-img[data-v-d2f28a90] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  user-select: none;
  pointer-events: auto;
  background: transparent !important;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.28));
}

/* ─── ANIMACIÓN DE FLOTACIÓN SUAVE Y NATURAL ─── */
.is-floating[data-v-d2f28a90] {
  animation: gentle-levitate-d2f28a90 3.4s ease-in-out infinite alternate;
}
@keyframes gentle-levitate-d2f28a90 {
0% {
    transform: translateY(0px);
}
100% {
    transform: translateY(-8px);
}
}
.is-celebrating[data-v-d2f28a90] {
  animation: joy-bounce-d2f28a90 0.6s ease-in-out infinite alternate;
}
@keyframes joy-bounce-d2f28a90 {
0% {
    transform: translateY(0) scale(1);
}
100% {
    transform: translateY(-10px) scale(1.02);
}
}
.is-error[data-v-d2f28a90] {
  animation: error-shake-d2f28a90 2.5s ease-in-out infinite;
}
@keyframes error-shake-d2f28a90 {
0%, 100% { transform: translateY(0);
}
50% { transform: translateY(-3px);
}
}

.dendra-guide-card[data-v-7ec650b4] {
  position: relative;
  width: 340px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  padding: 16px 18px 14px 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 
    0 24px 48px -12px rgba(0, 44, 83, 0.18),
    0 8px 24px -4px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  animation: card-appear-7ec650b4 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-sizing: border-box;
}
@keyframes card-appear-7ec650b4 {
0% {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
}
100% {
    opacity: 1;
    transform: scale(1) translateY(0);
}
}

/* ─── CABECERA DEL ASISTENTE ─── */
.card-header[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}
.assistant-identity[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  gap: 10px;
}
.assistant-avatar-ring[data-v-7ec650b4] {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(24, 119, 242, 0.35);
  box-shadow: 0 2px 8px rgba(0, 44, 83, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}
.assistant-avatar-img[data-v-7ec650b4] {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}
.avatar-live-dot[data-v-7ec650b4] {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background-color: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.4);
}
.assistant-info[data-v-7ec650b4] {
  display: flex;
  flex-direction: column;
}
.assistant-title-row[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  gap: 6px;
}
.assistant-brand[data-v-7ec650b4] {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #002C53;
}
.guide-type-badge[data-v-7ec650b4] {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: #EFF6FF;
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.2);
  border-radius: 4px;
  padding: 1px 4px;
}
.step-counter-text[data-v-7ec650b4] {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  margin-top: 1px;
}
.card-close-btn[data-v-7ec650b4] {
  background: transparent;
  border: none;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.card-close-btn[data-v-7ec650b4]:hover {
  background: #F1F5F9;
}
.card-close-btn[data-v-7ec650b4]:hover .v-icon {
  color: #0F172A !important;
}

/* ─── BARRA DE PROGRESO SEGMENTADA ─── */
.segmented-progress-row[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-bottom: 12px;
}
.progress-segment[data-v-7ec650b4] {
  flex: 1;
  height: 4px;
  background: #F1F5F9;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.segment-fill[data-v-7ec650b4] {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #002C53 0%, #1877F2 100%);
  border-radius: 9999px;
  transition: width 0.35s ease;
}
.progress-segment.is-done .segment-fill[data-v-7ec650b4] {
  width: 100%;
}
.progress-segment.is-active[data-v-7ec650b4] {
  background: #E2E8F0;
}
.progress-segment.is-active .segment-fill[data-v-7ec650b4] {
  width: 100%;
  box-shadow: 0 0 6px rgba(24, 119, 242, 0.5);
}

/* ─── CUERPO DE CONTENIDO ─── */
.card-body[data-v-7ec650b4] {
  margin-bottom: 14px;
}
.card-title[data-v-7ec650b4] {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}
.card-description[data-v-7ec650b4] {
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  max-height: 130px;
  overflow-y: auto;
  word-break: break-word;
  padding-right: 2px;
}

/* ─── BOTONES Y ACCIONES ─── */
.card-footer[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}
.btn-skip-tour[data-v-7ec650b4] {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.btn-skip-tour[data-v-7ec650b4]:hover {
  color: #475569;
  background: #F8FAFC;
}
.navigation-actions[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-nav-prev[data-v-7ec650b4] {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  height: 30px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-nav-prev[data-v-7ec650b4]:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}
.btn-nav-next[data-v-7ec650b4] {
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  border: none;
  border-radius: 9px;
  height: 30px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-nav-next[data-v-7ec650b4]:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(24, 119, 242, 0.4);
}
.btn-nav-next[data-v-7ec650b4]:active {
  transform: translateY(0);
}

/* ─── ATAJOS DE TECLADO DISCRETOS ─── */
.card-keyboard-hints[data-v-7ec650b4] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(241, 245, 249, 0.85);
  font-size: 10px;
  color: #94A3B8;
  font-weight: 500;
}
.hint-dot[data-v-7ec650b4] {
  font-size: 8px;
  color: #CBD5E1;
}
.kbd-badge[data-v-7ec650b4] {
  display: inline-block;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 0 4px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: #64748B;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ─── COLA DEL BOCADILLO ELEGANTE (TAIL) ─── */
.card-pointer-tail[data-v-7ec650b4] {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  transform: rotate(45deg);
}
.card-placement-right .card-pointer-tail[data-v-7ec650b4] {
  left: -7px;
  top: 26px;
  border-right: none;
  border-top: none;
}
.card-placement-left .card-pointer-tail[data-v-7ec650b4] {
  right: -7px;
  top: 26px;
  border-left: none;
  border-bottom: none;
}
.card-placement-bottom .card-pointer-tail[data-v-7ec650b4] {
  top: -7px;
  left: 36px;
  border-bottom: none;
  border-right: none;
}
.card-placement-top .card-pointer-tail[data-v-7ec650b4] {
  bottom: -7px;
  left: 36px;
  border-top: none;
  border-left: none;
}

/* ─── MODO COMPACTO / ACOPLADO ─── */
.card-is-compact[data-v-7ec650b4] {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 20px !important;
  box-shadow: 
    0 24px 52px -10px rgba(0, 44, 83, 0.28),
    0 0 0 1px rgba(0, 44, 83, 0.06) !important;
}
.card-is-compact .card-pointer-tail[data-v-7ec650b4] {
  display: none !important;
}

/* Scrollbar sutil para el texto largo */
.custom-scrollbar[data-v-7ec650b4]::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar[data-v-7ec650b4]::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar[data-v-7ec650b4]::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.custom-scrollbar[data-v-7ec650b4]::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.dendra-guide-spotlight-layer[data-v-22e4e0c8] {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  pointer-events: auto;
  transition: opacity 0.35s ease;
}
.spotlight-fullscreen-backdrop[data-v-22e4e0c8] {
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.spotlight-focus-box[data-v-22e4e0c8] {
  position: fixed;
  pointer-events: none;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(24, 119, 242, 0.85);
  box-sizing: border-box;
}
.spotlight-pulse-ring[data-v-22e4e0c8] {
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1.5px solid rgba(24, 119, 242, 0.45);
  animation: pulse-border-22e4e0c8 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes pulse-border-22e4e0c8 {
0% {
    transform: scale(0.99);
    opacity: 0.8;
}
50% {
    transform: scale(1.025);
    opacity: 0.15;
}
100% {
    transform: scale(0.99);
    opacity: 0.8;
}
}

.dendra-interactive-guide-root[data-v-a116f7c9] {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000000000 !important;
  pointer-events: none;
}

/* Movimiento fluido por aceleración de hardware en modo flotante */
.avatar-motion-wrapper[data-v-a116f7c9] {
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Disposición lado a lado coordinada en modo flotante */
.floating-guide-layout[data-v-a116f7c9] {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Cuando el avatar está a la derecha del target (layout-right):
   Target | [Avatar (mira izquierda)] [Tarjeta] */
.floating-guide-layout.layout-right .avatar-interactive-anchor[data-v-a116f7c9] {
  order: 1;
}
.floating-guide-layout.layout-right .bubble-interactive-anchor[data-v-a116f7c9] {
  order: 2;
}

/* Cuando el avatar está a la izquierda del target (layout-left):
   [Tarjeta] [Avatar (mira derecha)] | Target */
.floating-guide-layout.layout-left .avatar-interactive-anchor[data-v-a116f7c9] {
  order: 2;
}
.floating-guide-layout.layout-left .bubble-interactive-anchor[data-v-a116f7c9] {
  order: 1;
}

/* Cuando se ubica arriba o abajo del target */
.floating-guide-layout.layout-bottom[data-v-a116f7c9],
.floating-guide-layout.layout-top[data-v-a116f7c9] {
  flex-direction: row;
  align-items: center;
}

/* ─── MODO COMPACTO / RESPONSIVO ACOPLADO ─── */
.guide-docked-root[data-v-a116f7c9] {
  position: fixed;
  left: 16px;
  right: 16px;
  margin: 0 auto;
  max-width: 460px;
  width: calc(100% - 32px);
  z-index: 10000000001;
  pointer-events: none;
  animation: docked-slide-in-a116f7c9 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.guide-docked-root.docked-bottom[data-v-a116f7c9] {
  bottom: 20px;
}
.guide-docked-root.docked-top[data-v-a116f7c9] {
  top: 20px;
  animation-name: docked-slide-in-top-a116f7c9;
}
@keyframes docked-slide-in-a116f7c9 {
from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
}
to {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}
@keyframes docked-slide-in-top-a116f7c9 {
from {
    opacity: 0;
    transform: translateY(-20px) scale(0.97);
}
to {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}
.docked-bubble-anchor[data-v-a116f7c9] {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 100%;
}
@media (max-width: 480px) {
.guide-docked-root[data-v-a116f7c9] {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    bottom: 14px;
}
}

/* Asegurar que todos los tooltips, popups flotantes y bocadillos se muestren SIEMPRE por delante de tarjetas y modales */
.v-overlay-container {
  z-index: 10000000000 !important;
}
.v-overlay.v-tooltip {
  z-index: 10000000005 !important;
}
.v-overlay.v-tooltip .v-overlay__content {
  z-index: 10000000005 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
  pointer-events: none;
}
/* ═════════════════════════════════════════════════════════════════════════
   DENDRA OS • SISTEMA ESTANDARIZADO DE MODALES (GLOBAL)
   ═════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   SECCIÓN 1: MODALES CON TAMAÑO ESTABLECIDO (STANDARD DIALOGS / MAX-WIDTH)
   Patrón de Diseño Oficial: StaffFormModal.vue
   ───────────────────────────────────────────────────────────────────────── */

/* 1.0 Overlay Content Wrapper de Vuetify 3 (no fullscreen) */
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content,
.v-dialog:not(.v-dialog--fullscreen) .v-overlay__content {
  display: flex !important;
  flex-direction: column !important;
  max-height: min(90vh, calc(100dvh - 32px)) !important;
  margin: auto !important;
}

/* 1.1 Contenedor de Diálogo / Card */
.modal-card,
.dendra-modal-card,
.modal-standard-card,
.edit-modal-card,
.delete-modal-card,
.confirm-modal-card,
.fb-vibrant-modal.v-card,
.v-dialog:not(.v-dialog--fullscreen) > .v-card,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card,
.v-dialog:not(.v-dialog--fullscreen) .modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: min(90vh, calc(100dvh - 32px)) !important;
  overflow: hidden !important;
}

/* 1.1.1 Contenedores intermedios de formulario (<form> / <v-form> directos en la Card) */
.modal-card > form,
.modal-card > .v-form,
.modal-standard-card > form,
.modal-standard-card > .v-form,
.dendra-modal-card > form,
.dendra-modal-card > .v-form,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > form,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-form,
.v-dialog:not(.v-dialog--fullscreen) .v-card > form,
.v-dialog:not(.v-dialog--fullscreen) .v-card > .v-form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 1.2 Cabecera Estándar (Pinned / Navy Gradient + Avatar + Tipografía Dendra) */
.modal-header,
.modal-standard-header,
.modal-dialog-header,
.v-dialog:not(.v-dialog--fullscreen) .modal-header,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .modal-header,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-title,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-item {
  border-bottom: 1px solid #F1F5F9 !important;
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  padding: 15px 20px !important;
  flex-shrink: 0 !important;
  z-index: 2 !important;
}

.modal-header .v-avatar,
.modal-standard-header .v-avatar {
  border-radius: 12px !important;
}

.modal-title,
.modal-standard-title {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
}

.modal-subtitle,
.modal-standard-subtitle {
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
  line-height: 1.3 !important;
}

/* 1.3 Cuerpo de Formulario Estándar con Scroll Automático */
.modal-body,
.modal-standard-body,
.modal-scroll-body,
.modal-body-scrollable,
.modal-card > .v-card-text,
.modal-card .modal-body,
.modal-standard-card > .v-card-text,
.dendra-modal-card > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) .modal-body,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > form > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-form > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text {
  padding: 24px !important;
  background-color: #FFFFFF !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

/* Scrollbar estética y delgada para el cuerpo del modal */
.modal-body,
.modal-standard-body,
.modal-scroll-body,
.modal-body-scrollable,
.modal-card > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text,
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
}

.modal-body::-webkit-scrollbar,
.modal-standard-body::-webkit-scrollbar,
.modal-scroll-body::-webkit-scrollbar,
.modal-body-scrollable::-webkit-scrollbar,
.modal-card > .v-card-text::-webkit-scrollbar,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.modal-body::-webkit-scrollbar-track,
.modal-standard-body::-webkit-scrollbar-track,
.modal-scroll-body::-webkit-scrollbar-track,
.modal-body-scrollable::-webkit-scrollbar-track,
.modal-card > .v-card-text::-webkit-scrollbar-track,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar-track,
.custom-scrollbar::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb,
.modal-standard-body::-webkit-scrollbar-thumb,
.modal-scroll-body::-webkit-scrollbar-thumb,
.modal-body-scrollable::-webkit-scrollbar-thumb,
.modal-card > .v-card-text::-webkit-scrollbar-thumb,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.modal-standard-body::-webkit-scrollbar-thumb:hover,
.modal-scroll-body::-webkit-scrollbar-thumb:hover,
.modal-body-scrollable::-webkit-scrollbar-thumb:hover,
.modal-card > .v-card-text::-webkit-scrollbar-thumb:hover,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* 1.4 Pie de Diálogo Pinned (Footer con Botones Siempre Visibles al Fondo) */
.modal-footer,
.modal-standard-footer,
.modal-actions,
.modal-card > .v-card-actions,
.modal-card .modal-footer,
.modal-standard-card > .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) .modal-footer,
.v-dialog:not(.v-dialog--fullscreen) .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > form > .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-form > .v-card-actions {
  padding: 16px 24px !important;
  background-color: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
  flex-shrink: 0 !important;
  margin-top: auto !important;
  z-index: 2 !important;
}

/* 1.5 Forzado Global de Etiquetas e Inputs en Diálogos */
.v-dialog .v-field-label,
.v-dialog .v-label,
.modal-card .v-field-label,
.modal-card .v-label,
.dendra-modal-card .v-field-label,
.dendra-modal-card .v-label {
  font-weight: 800 !important;
  color: #1E293B !important;
  opacity: 1 !important;
  font-size: 13px !important;
}

.v-dialog .v-field--focused .v-field-label,
.modal-card .v-field--focused .v-field-label {
  color: #1877F2 !important;
  font-weight: 900 !important;
}

.v-dialog .v-field,
.modal-card .v-field,
.dendra-modal-card .v-field {
  border-radius: 8px !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   SECCIÓN 2: MODALES FULLSCREEN (PANTALLA COMPLETA - FLUJO / EXPEDIENTES)
   Patrón de Diseño Oficial: CrewManagerModal / DepartmentPositionModal / WarehouseFormModal
   ───────────────────────────────────────────────────────────────────────── */

/* 2.1 Contenedor de Pantalla Completa */
.modal-container-bg,
.modal-container-dendra,
.modal-fullscreen-container,
.v-dialog.v-dialog--fullscreen > .v-card {
  background-color: #F1F5F9 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  height: 100vh !important;
  overflow: hidden !important;
  border-radius: 0px !important;
}

.modal-body-bg {
  background-color: #F1F5F9 !important;
}

/* 2.2 Cabecera Institucional Fullscreen */
.modal-header-dendra,
.modal-fullscreen-header {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  border-bottom: 2px solid #1C1E21 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  padding: 12px 24px !important;
}

.modal-header-dendra .v-avatar,
.modal-fullscreen-header .v-avatar,
.modal-header .v-avatar,
.modal-standard-header .v-avatar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-header-dendra .v-avatar .v-icon,
.modal-fullscreen-header .v-avatar .v-icon,
.modal-header .v-avatar .v-icon,
.modal-standard-header .v-avatar .v-icon {
  margin: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translateY(0.5px) !important;
}

.modal-header-dendra :deep(.v-btn__prepend .v-icon),
.modal-fullscreen-header :deep(.v-btn__prepend .v-icon),
.modal-header :deep(.v-btn__prepend .v-icon),
.btn-modal-header-cancel :deep(.v-btn__prepend .v-icon),
.btn-modal-header-save :deep(.v-btn__prepend .v-icon),
.btn-modal-header-cancel .v-icon,
.btn-modal-header-save .v-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
}

.modal-fullscreen-title {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
}

.modal-fullscreen-subtitle {
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

/* 2.3 Badges de Estatus e Identificación en Fullscreen */
.badge-tag-status {
  font-size: 10px !important;
  font-weight: 900 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-right: 6px !important;
}

.badge-tag-amber {
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  background: rgba(245, 158, 11, 0.18) !important;
  color: #F59E0B !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin-right: 6px !important;
}

.badge-tag-folio {
  font-size: 11px !important;
  font-weight: 900 !important;
  font-family: monospace !important;
  letter-spacing: 0.05em !important;
  background: #1877F2 !important;
  color: #FFFFFF !important;
  padding: 4px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin-right: 8px !important;
}

/* ── 3. BOTONES Y ACCIONES DE CONTRASTE Y MODALES ─────────────────────── */
.btn-cancel-contrast,
.btn-modal-header-cancel {
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  padding: 0 18px !important;
  height: 38px !important;
  margin: 0 4px !important;
  gap: 8px !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
}

.btn-cancel-contrast:hover,
.btn-modal-header-cancel:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
}

.btn-preview-contrast {
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  padding: 0 18px !important;
  height: 38px !important;
  margin: 0 4px !important;
  gap: 8px !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
}

.btn-preview-contrast:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
}

.btn-save-contrast,
.btn-modal-header-save,
.btn-dendra-save {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px !important;
  padding: 0 22px !important;
  height: 38px !important;
  margin: 0 4px !important;
  gap: 8px !important;
  text-transform: none !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4) !important;
  transition: all 0.2s ease !important;
}

.btn-save-contrast:hover,
.btn-modal-header-save:hover,
.btn-dendra-save:hover {
  background: #1565C0 !important;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.6) !important;
  transform: translateY(-1px);
}

.btn-dialog-cancel {
  background: #FFFFFF !important;
  color: #475569 !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  height: 40px !important;
  padding: 0 22px !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
}

.btn-dialog-cancel.rounded-0 {
  border-radius: 0px !important;
}

.btn-dialog-cancel:hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

.btn-dialog-cancel :deep(.v-btn__outline),
.btn-dialog-cancel .v-btn__outline {
  border-color: #CBD5E1 !important;
  border-width: 1.5px !important;
}

.btn-dialog-cancel:hover :deep(.v-btn__outline),
.btn-dialog-cancel:hover .v-btn__outline {
  border-color: #94A3B8 !important;
}

.btn-dialog-primary {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
  height: 40px !important;
  padding: 0 24px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1px solid #1a2a38 !important;
  box-shadow: 0 4px 12px rgba(36, 54, 71, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-dialog-primary.rounded-0 {
  border-radius: 0px !important;
}

.btn-dialog-primary:hover {
  background: linear-gradient(135deg, #1a2a38 0%, #0f172a 100%) !important;
  box-shadow: 0 6px 16px rgba(36, 54, 71, 0.5) !important;
  transform: translateY(-1px);
}

.btn-dialog-danger {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
  height: 40px !important;
  padding: 0 22px !important;
  text-transform: none !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-dialog-danger:hover {
  background: #DC2626 !important;
  transform: translateY(-1px);
}

.btn-dendra-primary {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  padding: 0 20px !important;
  height: 38px !important;
  gap: 8px !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
}

.btn-dendra-primary:hover {
  background: #1877F2 !important;
}

.btn-save-bulk {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.5) !important;
  border-radius: 4px !important;
  text-transform: none !important;
}

.btn-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: #F1F5F9;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-action-icon.edit {
  color: #1877F2;
}

.btn-action-icon.edit:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.btn-action-icon.delete {
  color: #EF4444;
}

.btn-action-icon.delete:hover:not(:disabled) {
  background: #FEF2F2;
  border-color: #FECACA;
}

.btn-action-icon:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-add-line-item {
  width: 100%;
  padding: 10px 16px;
  background-color: #F8FAFC;
  border: 1.5px dashed #93C5FD;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.btn-add-line-item:hover {
  background-color: #EFF6FF;
  border-color: #1877F2;
  color: #1877F2;
}

.btn-tag-transfer {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: #F0F9FF;
  color: #1877F2;
  transition: all 0.15s ease;
}

.btn-tag-transfer:hover {
  background: #1877F2;
  color: #FFFFFF;
}

.btn-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-tag-remove:hover {
  background: #FEE2E2;
}

.btn-exception-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: none;
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 44, 83, 0.2);
  transition: all 0.2s ease;
}

.btn-exception-submit:hover:not(:disabled) {
  background: #1877F2;
  transform: translateY(-1px);
}

.btn-exception-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-text-action {
  font-size: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-text-action:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.modal-btn-cancel {
  border-radius: 8px !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #475569 !important;
  font-weight: 800 !important;
}

.modal-btn-cancel:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

.modal-btn-save {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35) !important;
}

.modal-btn-save:hover {
  background: #1464CC !important;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45) !important;
}

/* ── 4. PESTAÑAS Y PÍLDORAS DE PASO ──────────────────────────────────── */
.nav-tabs-dendra-square {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0px !important;
  padding: 6px !important;
  gap: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.nav-tab-btn-square {
  background: transparent;
  border: none;
  border-radius: 0px !important;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 18px !important;
  margin: 0 3px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease;
}

.nav-tab-btn-square:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-tab-btn-square.active {
  color: #FFFFFF;
  background: #1877F2;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.4);
}

.badge-tab-square {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 8px !important;
  border-radius: 0px !important;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.2;
  margin-left: 6px !important;
}

.step-pill-dendra {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  color: #334155;
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 16px !important;
  margin-right: 8px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.step-pill-dendra:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: #F0F9FF;
}

.step-pill-dendra.active {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.progress-track-wrapper {
  width: 100%;
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0 !important;
}

.progress-track-bar {
  height: 100%;
  background: linear-gradient(90deg, #1877F2 0%, #002C53 100%);
  transition: width 0.3s ease;
}

/* ── 5. TARJETAS NUMERADAS (PREMIUM CARDS) ────────────────────────────── */
.premium-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05), 0 2px 8px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  margin-bottom: 22px !important;
  transition: box-shadow 0.2s ease;
}

.premium-card:hover {
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.08), 0 4px 12px -1px rgba(15, 23, 42, 0.04);
}

.premium-card-header {
  padding: 16px 24px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
  gap: 12px !important;
}

.section-badge-number {
  width: 30px !important;
  height: 30px !important;
  border-radius: 6px;
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 44, 83, 0.28);
  flex-shrink: 0;
  margin-right: 12px !important;
}

.premium-card-title {
  font-size: 14.5px !important;
  font-weight: 900;
  color: #002C53;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  display: flex !important;
  align-items: center !important;
}

.premium-card-title i,
.premium-card-title .v-icon {
  margin-right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
}

.premium-card-subtitle {
  font-size: 11.5px !important;
  font-weight: 600;
  color: #64748B;
  display: block;
  margin-top: 4px !important;
}

.premium-card-body {
  padding: 24px 28px !important;
}

/* ── 6. INPUTS, ETIQUETAS Y CONTROLES ─────────────────────────────────── */
.input-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px !important;
  gap: 8px !important;
}

.input-label-premium {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #002C53 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 8px !important;
}

.input-label-premium i,
.input-label-premium .v-icon {
  margin-right: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
}

.label-help-hint {
  font-weight: 500;
  text-transform: none;
  color: #94A3B8;
  font-size: 11px;
}

.custom-field-rounded {
  border-radius: 6px;
}

.custom-field-rounded .v-field {
  border-radius: 6px !important;
  border-color: #CBD5E1 !important;
  transition: all 0.2s ease;
}

.custom-field-rounded .v-field__input {
  font-size: 13.5px !important;
}

.custom-field-rounded .v-field:hover {
  border-color: #94A3B8 !important;
}

.custom-field-rounded .v-field--focused {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.14) !important;
}

.auto-gen-info-banner {
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  border-radius: 6px !important;
}

.counter-badge-active {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.counter-badge-neutral {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  background: #E2E8F0;
  color: #475569;
}

.uppercase-input input {
  text-transform: uppercase !important;
}

.lowercase-input input {
  text-transform: lowercase !important;
}

/* ── 7. TABLAS MATRICIALES Y PARTIDAS TÉCNICAS ────────────────────────── */
.matrix-table-container {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow-x: auto;
  background: #FFFFFF;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.matrix-table thead th,
.matrix-table thead tr th {
  background: #002C53;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.matrix-table thead th:last-child {
  border-right: none;
}

.matrix-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
}

.matrix-table tbody td:last-child {
  border-right: none;
}

.matrix-table tbody tr {
  transition: background-color 0.15s ease;
}

.item-row-hover:hover,
.matrix-table tbody tr:hover {
  background-color: #F8FAFC;
}

.matrix-table tbody tr.row-editing {
  background-color: #EFF6FF !important;
  border-left: 3px solid #1877F2;
}

.row-index-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #E2E8F0;
  color: #1E293B;
  font-size: 11px;
  font-weight: 900;
  border-radius: 4px;
}

.item-table-input {
  width: 100%;
  padding: 6px 9px;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 12px;
  outline: none;
  transition: all 0.15s ease-in-out;
}

.item-table-input:focus {
  border-color: #1877F2;
  background-color: #F8FAFC;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15);
}

.item-table-input-desc {
  width: 100%;
  padding: 5px 8px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  font-size: 11px;
  outline: none;
  transition: all 0.15s ease-in-out;
}

.item-table-input-desc:focus {
  border-color: #60A5FA;
  background-color: #FFFFFF;
}

.item-table-select {
  width: 100%;
  padding: 6px 8px;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 11.5px;
  outline: none;
  transition: all 0.15s ease-in-out;
}

.item-table-select:focus {
  border-color: #1877F2;
}

/* ── 8. PLANTILLAS RÁPIDAS Y CHIPS ────────────────────────────────────── */
.preset-templates-bar {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 14px 18px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.preset-pill-item {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  margin: 3px 4px !important;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  cursor: pointer;
  border-radius: 5px !important;
  transition: all 0.15s ease-in-out;
}

.preset-pill-item:hover {
  background-color: #EFF6FF;
  border-color: #1877F2;
  color: #1877F2;
  box-shadow: 0 1px 4px rgba(24, 119, 242, 0.2);
}

.preset-chip {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  margin: 3px 4px !important;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
  cursor: pointer;
  border-radius: 5px !important;
  transition: all 0.15s ease-in-out;
}

.preset-chip:hover {
  background-color: #EFF6FF;
  border-color: #1877F2;
  color: #1877F2;
}

/* ── 9. SIDEBAR Y RESUMEN FINANCIERO ──────────────────────────────────── */
.sticky-sidebar {
  position: sticky;
  top: 16px;
}

.summary-context-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 18px 20px !important;
  margin-bottom: 16px !important;
}

.tax-rate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px !important;
  font-size: 11px;
  font-weight: 900;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #64748B;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 3px !important;
  transition: all 0.15s ease;
}

.tax-rate-btn:hover {
  border-color: #1877F2;
  color: #1877F2;
}

.tax-rate-btn-active {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.25);
}

.executive-total-card {
  background: linear-gradient(135deg, #001A36 0%, #002C53 100%);
  color: #FFFFFF;
  border-left: 4px solid #F59E0B;
  padding: 20px 24px !important;
  margin-top: 16px !important;
  border-radius: 8px !important;
}

/* ── 10. DROPZONES DRAG & DROP Y FILAS DE ETIQUETAS ───────────────────── */
.dropzone-card {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.dropzone-card.assigned-zone {
  background: #F0F9FF;
  border-color: #BAE6FD;
}

.dropzone-active {
  border-color: #1877F2 !important;
  background-color: #E0F2FE !important;
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.15) !important;
}

.dropzone-header {
  padding: 10px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.assigned-zone .dropzone-header {
  background: #F0F9FF;
  border-bottom: 1px solid #BAE6FD;
}

.dropzone-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1E293B;
}

.assigned-subbanner {
  background: rgba(24, 119, 242, 0.07);
  border-bottom: 1px solid #BAE6FD;
}

.dropzone-scroll-area {
  height: 220px;
  overflow-y: auto;
  background: #FFFFFF;
}

.assigned-zone .dropzone-scroll-area {
  background: #F8FAFC;
}

.empty-state-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 11.5px;
  font-weight: 500;
  color: #94A3B8;
}

.interactive-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
  cursor: grab;
  transition: all 0.15s ease;
  user-select: none;
}

.interactive-tag-row:hover {
  border-color: #1877F2;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.interactive-tag-row:active {
  cursor: grabbing;
}

.interactive-tag-row.assigned-item {
  background: #FFFFFF;
  border-color: #BAE6FD;
}

.interactive-tag-row.assigned-item:hover {
  border-color: #EF4444;
  background: #FEF2F2;
}

.drag-handle-grip {
  opacity: 0.5;
  transition: opacity 0.15s;
}

.interactive-tag-row:hover .drag-handle-grip {
  opacity: 1;
}

.tag-chip-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.tag-color-bullet {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.classification-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}

/* ── 11. PANELES Y TABLAS DE PERSONAL / CUADRILLAS ────────────────────── */
.staff-panel {
  min-height: 480px;
  max-height: 540px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  border-color: #E2E8F0 !important;
}

.panel-drag-hover {
  border-color: #1877F2 !important;
  background-color: #EFF6FF !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.2) !important;
}

.search-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.compact-search-input .v-field__input {
  font-size: 12px !important;
  min-height: 36px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.role-select-input .v-field__input {
  font-size: 12px !important;
  min-height: 36px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.table-scroll-wrapper {
  max-height: 380px;
}

.table-scroll-inner::-webkit-scrollbar {
  width: 4px;
}

.table-scroll-inner::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.staff-dendra-table {
  background: #FFFFFF !important;
}

.staff-dendra-table thead {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  position: sticky;
  top: 0;
  z-index: 2;
}

.staff-dendra-table th {
  font-size: 10px !important;
  font-weight: 900 !important;
  color: #002C53 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  height: 34px !important;
  border-bottom: 1.5px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  vertical-align: middle !important;
}

.staff-dendra-table td {
  height: 36px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  vertical-align: middle !important;
}

.assigned-table thead {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%) !important;
}

.assigned-table th {
  color: #1E3A8A !important;
  border-bottom: 1.5px solid #BFDBFE !important;
  background: #EFF6FF !important;
}

.staff-table-row {
  transition: background-color 0.15s ease;
  user-select: none;
}

.staff-table-row:hover {
  background-color: #F8FAFC !important;
}

.staff-table-row.row-selected {
  background-color: #EFF6FF !important;
}

.role-pill-compact {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid;
  line-height: 1.2;
  white-space: nowrap;
}

.role-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.mini-checkbox {
  transform: scale(0.85);
}

.kanban-panel-premium {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px;
}

.member-record-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-record-item:hover {
  border-color: #93C5FD;
  background: #F0F7FF;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.08);
  transform: translateY(-1px);
}

.member-record-item.assigned {
  border-left: 3.5px solid #10B981;
}

.member-record-item.assigned.is-leader {
  border-left: 3.5px solid #D97706;
  background: #FFFBEB;
}

.member-record-item.assigned:hover {
  border-color: #FCA5A5;
  border-left-color: #EF4444;
}

.risk-record-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 9px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.risk-record-item:hover {
  border-color: #93C5FD;
  background: #F0F7FF;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.08);
}

.exception-form-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
}

.default-norm-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
  border-radius: 6px;
}

.norm-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
  flex-shrink: 0;
}

.company-avatar-bullet {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-name-cell {
  font-weight: 700;
  color: #0F172A;
}

.country-pill {
  font-family: monospace;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #002C53;
  color: #FFFFFF;
}

.interval-metric-pill {
  display: inline-flex;
  align-items: center;
  font-family: monospace;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.interval-metric-pill.calib {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
}

.interval-metric-pill.insp {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #EDE9FE;
}

.interval-metric-pill.rev {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FEF3C7;
}

/* ── 12. SWITCHES PREMIUM INSTITUCIONALES DENDRA OS ────────────────────── */
.v-switch {
  display: inline-flex;
  align-items: center;
}

.v-switch .v-selection-control {
  min-height: 28px !important;
  align-items: center !important;
}

/* TRACK / PÍLDORA DEL SWITCH (ESTÁNDAR) */
.v-switch .v-switch__track,
.v-switch.v-switch--inset .v-switch__track {
  height: 22px !important;
  width: 42px !important;
  min-width: 42px !important;
  border-radius: 9999px !important;
  background-color: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
  opacity: 1 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* THUMB / BOTÓN CIRCULAR (ESTÁNDAR) */
.v-switch .v-switch__thumb,
.v-switch.v-switch--inset .v-switch__thumb {
  height: 16px !important;
  width: 16px !important;
  background-color: #FFFFFF !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2), 0 1px 2px rgba(15, 23, 42, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* HOVER ESTADO INACTIVO */
.v-switch:hover .v-selection-control:not(.v-selection-control--dirty) .v-switch__track {
  background-color: #CBD5E1 !important;
  border-color: #94A3B8 !important;
}

/* ESTADO ACTIVO / DIRTY (VERDE ESMERALDA INSTITUCIONAL POR DEFECTO) */
.v-switch .v-selection-control--dirty .v-switch__track,
.v-switch.v-switch--inset .v-selection-control--dirty .v-switch__track,
.v-switch.switch-green .v-selection-control--dirty .v-switch__track {
  background-color: #10B981 !important;
  border-color: #059669 !important;
  opacity: 1 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.v-switch .v-selection-control--dirty .v-switch__thumb,
.v-switch.v-switch--inset .v-selection-control--dirty .v-switch__thumb,
.v-switch.switch-green .v-selection-control--dirty .v-switch__thumb {
  background-color: #FFFFFF !important;
  transform: scale(1.05) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

/* VARIANTE AZUL (OPCIONAL SI SE REQUIERE) */
.v-switch.switch-blue .v-selection-control--dirty .v-switch__track {
  background-color: #1877F2 !important;
  border-color: #1D4ED8 !important;
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* ── SWITCHES COMPACTOS (Para Headers de Input, Tablas y Toolbars) ────── */
.v-switch.compact-switch,
.v-switch.compact-id-switch,
.v-switch.scale-switch-xs {
  margin: 0 !important;
  padding: 0 !important;
}

.v-switch.compact-switch .v-selection-control,
.v-switch.compact-id-switch .v-selection-control,
.v-switch.scale-switch-xs .v-selection-control {
  min-height: 20px !important;
  height: 20px !important;
}

.v-switch.compact-switch .v-selection-control__wrapper,
.v-switch.compact-id-switch .v-selection-control__wrapper,
.v-switch.scale-switch-xs .v-selection-control__wrapper {
  width: 32px !important;
  height: 18px !important;
}

.v-switch.compact-switch .v-switch__track,
.v-switch.compact-id-switch .v-switch__track,
.v-switch.scale-switch-xs .v-switch__track {
  height: 18px !important;
  width: 32px !important;
  min-width: 32px !important;
  border-radius: 9999px !important;
  background-color: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
}

.v-switch.compact-switch .v-switch__thumb,
.v-switch.compact-id-switch .v-switch__thumb,
.v-switch.scale-switch-xs .v-switch__thumb {
  height: 12px !important;
  width: 12px !important;
}

/* ESTADO ACTIVO COMPACTO */
.v-switch.compact-switch .v-selection-control--dirty .v-switch__track,
.v-switch.compact-id-switch .v-selection-control--dirty .v-switch__track,
.v-switch.scale-switch-xs .v-selection-control--dirty .v-switch__track {
  background-color: #10B981 !important;
  border-color: #059669 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.35) !important;
}

/* ETIQUETA / LABEL DEL SWITCH */
.v-switch .v-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: #475569 !important;
  padding-inline-start: 6px !important;
  opacity: 1 !important;
  transition: color 0.2s ease !important;
}

.v-switch .v-selection-control--dirty + .v-label,
.v-switch .v-selection-control--dirty .v-label {
  color: #047857 !important;
}

/* ELIMINACIÓN DE OVERLAYS / RIPPLE EXTRAÑOS DE VUETIFY */
.v-switch .v-ripple__container,
.v-switch .v-selection-control__input::before {
  display: none !important;
}

/* ── SWITCH TIPO BOTÓN INTERACTIVO DENDRA (CUSTOM COMPONENT) ────────── */
.dendra-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 2px 0;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: opacity 0.2s ease;
}

.dendra-switch-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dendra-switch-track {
  width: 36px;
  height: 20px;
  min-width: 36px;
  border-radius: 9999px;
  background-color: #E2E8F0;
  border: 1px solid #CBD5E1;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.dendra-switch-thumb {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25), 0 1px 1px rgba(15, 23, 42, 0.15);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.dendra-switch-toggle:hover:not(.is-active) .dendra-switch-track {
  background-color: #CBD5E1;
  border-color: #94A3B8;
}

/* ACTIVO (ON / DIRTY) */
.dendra-switch-toggle.is-active .dendra-switch-track {
  background-color: #10B981;
  border-color: #059669;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dendra-switch-toggle.is-active .dendra-switch-thumb {
  transform: translateX(16px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dendra-switch-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #64748B;
  transition: color 0.2s ease;
}

.dendra-switch-toggle.is-active .dendra-switch-label {
  color: #047857;
}

/* ── 13. UTILIDADES, EFECTOS Y SCROLLBAR ──────────────────────────────── */
.glow-blue {
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.4) !important;
}

.glow-amber {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.35) !important;
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35) !important;
}

.tab-pane-transition {
  animation: modalPaneFadeIn 0.2s ease;
}

@keyframes modalPaneFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.pwd-hint-item {
  font-size: 11px;
  transition: color 0.2s ease;
  user-select: none;
}

.pwd-hint-met {
  color: #059669 !important;
  font-weight: 700 !important;
}

.pwd-hint-unmet {
  color: #94A3B8 !important;
}

/* ── 14. PICTURE UPLOAD & PREVIEWS ────────────────────────────────────── */
.picture-upload-section {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  padding: 12px;
  border-radius: 12px;
}

.picture-preview-box {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.picture-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.picture-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.picture-hint {
  color: #94A3B8;
  font-size: 11px;
}

/* ── 15. AVATARES DE CABECERA, GLOWS Y BADGES ─────────────────────────── */
.header-avatar {
  background-color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
}

.employee-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dendra-code-badge {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 2px 6px;
  border-radius: 0px;
  font-weight: 900;
  font-size: 10px;
  color: #1E40AF;
}

.shadow-2xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-2xs {
  font-size: 9px !important;
}

.border-subtle {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-new-operation {
  background: #1877F2 !important;
  background-color: #1877F2 !important;
  color: #FFFFFF !important;
}

.preview-table-compact tr td,
.preview-table-compact tr th {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

/* ── 16. AUDITORÍA FÍSICA Y TABLAS DE COTEJO DE INVENTARIO ─────────────── */
.audit-light-card {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #F8FAFC !important;
}

.sticky-audit-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
}

.metric-chip {
  display: flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}
.metric-chip .label {
  font-weight: 800;
  margin-right: 4px;
}
.metric-chip .val {
  font-family: monospace;
}

.progress-container {
  display: flex;
  align-items: center;
}

.progress-bar-wrapper {
  min-width: 100px;
}

.excel-audit-table {
  border-collapse: collapse;
  background: #FFFFFF;
}

.excel-audit-table th {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  color: #002C53 !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 7px 10px;
  border: 1px solid #CBD5E1;
  text-transform: uppercase;
}

.excel-audit-table td {
  padding: 5px 10px;
  border: 1px solid #E2E8F0;
  font-size: 12px;
  color: #0F172A;
}

.audit-row {
  transition: background-color 0.15s ease;
}
.audit-row:hover {
  background: #F1F5F9 !important;
}

.row-present {
  background: #F0FDF4 !important;
  border-left: 4px solid #10B981 !important;
}

.row-missing {
  background: #FEF2F2 !important;
  border-left: 4px solid #EF4444 !important;
}

.row-damaged {
  background: #FFF7ED !important;
  border-left: 4px solid #F97316 !important;
}

.audit-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.btn-inactive {
  background: #FFFFFF;
  border: 1px solid #94A3B8;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-inactive:hover {
  background: #F1F5F9;
  border-color: #64748B;
  color: #000000 !important;
}

.btn-present-active {
  background: #10B981 !important;
  border: 1px solid #059669 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-missing-active {
  background: #EF4444 !important;
  border: 1px solid #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-damaged-active {
  background: #F97316 !important;
  border: 1px solid #EA580C !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

.btn-icon-only {
  width: 28px;
  padding: 0;
}

.mobile-touch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.mobile-btn-inactive {
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  color: #0F172A !important;
}
.mobile-btn-inactive:hover {
  background: #F1F5F9;
}

.mobile-btn-present-active {
  background: #10B981 !important;
  border: 1.5px solid #059669 !important;
  color: #FFFFFF !important;
}

.mobile-btn-missing-active {
  background: #EF4444 !important;
  border: 1.5px solid #DC2626 !important;
  color: #FFFFFF !important;
}

.mobile-icon-btn {
  width: 42px;
  min-width: 42px;
}

.audit-inline-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  color: #0F172A;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.audit-inline-input:focus {
  border-color: #1877F2;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15);
}

.mobile-audit-card {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mobile-card-present {
  background: #F0FDF4 !important;
  border-color: #A7F3D0 !important;
  border-left: 4px solid #10B981 !important;
}

.mobile-card-missing {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  border-left: 4px solid #EF4444 !important;
}

.mobile-card-damaged {
  background: #FFF7ED !important;
  border-color: #FED7AA !important;
  border-left: 4px solid #F97316 !important;
}

/* ── 17. TABLAS DE INTERVALOS Y CONFIGURACIÓN ─────────────────────────── */
.intervals-table th {
  font-size: 10px !important;
  font-weight: 900 !important;
  color: #64748B !important;
  letter-spacing: 0.5px;
}

.dendra-intervals-table thead {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border-bottom: 2px solid #CBD5E1 !important;
}

.dendra-intervals-table th {
  font-size: 10.5px !important;
  font-weight: 900 !important;
  color: #002C53 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  height: 42px !important;
}

.dendra-intervals-table td {
  font-size: 12.5px !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.hover-row {
  transition: background-color 0.15s ease;
}

.hover-row:hover {
  background-color: #F8FAFC !important;
}

/* ── 18. MODALES DE BAJA Y DESINCORPORACIÓN ────────────────────────────── */
.decommission-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

.decommission-header {
  background: #FFF1F2 !important;
}

.border-red-light {
  border-color: #FECDD3 !important;
}

.dialog-card,
.assignment-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

.dialog-title {
  font-size: 17px;
  font-weight: 900;
  color: #002C53;
  line-height: 1.2;
}

/* ── 19. MODALES DE CONFIRMACIÓN Y ELIMINACIÓN ───────────────────────── */
.delete-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18) !important;
}

.delete-avatar {
  border: 2px solid #FCA5A5 !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.25) !important;
}

.item-highlight-name {
  color: #DC2626;
  font-weight: 900;
  background: #FEF2F2;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #FCA5A5;
  display: inline-block;
  margin: 0 2px;
}

.btn-delete-vibrant {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.45) !important;
  transition: all 0.25s ease !important;
}

.btn-delete-vibrant:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  box-shadow: 0 10px 25px -4px rgba(239, 68, 68, 0.6) !important;
  transform: translateY(-1px);
}

.hover-pulse-red:hover {
  animation: pulse-red 1s infinite !important;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ── 20. TOASTERS Y NOTIFICACIONES SONNER DENDRA ─────────────────────── */
[data-sonner-toaster],
.dendra-toaster,
[data-sonner-toast],
.sonner-toast {
  z-index: 999999 !important;
}

/* ── 21. BANNER DE VALIDACIÓN DE FORMULARIOS Y PASOS ─────────────────── */
.validation-alert-banner {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
  border: 1px solid #FECDD3 !important;
  border-left: 5px solid #E11D48 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px -2px rgba(225, 29, 72, 0.12) !important;
}

.validation-alert-icon-box {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE4E6 100%) !important;
  border: 1px solid #FDA4AF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.15) !important;
}

.validation-alert-close-btn {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: rgba(225, 29, 72, 0.08) !important;
  border: 1px solid rgba(225, 29, 72, 0.15) !important;
  color: #BE123C !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.validation-alert-close-btn:hover {
  background: #FDA4AF !important;
  color: #881337 !important;
  border-color: #FB7185 !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.2) !important;
}

.validation-error-tag {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  background: #FFFFFF !important;
  color: #9F1239 !important;
  border: 1px solid #FECDD3 !important;
  box-shadow: 0 1px 3px rgba(225, 29, 72, 0.08) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   SWEETALERT2 MODALS Z-INDEX OVERRIDE (ENCIMA DE DIÁLOGOS Y FULLSCREEN)
   ═════════════════════════════════════════════════════════════════════════ */
.swal2-container {
  z-index: 999999 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   EHSQ INVESTIGATION PIPELINE & TABS (ACR-OPS, ACC-OPS, ACO-OPS)
   ═════════════════════════════════════════════════════════════════════════ */
.custom-investigation-tabs .v-tab {
  text-transform: none !important;
  letter-spacing: 0px !important;
  font-size: 12px !important;
}

.custom-investigation-tabs .v-tab--selected {
  font-weight: 900 !important;
  color: #1877F2 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   EHSQ INVESTIGATION PIPELINE (HOMOLOGADO A EVALUACIONES DE RIESGO IPER)
   ═════════════════════════════════════════════════════════════════════════ */
.pipeline-column-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.pipeline-column-header {
  padding: 12px 16px !important;
  background: #F8FAFC !important;
  border-bottom: 2px solid #CBD5E1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.pipeline-column-header.acr-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%) !important;
  border-bottom: 2px solid #1877F2 !important;
}

.pipeline-column-header.acc-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%) !important;
  border-bottom: 2px solid #D97706 !important;
}

.pipeline-column-header.aco-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #ECFDF5 100%) !important;
  border-bottom: 2px solid #059669 !important;
}

.pipeline-col-title {
  font-size: 12px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

.pipeline-col-subtitle {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.pipeline-column-body {
  background-color: #F8FAFC !important;
  padding: 12px !important;
  flex-grow: 1 !important;
  min-height: 480px !important;
  max-height: calc(100vh - 330px) !important;
  overflow-y: auto !important;
}

.pipeline-item-card {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease-in-out !important;
}

.pipeline-item-card:hover {
  border-color: #94A3B8 !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
}

.pipeline-item-label {
  display: block !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 4px !important;
}

.dendra-select-field {
  border: 1px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  outline: none !important;
  border-radius: 4px !important;
  padding: 6px 8px !important;
  width: 100% !important;
}

.dendra-select-field:focus {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15) !important;
}

.dendra-native-date-input {
  border: 1px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  padding: 5px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  outline: none !important;
  border-radius: 4px !important;
  width: 100% !important;
}

.dendra-native-date-input:focus {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15) !important;
}

.sla-badge {
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  padding: 2px 6px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.status-select-pill {
  cursor: pointer !important;
  outline: none !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  padding: 2px 8px !important;
}



/* ═════════════════════════════════════════════════════════════════════════
   DENDRA OS • ESTILOS INSTITUCIONALES PARA EVALUACIONES IPER / FINE
   Patrón de Diseño Oficial: EquipmentModal.vue / WarehouseFormModal.vue
   ═════════════════════════════════════════════════════════════════════════ */

/* 1. CONTENEDOR Y SHELL DEL MODAL */
.modal-container-bg {
  background-color: #F1F5F9 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: #0F172A;
}

/* 2. CABECERA INSTITUCIONAL FIJA (TOPBAR) */
.modal-header-dendra {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  border-bottom: 2px solid #1C1E21;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-dendra-primary {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 0px !important;
}

/* 3. TARJETAS PREMIUM DE SECCIÓN (OFICIAL DENDRA OS) */
.premium-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.premium-card:hover {
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
}

.premium-card-header {
  padding: 12px 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
}

.section-badge-number {
  width: 26px;
  height: 26px;
  background: #1877F2;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(24, 119, 242, 0.35);
  flex-shrink: 0;
}

.section-badge-number.done {
  background: #10B981 !important;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.35);
}

.premium-card-title {
  font-size: 13.5px;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.premium-card-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: #64748B;
  display: block;
}

.premium-card-body {
  padding: 20px;
}

/* 4. LABELS Y CAMPOS DE ENTRADA PREMIUM */
.input-label-premium {
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 5px;
}

.custom-field-rounded .v-field__outline {
  --v-field-border-opacity: 0.25;
}

.custom-field-rounded .v-field--focused .v-field__outline {
  --v-field-border-opacity: 1;
}

/* 5. TARJETAS DE SELECCIÓN (RADIO CARDS COMO EN EQUIPMENT MODAL) */
.tracking-mode-card {
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tracking-mode-card:hover {
  border-color: #94A3B8;
  background-color: #F8FAFC;
}

.tracking-mode-card.active-serialized {
  border-color: #2563EB !important;
  background: #EFF6FF !important;
}

.tracking-mode-card.active-bulk {
  border-color: #D97706 !important;
  background: #FFFBEB !important;
}

.tracking-mode-card.active-activity {
  border-color: #059669 !important;
  background: #ECFDF5 !important;
}

.tracking-mode-icon-box {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
  background-color: #F1F5F9;
  flex-shrink: 0;
}

.tracking-mode-card.active-serialized .tracking-mode-icon-box {
  background-color: #2563EB;
  border-color: #1D4ED8;
  color: #FFFFFF;
}

.tracking-mode-card.active-bulk .tracking-mode-icon-box {
  background-color: #D97706;
  border-color: #B45309;
  color: #FFFFFF;
}

.tracking-mode-card.active-activity .tracking-mode-icon-box {
  background-color: #059669;
  border-color: #047857;
  color: #FFFFFF;
}

.tracking-mode-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0F172A;
}

.tracking-mode-desc {
  font-size: 11px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.3;
  margin-top: 2px;
}

/* 6. STEPPER OFICIAL DE ETAPAS (BARRA DE NAVEGACIÓN SUPERIOR) */
.modal-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 24px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.modal-step-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-step-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.modal-step-node:hover {
  background-color: #F8FAFC;
  border-color: #E2E8F0;
}

.modal-step-node.active {
  background-color: #EFF6FF !important;
  border-color: #93C5FD !important;
}

.modal-step-node.done {
  background-color: #F0FDF4;
  border-color: #BBF7D0;
}

.modal-step-num {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.modal-step-node.active .modal-step-num {
  background: #1877F2 !important;
  color: #FFFFFF !important;
}

.modal-step-node.done .modal-step-num {
  background: #10B981 !important;
  color: #FFFFFF !important;
}

.modal-step-title {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  line-height: 1.2;
}

.modal-step-node.active .modal-step-title {
  color: #1E40AF !important;
}

.modal-step-node.done .modal-step-title {
  color: #065F46 !important;
}

.modal-step-subtitle {
  font-size: 10.5px;
  font-weight: 600;
  color: #94A3B8;
  line-height: 1.1;
  display: block;
}

.modal-step-node.active .modal-step-subtitle {
  color: #3B82F6 !important;
}

.modal-step-sep {
  color: #CBD5E1;
  display: flex;
  align-items: center;
}

/* 7. GESTOR DE TAREAS MULTI-ACTIVIDAD (TAB STRIP) */
.dendra-tasks-tabstrip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dendra-task-tab-chip {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  max-width: 280px;
  transition: all 0.15s ease;
}

.dendra-task-tab-chip:hover {
  border-color: #94A3B8;
  background-color: #F8FAFC;
}

.dendra-task-tab-chip-active {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.35);
}

.dendra-task-tab-idx {
  font-weight: 900;
  margin-right: 6px;
}

.dendra-task-tab-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dendra-task-tab-del {
  margin-left: 8px;
  opacity: 0.7;
  display: flex;
  align-items: center;
}

.dendra-task-tab-del:hover {
  opacity: 1;
}

/* 8. FINE METHOD TELEMETRY HERO CARD */
.dendra-hero-scoreboard {
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.dendra-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dendra-hero-digit-card {
  border: 2px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 8px 16px;
  text-align: center;
  min-width: 110px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dendra-hero-digit-sub {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #64748B;
  text-transform: uppercase;
}

.dendra-hero-digit-val {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin: 2px 0;
  font-family: monospace, sans-serif;
}

.dendra-hero-digit-formula {
  font-size: 10.5px;
  font-weight: 700;
  color: #94A3B8;
  font-family: monospace;
}

.dendra-hero-text {
  display: flex;
  flex-direction: column;
}

.dendra-hero-level-sub {
  font-size: 10.5px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dendra-hero-level-title {
  font-size: 15px;
  font-weight: 900;
  margin: 1px 0 3px;
}

.dendra-hero-level-action {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.dendra-hero-level-pill {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

/* 9. FINE PARAMETER SELECTORS */
.dendra-fine-col-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dendra-fine-col-head {
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dendra-fine-col-title {
  font-size: 12px;
  font-weight: 900;
  color: #1E293B;
  text-transform: uppercase;
}

.dendra-fine-val-badge {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
}

.dendra-fine-val-badge.badge-final {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

.dendra-fine-options-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

.dendra-fine-opt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  background: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dendra-fine-opt-btn:hover {
  border-color: #CBD5E1;
  background-color: #F8FAFC;
}

.dendra-fine-opt-btn-active {
  border-color: #2563EB !important;
  background: #EFF6FF !important;
  color: #1E40AF !important;
  font-weight: 900;
}

.dendra-fine-opt-btn-final-active {
  border-color: #059669 !important;
  background: #ECFDF5 !important;
  color: #065F46 !important;
  font-weight: 900;
}

/* 10. CATEGORÍAS DE PELIGRO Y RIESGOS (TABS HORIZONTALES EN 2 FILAS DE 4) */
.hazard-horizontal-tabs-grid,
.risk-horizontal-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

@media (max-width: 900px) {
  .hazard-horizontal-tabs-grid,
  .risk-horizontal-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hazard-horizontal-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  user-select: none;
  min-height: 32px;
  max-height: 36px;
}

.hazard-horizontal-tab:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateY(-1px);
}

.hazard-horizontal-tab.selected {
  border-color: #1877F2 !important;
  box-shadow: 0 1px 3px rgba(24, 119, 242, 0.15), 0 0 0 1px rgba(24, 119, 242, 0.2);
}

.hazard-tab-icon-box {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.hazard-tab-title {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  min-width: 0;
}

.hazard-category-card {
  padding: 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hazard-category-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.hazard-category-card.selected {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.hazard-chip-selectable {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  margin: 3px;
  transition: all 0.15s ease;
}

.hazard-chip-selectable:hover {
  background-color: #F1F5F9;
  border-color: #94A3B8;
}

.hazard-chip-selectable.active {
  border-color: #1877F2 !important;
  background-color: #EFF6FF !important;
  color: #1E40AF !important;
  font-weight: 900;
}

/* 11. SCROLLBAR ESTÁNDAR DE LA PLATAFORMA */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
/* ==========================================================================
   DENDRA OS - SISTEMA HOMOLOGADO DE TABLAS RESPONSIVAS & SCROLL INTERNO
   Permite que las vistas de tabla llenen la altura de la pantalla (100vh),
   mantengan los encabezados fijos arriba, el paginador fijo abajo, y tengan
   scroll vertical y horizontal independiente sin desbordar la página.

   IMPORTANTE: Las reglas de altura y flexbox están estrictamente acotadas
   a .dendra-table-card y .dendra-table-responsive para NO alterar el flujo
   natural de otras tablas existentes en la plataforma.
   ========================================================================== */

/* 1. Contenedor de página: fija la vista al 100% de la ventana sin scroll externo */
.dendra-page-container {
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* 2. Wrapper flexible para la sección de tabla */
.dendra-table-container {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 3. Card contenedora de v-data-table */
.dendra-table-card {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 0px !important;
}

/* 4. Estilos de tabla con flexbox para scroll interno (SÓLO DENTRO DE DENDRA-TABLE-CARD) */
.dendra-table-card > .v-data-table,
.dendra-table-card > .v-data-table-server,
.dendra-table-card > .v-table,
.dendra-table-card .v-data-table,
.dendra-table-card .v-data-table-server,
.dendra-table-card .v-table,
.dendra-table-responsive {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* 5. Scroll interno en el wrapper de la tabla (horizontal y vertical) */
.dendra-table-card .v-table__wrapper,
.dendra-table-responsive .v-table__wrapper {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
}

/* 6. Barra de desplazamiento personalizada (6px, discreta y moderna) */
.dendra-table-card .v-table__wrapper::-webkit-scrollbar,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.dendra-table-card .v-table__wrapper::-webkit-scrollbar-track,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.dendra-table-card .v-table__wrapper::-webkit-scrollbar-thumb,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.dendra-table-card .v-table__wrapper::-webkit-scrollbar-thumb:hover,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* 7. Encabezados fijos de tabla (Sticky Header) */
.dendra-table-card thead th,
.dendra-table-responsive thead th {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px !important;
  border-bottom: 2px solid #CBD5E1 !important;
  border-right: 1px solid #F1F5F9 !important;
  text-transform: uppercase !important;
  height: 38px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}

.dendra-table-card thead th:last-child,
.dendra-table-responsive thead th:last-child {
  border-right: none !important;
}

.dendra-table-card thead th .v-data-table-header__content,
.dendra-table-responsive thead th .v-data-table-header__content {
  font-weight: 900 !important;
  color: #0F172A !important;
}

/* 8. Pie de página fijo de tabla (Paginador fijado al fondo del card) */
.dendra-table-card .v-data-table-footer,
.dendra-table-responsive .v-data-table-footer {
  flex-shrink: 0 !important;
  background-color: #FFFFFF !important;
  border-top: 1.5px solid #CBD5E1 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  padding: 6px 16px !important;
  z-index: 2 !important;
}

.dendra-table-card .v-data-table-footer .v-data-table-footer__info,
.dendra-table-responsive .v-data-table-footer .v-data-table-footer__info {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  letter-spacing: 0.2px !important;
}

.dendra-table-card .v-data-table-footer .v-data-table-footer__items-per-page,
.dendra-table-responsive .v-data-table-footer .v-data-table-footer__items-per-page {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748B !important;
}

.dendra-table-card .v-data-table-footer .v-field,
.dendra-table-responsive .v-data-table-footer .v-field {
  border-radius: 0px !important;
}

.dendra-table-card .v-data-table-footer .v-btn,
.dendra-table-responsive .v-data-table-footer .v-btn {
  border-radius: 0px !important;
  color: #002C53 !important;
}

/* 9. Filas de tabla con hover sutil */
.dendra-table-card tbody tr td,
.dendra-table-responsive tbody tr td {
  border-bottom: 1px solid #F1F5F9 !important;
  vertical-align: middle !important;
  transition: background-color 0.15s ease;
}

.dendra-table-card tbody tr:hover td,
.dendra-table-responsive tbody tr:hover td {
  background-color: #F8FAFC !important;
}
/* ═════════════════════════════════════════════════════════════════════════
   DENDRA OS • ESTILOS DEL CHECKLIST DE INSPECCIÓN VEHICULAR (SIGV)
   Homologado con el Estándar de Inspección de Equipos (InspectionExecutionDialog)
   ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. Contenedor del Diálogo ── */
.inspection-dialog {
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* ── 2. Cabecera Institucional Dendra OS (Corporate Navy #243647) ── */
.dialog-header {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  border-bottom: 3px solid #1877F2 !important;
  position: relative;
}

.header-accent {
  height: 3px;
  background: #1877F2;
}

.header-content {
  display: flex;
  align-items: center;
  padding: 10px 16px;
}

.header-icon {
  box-shadow: 0 4px 14px -3px rgba(24, 119, 242, 0.4);
}

.header-title {
  font-size: 14px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 9px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.progress-counter-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  color: #FFFFFF;
}

.progress-count {
  font-family: monospace;
  font-weight: 900;
  font-size: 11px;
}

.progress-pct {
  font-weight: 700;
  font-size: 10px;
  color: #6EE7B7;
}

.close-btn {
  opacity: 0.75;
  transition: opacity 0.2s;
}
.close-btn:hover {
  opacity: 1;
}

/* ── 3. Franja de Metadatos del Vehículo (Equipment Strip) ── */
.equipment-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 16px;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  gap: 8px 24px;
}

.equipment-field {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 8px;
  font-weight: 900;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.field-value {
  font-size: 11px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

/* ── 4. Tarjeta de Parámetros Operacionales ── */
.parameters-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
}

.field-input-label {
  font-size: 9px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}

.compact-input :deep(.v-field) {
  min-height: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  background-color: #FFFFFF !important;
}

.compact-input :deep(.v-field__input) {
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  font-weight: 700;
  color: #0F172A;
}

/* ── 5. Encabezado Dinámico de Categoría Paso a Paso ── */
.category-step-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step-counter-pill {
  font-size: 8.5px;
  font-weight: 900;
  color: #002C53;
  background: #E2E8F0;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.category-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.category-step-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.step-category-name {
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #002C53 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.step-stats-badge {
  font-size: 10px;
  font-weight: 800;
  color: #475569;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.step-pending-pill {
  font-size: 9.5px;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid #FDE68A;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.step-complete-pill {
  font-size: 9.5px;
  font-weight: 800;
  color: #065F46;
  background: #ECFDF5;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid #A7F3D0;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.step-complete-pill .v-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(0.5px) !important;
}

.cat-tab-pill .v-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(0.5px) !important;
}

.dictamen-pill .v-icon,
.signature-required-badge .v-icon,
.btn-step-next .v-icon,
.btn-dendra-submit .v-icon,
.question-instructions .v-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(0.5px) !important;
}

.btn-step-next {
  background: #002C53 !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 6px !important;
  text-transform: none !important;
}

.signature-required-badge {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
}

/* ── 5b. Pestañas Legacy (opcional) ── */
.category-tabs-container {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-tabs-container::-webkit-scrollbar {
  height: 3px;
}
.category-tabs-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.cat-tab-pill {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: none;
}

.cat-tab-pill:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.cat-tab-pill--active {
  background: #002C53 !important;
  border-color: #002C53 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(0, 44, 83, 0.2);
}

.cat-pill-count {
  margin-left: 6px;
  font-size: 8.5px;
  font-family: monospace;
  padding: 1px 5px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
}
.cat-tab-pill--active .cat-pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* ── 6. Cuerpo Scrollable y Lista de Preguntas ── */
.questions-body {
  background: #F8FAFC;
  max-height: 60vh;
  overflow-y: auto;
}

.questions-body::-webkit-scrollbar {
  width: 5px;
}
.questions-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.question-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.question-card--pass {
  border-left: 4px solid #10B981 !important;
  background: #F0FDF4 !important;
}

.question-card--fail {
  border-left: 4px solid #EF4444 !important;
  background: #FEF2F2 !important;
}

.question-card--na {
  border-left: 4px solid #64748B !important;
}

/* ── 7. Insignias y Tipografía de Criterios ── */
.badge-number-square {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
}

.badge-number-square--active {
  background: #10B981;
  color: #FFFFFF;
}

.badge-number-square--fail {
  background: #EF4444;
  color: #FFFFFF;
}

.badge-number-square--idle {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

.criterion-code-tag {
  font-family: monospace;
  font-weight: 800;
  font-size: 10px;
  padding: 1px 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  color: #334155;
}

.question-text {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
}

.question-instructions {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 4px 8px;
}

.criterion-detail-box {
  border-top: 1px dashed #E2E8F0;
  padding-top: 8px;
}

.criterion-textarea :deep(.v-field) {
  border-radius: 6px !important;
  background: #FFFFFF !important;
}
.criterion-textarea :deep(.v-field__input) {
  font-size: 11px !important;
}

/* ── 8. Fotografías de Evidencia ── */
.evidence-title {
  font-size: 9px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
}

.photo-preview-item {
  position: relative;
  width: 120px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  overflow: hidden;
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.photo-del-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: #EF4444;
  color: #FFFFFF;
  border: none;
  border-bottom-left-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-upload-box {
  width: 80px;
  height: 50px;
  border-radius: 6px;
  border: 2px dashed #CBD5E1;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: all 0.2s ease;
}
.photo-upload-box:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: #EFF6FF;
}
.photo-upload-box span {
  font-size: 7px;
  font-weight: 900;
  margin-top: 1px;
}

/* ── 9. Alerta Crítica ── */
.critical-alert-box {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  padding: 8px 12px;
}

.critical-alert-title {
  font-size: 11px;
  font-weight: 900;
  color: #991B1B;
  letter-spacing: 0.5px;
}

.critical-alert-desc {
  font-size: 11px;
  color: #B91C1C;
}

/* ── 10. Resumen y Firma ── */
.summary-final-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}

.summary-title {
  font-size: 12px;
  font-weight: 800;
  color: #002C53;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.conclusion-textarea :deep(.v-field) {
  border-radius: 6px !important;
  background-color: #FFFFFF !important;
}

.conclusion-textarea :deep(.v-field__input) {
  font-size: 11px !important;
  padding: 8px 10px !important;
}

.signature-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px;
}

.signature-label {
  font-size: 10px;
  font-weight: 800;
  color: #0F172A;
}

.signature-sub {
  font-size: 9px;
  font-family: monospace;
  color: #64748B;
}

/* ── 11. Pie de Página y Acciones ── */
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.dictamen-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dictamen-pill--fit {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.dictamen-pill--fail {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cancel-btn {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #64748B !important;
  text-transform: uppercase;
}

.btn-dendra-submit {
  background: #002C53 !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 44, 83, 0.25);
}

/* ═════════════════════════════════════════════════════════════════════════
   DENDRA OS • SISTEMA ESTANDARIZADO DE MODALES (GLOBAL)
   ═════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   SECCIÓN 1: MODALES CON TAMAÑO ESTABLECIDO (STANDARD DIALOGS / MAX-WIDTH)
   Patrón de Diseño Oficial: StaffFormModal.vue
   ───────────────────────────────────────────────────────────────────────── */

/* 1.0 Overlay Content Wrapper de Vuetify 3 (no fullscreen) */

.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content,
.v-dialog:not(.v-dialog--fullscreen) .v-overlay__content {
  display: flex !important;
  flex-direction: column !important;
  max-height: min(90vh, calc(100dvh - 32px)) !important;
  margin: auto !important;
}

/* 1.1 Contenedor de Diálogo / Card */

.modal-card,
.dendra-modal-card,
.modal-standard-card,
.edit-modal-card,
.delete-modal-card,
.confirm-modal-card,
.fb-vibrant-modal.v-card,
.v-dialog:not(.v-dialog--fullscreen) > .v-card,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card,
.v-dialog:not(.v-dialog--fullscreen) .modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: min(90vh, calc(100dvh - 32px)) !important;
  overflow: hidden !important;
}

/* 1.1.1 Contenedores intermedios de formulario (<form> / <v-form> directos en la Card) */

.modal-card > form,
.modal-card > .v-form,
.modal-standard-card > form,
.modal-standard-card > .v-form,
.dendra-modal-card > form,
.dendra-modal-card > .v-form,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > form,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-form,
.v-dialog:not(.v-dialog--fullscreen) .v-card > form,
.v-dialog:not(.v-dialog--fullscreen) .v-card > .v-form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 1.2 Cabecera Estándar (Pinned / Navy Gradient + Avatar + Tipografía Dendra) */

.modal-header,
.modal-standard-header,
.modal-dialog-header,
.v-dialog:not(.v-dialog--fullscreen) .modal-header,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .modal-header,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-title,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-item {
  border-bottom: 1px solid #F1F5F9 !important;
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  padding: 15px 20px !important;
  flex-shrink: 0 !important;
  z-index: 2 !important;
}

.modal-header .v-avatar,
.modal-standard-header .v-avatar {
  border-radius: 12px !important;
}

.modal-title,
.modal-standard-title {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
}

.modal-subtitle,
.modal-standard-subtitle {
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
  line-height: 1.3 !important;
}

/* 1.3 Cuerpo de Formulario Estándar con Scroll Automático */

.modal-body,
.modal-standard-body,
.modal-scroll-body,
.modal-body-scrollable,
.modal-card > .v-card-text,
.modal-card .modal-body,
.modal-standard-card > .v-card-text,
.dendra-modal-card > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) .modal-body,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > form > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-form > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text {
  padding: 24px !important;
  background-color: #FFFFFF !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

/* Scrollbar estética y delgada para el cuerpo del modal */

.modal-body,
.modal-standard-body,
.modal-scroll-body,
.modal-body-scrollable,
.modal-card > .v-card-text,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text,
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
}

.modal-body::-webkit-scrollbar,
.modal-standard-body::-webkit-scrollbar,
.modal-scroll-body::-webkit-scrollbar,
.modal-body-scrollable::-webkit-scrollbar,
.modal-card > .v-card-text::-webkit-scrollbar,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.modal-body::-webkit-scrollbar-track,
.modal-standard-body::-webkit-scrollbar-track,
.modal-scroll-body::-webkit-scrollbar-track,
.modal-body-scrollable::-webkit-scrollbar-track,
.modal-card > .v-card-text::-webkit-scrollbar-track,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar-track,
.custom-scrollbar::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb,
.modal-standard-body::-webkit-scrollbar-thumb,
.modal-scroll-body::-webkit-scrollbar-thumb,
.modal-body-scrollable::-webkit-scrollbar-thumb,
.modal-card > .v-card-text::-webkit-scrollbar-thumb,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.modal-standard-body::-webkit-scrollbar-thumb:hover,
.modal-scroll-body::-webkit-scrollbar-thumb:hover,
.modal-body-scrollable::-webkit-scrollbar-thumb:hover,
.modal-card > .v-card-text::-webkit-scrollbar-thumb:hover,
.v-dialog:not(.v-dialog--fullscreen) .v-card-text::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* 1.4 Pie de Diálogo Pinned (Footer con Botones Siempre Visibles al Fondo) */

.modal-footer,
.modal-standard-footer,
.modal-actions,
.modal-card > .v-card-actions,
.modal-card .modal-footer,
.modal-standard-card > .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) .modal-footer,
.v-dialog:not(.v-dialog--fullscreen) .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > form > .v-card-actions,
.v-dialog:not(.v-dialog--fullscreen) > .v-overlay__content > .v-card > .v-form > .v-card-actions {
  padding: 16px 24px !important;
  background-color: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
  flex-shrink: 0 !important;
  margin-top: auto !important;
  z-index: 2 !important;
}

/* 1.5 Forzado Global de Etiquetas e Inputs en Diálogos */

.v-dialog .v-field-label,
.v-dialog .v-label,
.modal-card .v-field-label,
.modal-card .v-label,
.dendra-modal-card .v-field-label,
.dendra-modal-card .v-label {
  font-weight: 800 !important;
  color: #1E293B !important;
  opacity: 1 !important;
  font-size: 13px !important;
}

.v-dialog .v-field--focused .v-field-label,
.modal-card .v-field--focused .v-field-label {
  color: #1877F2 !important;
  font-weight: 900 !important;
}

.v-dialog .v-field,
.modal-card .v-field,
.dendra-modal-card .v-field {
  border-radius: 8px !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   SECCIÓN 2: MODALES FULLSCREEN (PANTALLA COMPLETA - FLUJO / EXPEDIENTES)
   Patrón de Diseño Oficial: CrewManagerModal / DepartmentPositionModal / WarehouseFormModal
   ───────────────────────────────────────────────────────────────────────── */

/* 2.1 Contenedor de Pantalla Completa */

.modal-container-bg,
.modal-container-dendra,
.modal-fullscreen-container,
.v-dialog.v-dialog--fullscreen > .v-card {
  background-color: #F1F5F9 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  height: 100vh !important;
  overflow: hidden !important;
  border-radius: 0px !important;
}

.modal-body-bg {
  background-color: #F1F5F9 !important;
}

/* 2.2 Cabecera Institucional Fullscreen */

.modal-header-dendra,
.modal-fullscreen-header {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  border-bottom: 2px solid #1C1E21 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  padding: 12px 24px !important;
}

.modal-header-dendra .v-avatar,
.modal-fullscreen-header .v-avatar,
.modal-header .v-avatar,
.modal-standard-header .v-avatar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-header-dendra .v-avatar .v-icon,
.modal-fullscreen-header .v-avatar .v-icon,
.modal-header .v-avatar .v-icon,
.modal-standard-header .v-avatar .v-icon {
  margin: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translateY(0.5px) !important;
}

.modal-header-dendra :deep(.v-btn__prepend .v-icon),
.modal-fullscreen-header :deep(.v-btn__prepend .v-icon),
.modal-header :deep(.v-btn__prepend .v-icon),
.btn-modal-header-cancel :deep(.v-btn__prepend .v-icon),
.btn-modal-header-save :deep(.v-btn__prepend .v-icon),
.btn-modal-header-cancel .v-icon,
.btn-modal-header-save .v-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
}

.modal-fullscreen-title {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
}

.modal-fullscreen-subtitle {
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

/* 2.3 Badges de Estatus e Identificación en Fullscreen */

.badge-tag-status {
  font-size: 10px !important;
  font-weight: 900 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-right: 6px !important;
}

.badge-tag-amber {
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  background: rgba(245, 158, 11, 0.18) !important;
  color: #F59E0B !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin-right: 6px !important;
}

.badge-tag-folio {
  font-size: 11px !important;
  font-weight: 900 !important;
  font-family: monospace !important;
  letter-spacing: 0.05em !important;
  background: #1877F2 !important;
  color: #FFFFFF !important;
  padding: 4px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin-right: 8px !important;
}

/* ── 3. BOTONES Y ACCIONES DE CONTRASTE Y MODALES ─────────────────────── */

.btn-cancel-contrast,
.btn-modal-header-cancel {
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  padding: 0 18px !important;
  height: 38px !important;
  margin: 0 4px !important;
  gap: 8px !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
}

.btn-cancel-contrast:hover,
.btn-modal-header-cancel:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
}

.btn-preview-contrast {
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  padding: 0 18px !important;
  height: 38px !important;
  margin: 0 4px !important;
  gap: 8px !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
}

.btn-preview-contrast:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
}

.btn-save-contrast,
.btn-modal-header-save,
.btn-dendra-save {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px !important;
  padding: 0 22px !important;
  height: 38px !important;
  margin: 0 4px !important;
  gap: 8px !important;
  text-transform: none !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4) !important;
  transition: all 0.2s ease !important;
}

.btn-save-contrast:hover,
.btn-modal-header-save:hover,
.btn-dendra-save:hover {
  background: #1565C0 !important;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.6) !important;
  transform: translateY(-1px);
}

.btn-dialog-cancel {
  background: #FFFFFF !important;
  color: #475569 !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  height: 40px !important;
  padding: 0 22px !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
}

.btn-dialog-cancel.rounded-0 {
  border-radius: 0px !important;
}

.btn-dialog-cancel:hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

.btn-dialog-cancel :deep(.v-btn__outline),
.btn-dialog-cancel .v-btn__outline {
  border-color: #CBD5E1 !important;
  border-width: 1.5px !important;
}

.btn-dialog-cancel:hover :deep(.v-btn__outline),
.btn-dialog-cancel:hover .v-btn__outline {
  border-color: #94A3B8 !important;
}

.btn-dialog-primary {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
  height: 40px !important;
  padding: 0 24px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1px solid #1a2a38 !important;
  box-shadow: 0 4px 12px rgba(36, 54, 71, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-dialog-primary.rounded-0 {
  border-radius: 0px !important;
}

.btn-dialog-primary:hover {
  background: linear-gradient(135deg, #1a2a38 0%, #0f172a 100%) !important;
  box-shadow: 0 6px 16px rgba(36, 54, 71, 0.5) !important;
  transform: translateY(-1px);
}

.btn-dialog-danger {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
  height: 40px !important;
  padding: 0 22px !important;
  text-transform: none !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-dialog-danger:hover {
  background: #DC2626 !important;
  transform: translateY(-1px);
}

.btn-dendra-primary {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  padding: 0 20px !important;
  height: 38px !important;
  gap: 8px !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
}

.btn-dendra-primary:hover {
  background: #1877F2 !important;
}

.btn-save-bulk {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.5) !important;
  border-radius: 4px !important;
  text-transform: none !important;
}

.btn-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: #F1F5F9;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-action-icon.edit {
  color: #1877F2;
}

.btn-action-icon.edit:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.btn-action-icon.delete {
  color: #EF4444;
}

.btn-action-icon.delete:hover:not(:disabled) {
  background: #FEF2F2;
  border-color: #FECACA;
}

.btn-action-icon:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-add-line-item {
  width: 100%;
  padding: 10px 16px;
  background-color: #F8FAFC;
  border: 1.5px dashed #93C5FD;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.btn-add-line-item:hover {
  background-color: #EFF6FF;
  border-color: #1877F2;
  color: #1877F2;
}

.btn-tag-transfer {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: #F0F9FF;
  color: #1877F2;
  transition: all 0.15s ease;
}

.btn-tag-transfer:hover {
  background: #1877F2;
  color: #FFFFFF;
}

.btn-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-tag-remove:hover {
  background: #FEE2E2;
}

.btn-exception-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: none;
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 44, 83, 0.2);
  transition: all 0.2s ease;
}

.btn-exception-submit:hover:not(:disabled) {
  background: #1877F2;
  transform: translateY(-1px);
}

.btn-exception-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-text-action {
  font-size: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-text-action:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.modal-btn-cancel {
  border-radius: 8px !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #475569 !important;
  font-weight: 800 !important;
}

.modal-btn-cancel:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

.modal-btn-save {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35) !important;
}

.modal-btn-save:hover {
  background: #1464CC !important;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45) !important;
}

/* ── 4. PESTAÑAS Y PÍLDORAS DE PASO ──────────────────────────────────── */

.nav-tabs-dendra-square {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0px !important;
  padding: 6px !important;
  gap: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.nav-tab-btn-square {
  background: transparent;
  border: none;
  border-radius: 0px !important;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 18px !important;
  margin: 0 3px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease;
}

.nav-tab-btn-square:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-tab-btn-square.active {
  color: #FFFFFF;
  background: #1877F2;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.4);
}

.badge-tab-square {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 8px !important;
  border-radius: 0px !important;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.2;
  margin-left: 6px !important;
}

.step-pill-dendra {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  color: #334155;
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 16px !important;
  margin-right: 8px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.step-pill-dendra:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: #F0F9FF;
}

.step-pill-dendra.active {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.progress-track-wrapper {
  width: 100%;
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0 !important;
}

.progress-track-bar {
  height: 100%;
  background: linear-gradient(90deg, #1877F2 0%, #002C53 100%);
  transition: width 0.3s ease;
}

/* ── 5. TARJETAS NUMERADAS (PREMIUM CARDS) ────────────────────────────── */

.premium-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05), 0 2px 8px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  margin-bottom: 22px !important;
  transition: box-shadow 0.2s ease;
}

.premium-card:hover {
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.08), 0 4px 12px -1px rgba(15, 23, 42, 0.04);
}

.premium-card-header {
  padding: 16px 24px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
  gap: 12px !important;
}

.section-badge-number {
  width: 30px !important;
  height: 30px !important;
  border-radius: 6px;
  background: linear-gradient(135deg, #002C53 0%, #1877F2 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 44, 83, 0.28);
  flex-shrink: 0;
  margin-right: 12px !important;
}

.premium-card-title {
  font-size: 14.5px !important;
  font-weight: 900;
  color: #002C53;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  display: flex !important;
  align-items: center !important;
}

.premium-card-title i,
.premium-card-title .v-icon {
  margin-right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
}

.premium-card-subtitle {
  font-size: 11.5px !important;
  font-weight: 600;
  color: #64748B;
  display: block;
  margin-top: 4px !important;
}

.premium-card-body {
  padding: 24px 28px !important;
}

/* ── 6. INPUTS, ETIQUETAS Y CONTROLES ─────────────────────────────────── */

.input-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px !important;
  gap: 8px !important;
}

.input-label-premium {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #002C53 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 8px !important;
}

.input-label-premium i,
.input-label-premium .v-icon {
  margin-right: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  transform: translateY(1px) !important;
}

.label-help-hint {
  font-weight: 500;
  text-transform: none;
  color: #94A3B8;
  font-size: 11px;
}

.custom-field-rounded {
  border-radius: 6px;
}

.custom-field-rounded .v-field {
  border-radius: 6px !important;
  border-color: #CBD5E1 !important;
  transition: all 0.2s ease;
}

.custom-field-rounded .v-field__input {
  font-size: 13.5px !important;
}

.custom-field-rounded .v-field:hover {
  border-color: #94A3B8 !important;
}

.custom-field-rounded .v-field--focused {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.14) !important;
}

.auto-gen-info-banner {
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  border-radius: 6px !important;
}

.counter-badge-active {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.counter-badge-neutral {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  background: #E2E8F0;
  color: #475569;
}

.uppercase-input input {
  text-transform: uppercase !important;
}

.lowercase-input input {
  text-transform: lowercase !important;
}

/* ── 7. TABLAS MATRICIALES Y PARTIDAS TÉCNICAS ────────────────────────── */

.matrix-table-container {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow-x: auto;
  background: #FFFFFF;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.matrix-table thead th,
.matrix-table thead tr th {
  background: #002C53;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.matrix-table thead th:last-child {
  border-right: none;
}

.matrix-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
}

.matrix-table tbody td:last-child {
  border-right: none;
}

.matrix-table tbody tr {
  transition: background-color 0.15s ease;
}

.item-row-hover:hover,
.matrix-table tbody tr:hover {
  background-color: #F8FAFC;
}

.matrix-table tbody tr.row-editing {
  background-color: #EFF6FF !important;
  border-left: 3px solid #1877F2;
}

.row-index-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #E2E8F0;
  color: #1E293B;
  font-size: 11px;
  font-weight: 900;
  border-radius: 4px;
}

.item-table-input {
  width: 100%;
  padding: 6px 9px;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 12px;
  outline: none;
  transition: all 0.15s ease-in-out;
}

.item-table-input:focus {
  border-color: #1877F2;
  background-color: #F8FAFC;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15);
}

.item-table-input-desc {
  width: 100%;
  padding: 5px 8px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  font-size: 11px;
  outline: none;
  transition: all 0.15s ease-in-out;
}

.item-table-input-desc:focus {
  border-color: #60A5FA;
  background-color: #FFFFFF;
}

.item-table-select {
  width: 100%;
  padding: 6px 8px;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 11.5px;
  outline: none;
  transition: all 0.15s ease-in-out;
}

.item-table-select:focus {
  border-color: #1877F2;
}

/* ── 8. PLANTILLAS RÁPIDAS Y CHIPS ────────────────────────────────────── */

.preset-templates-bar {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 14px 18px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.preset-pill-item {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  margin: 3px 4px !important;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  cursor: pointer;
  border-radius: 5px !important;
  transition: all 0.15s ease-in-out;
}

.preset-pill-item:hover {
  background-color: #EFF6FF;
  border-color: #1877F2;
  color: #1877F2;
  box-shadow: 0 1px 4px rgba(24, 119, 242, 0.2);
}

.preset-chip {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  margin: 3px 4px !important;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
  cursor: pointer;
  border-radius: 5px !important;
  transition: all 0.15s ease-in-out;
}

.preset-chip:hover {
  background-color: #EFF6FF;
  border-color: #1877F2;
  color: #1877F2;
}

/* ── 9. SIDEBAR Y RESUMEN FINANCIERO ──────────────────────────────────── */

.sticky-sidebar {
  position: sticky;
  top: 16px;
}

.summary-context-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 18px 20px !important;
  margin-bottom: 16px !important;
}

.tax-rate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px !important;
  font-size: 11px;
  font-weight: 900;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #64748B;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 3px !important;
  transition: all 0.15s ease;
}

.tax-rate-btn:hover {
  border-color: #1877F2;
  color: #1877F2;
}

.tax-rate-btn-active {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.25);
}

.executive-total-card {
  background: linear-gradient(135deg, #001A36 0%, #002C53 100%);
  color: #FFFFFF;
  border-left: 4px solid #F59E0B;
  padding: 20px 24px !important;
  margin-top: 16px !important;
  border-radius: 8px !important;
}

/* ── 10. DROPZONES DRAG & DROP Y FILAS DE ETIQUETAS ───────────────────── */

.dropzone-card {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.dropzone-card.assigned-zone {
  background: #F0F9FF;
  border-color: #BAE6FD;
}

.dropzone-active {
  border-color: #1877F2 !important;
  background-color: #E0F2FE !important;
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.15) !important;
}

.dropzone-header {
  padding: 10px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.assigned-zone .dropzone-header {
  background: #F0F9FF;
  border-bottom: 1px solid #BAE6FD;
}

.dropzone-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1E293B;
}

.assigned-subbanner {
  background: rgba(24, 119, 242, 0.07);
  border-bottom: 1px solid #BAE6FD;
}

.dropzone-scroll-area {
  height: 220px;
  overflow-y: auto;
  background: #FFFFFF;
}

.assigned-zone .dropzone-scroll-area {
  background: #F8FAFC;
}

.empty-state-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 11.5px;
  font-weight: 500;
  color: #94A3B8;
}

.interactive-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
  cursor: grab;
  transition: all 0.15s ease;
  user-select: none;
}

.interactive-tag-row:hover {
  border-color: #1877F2;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.interactive-tag-row:active {
  cursor: grabbing;
}

.interactive-tag-row.assigned-item {
  background: #FFFFFF;
  border-color: #BAE6FD;
}

.interactive-tag-row.assigned-item:hover {
  border-color: #EF4444;
  background: #FEF2F2;
}

.drag-handle-grip {
  opacity: 0.5;
  transition: opacity 0.15s;
}

.interactive-tag-row:hover .drag-handle-grip {
  opacity: 1;
}

.tag-chip-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.tag-color-bullet {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.classification-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}

/* ── 11. PANELES Y TABLAS DE PERSONAL / CUADRILLAS ────────────────────── */

.staff-panel {
  min-height: 480px;
  max-height: 540px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  border-color: #E2E8F0 !important;
}

.panel-drag-hover {
  border-color: #1877F2 !important;
  background-color: #EFF6FF !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.2) !important;
}

.search-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.compact-search-input .v-field__input {
  font-size: 12px !important;
  min-height: 36px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.role-select-input .v-field__input {
  font-size: 12px !important;
  min-height: 36px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.table-scroll-wrapper {
  max-height: 380px;
}

.table-scroll-inner::-webkit-scrollbar {
  width: 4px;
}

.table-scroll-inner::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.staff-dendra-table {
  background: #FFFFFF !important;
}

.staff-dendra-table thead {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  position: sticky;
  top: 0;
  z-index: 2;
}

.staff-dendra-table th {
  font-size: 10px !important;
  font-weight: 900 !important;
  color: #002C53 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  height: 34px !important;
  border-bottom: 1.5px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  vertical-align: middle !important;
}

.staff-dendra-table td {
  height: 36px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  vertical-align: middle !important;
}

.assigned-table thead {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%) !important;
}

.assigned-table th {
  color: #1E3A8A !important;
  border-bottom: 1.5px solid #BFDBFE !important;
  background: #EFF6FF !important;
}

.staff-table-row {
  transition: background-color 0.15s ease;
  user-select: none;
}

.staff-table-row:hover {
  background-color: #F8FAFC !important;
}

.staff-table-row.row-selected {
  background-color: #EFF6FF !important;
}

.role-pill-compact {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid;
  line-height: 1.2;
  white-space: nowrap;
}

.role-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.mini-checkbox {
  transform: scale(0.85);
}

.kanban-panel-premium {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px;
}

.member-record-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-record-item:hover {
  border-color: #93C5FD;
  background: #F0F7FF;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.08);
  transform: translateY(-1px);
}

.member-record-item.assigned {
  border-left: 3.5px solid #10B981;
}

.member-record-item.assigned.is-leader {
  border-left: 3.5px solid #D97706;
  background: #FFFBEB;
}

.member-record-item.assigned:hover {
  border-color: #FCA5A5;
  border-left-color: #EF4444;
}

.risk-record-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 9px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.risk-record-item:hover {
  border-color: #93C5FD;
  background: #F0F7FF;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.08);
}

.exception-form-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
}

.default-norm-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
  border-radius: 6px;
}

.norm-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
  flex-shrink: 0;
}

.company-avatar-bullet {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-name-cell {
  font-weight: 700;
  color: #0F172A;
}

.country-pill {
  font-family: monospace;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #002C53;
  color: #FFFFFF;
}

.interval-metric-pill {
  display: inline-flex;
  align-items: center;
  font-family: monospace;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.interval-metric-pill.calib {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
}

.interval-metric-pill.insp {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #EDE9FE;
}

.interval-metric-pill.rev {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FEF3C7;
}

/* ── 12. SWITCHES PREMIUM INSTITUCIONALES DENDRA OS ────────────────────── */

.v-switch {
  display: inline-flex;
  align-items: center;
}

.v-switch .v-selection-control {
  min-height: 28px !important;
  align-items: center !important;
}

/* TRACK / PÍLDORA DEL SWITCH (ESTÁNDAR) */

.v-switch .v-switch__track,
.v-switch.v-switch--inset .v-switch__track {
  height: 22px !important;
  width: 42px !important;
  min-width: 42px !important;
  border-radius: 9999px !important;
  background-color: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
  opacity: 1 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* THUMB / BOTÓN CIRCULAR (ESTÁNDAR) */

.v-switch .v-switch__thumb,
.v-switch.v-switch--inset .v-switch__thumb {
  height: 16px !important;
  width: 16px !important;
  background-color: #FFFFFF !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2), 0 1px 2px rgba(15, 23, 42, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* HOVER ESTADO INACTIVO */

.v-switch:hover .v-selection-control:not(.v-selection-control--dirty) .v-switch__track {
  background-color: #CBD5E1 !important;
  border-color: #94A3B8 !important;
}

/* ESTADO ACTIVO / DIRTY (VERDE ESMERALDA INSTITUCIONAL POR DEFECTO) */

.v-switch .v-selection-control--dirty .v-switch__track,
.v-switch.v-switch--inset .v-selection-control--dirty .v-switch__track,
.v-switch.switch-green .v-selection-control--dirty .v-switch__track {
  background-color: #10B981 !important;
  border-color: #059669 !important;
  opacity: 1 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.v-switch .v-selection-control--dirty .v-switch__thumb,
.v-switch.v-switch--inset .v-selection-control--dirty .v-switch__thumb,
.v-switch.switch-green .v-selection-control--dirty .v-switch__thumb {
  background-color: #FFFFFF !important;
  transform: scale(1.05) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

/* VARIANTE AZUL (OPCIONAL SI SE REQUIERE) */

.v-switch.switch-blue .v-selection-control--dirty .v-switch__track {
  background-color: #1877F2 !important;
  border-color: #1D4ED8 !important;
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* ── SWITCHES COMPACTOS (Para Headers de Input, Tablas y Toolbars) ────── */

.v-switch.compact-switch,
.v-switch.compact-id-switch,
.v-switch.scale-switch-xs {
  margin: 0 !important;
  padding: 0 !important;
}

.v-switch.compact-switch .v-selection-control,
.v-switch.compact-id-switch .v-selection-control,
.v-switch.scale-switch-xs .v-selection-control {
  min-height: 20px !important;
  height: 20px !important;
}

.v-switch.compact-switch .v-selection-control__wrapper,
.v-switch.compact-id-switch .v-selection-control__wrapper,
.v-switch.scale-switch-xs .v-selection-control__wrapper {
  width: 32px !important;
  height: 18px !important;
}

.v-switch.compact-switch .v-switch__track,
.v-switch.compact-id-switch .v-switch__track,
.v-switch.scale-switch-xs .v-switch__track {
  height: 18px !important;
  width: 32px !important;
  min-width: 32px !important;
  border-radius: 9999px !important;
  background-color: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
}

.v-switch.compact-switch .v-switch__thumb,
.v-switch.compact-id-switch .v-switch__thumb,
.v-switch.scale-switch-xs .v-switch__thumb {
  height: 12px !important;
  width: 12px !important;
}

/* ESTADO ACTIVO COMPACTO */

.v-switch.compact-switch .v-selection-control--dirty .v-switch__track,
.v-switch.compact-id-switch .v-selection-control--dirty .v-switch__track,
.v-switch.scale-switch-xs .v-selection-control--dirty .v-switch__track {
  background-color: #10B981 !important;
  border-color: #059669 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.35) !important;
}

/* ETIQUETA / LABEL DEL SWITCH */

.v-switch .v-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: #475569 !important;
  padding-inline-start: 6px !important;
  opacity: 1 !important;
  transition: color 0.2s ease !important;
}

.v-switch .v-selection-control--dirty + .v-label,
.v-switch .v-selection-control--dirty .v-label {
  color: #047857 !important;
}

/* ELIMINACIÓN DE OVERLAYS / RIPPLE EXTRAÑOS DE VUETIFY */

.v-switch .v-ripple__container,
.v-switch .v-selection-control__input::before {
  display: none !important;
}

/* ── SWITCH TIPO BOTÓN INTERACTIVO DENDRA (CUSTOM COMPONENT) ────────── */

.dendra-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 2px 0;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: opacity 0.2s ease;
}

.dendra-switch-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dendra-switch-track {
  width: 36px;
  height: 20px;
  min-width: 36px;
  border-radius: 9999px;
  background-color: #E2E8F0;
  border: 1px solid #CBD5E1;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.dendra-switch-thumb {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25), 0 1px 1px rgba(15, 23, 42, 0.15);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.dendra-switch-toggle:hover:not(.is-active) .dendra-switch-track {
  background-color: #CBD5E1;
  border-color: #94A3B8;
}

/* ACTIVO (ON / DIRTY) */

.dendra-switch-toggle.is-active .dendra-switch-track {
  background-color: #10B981;
  border-color: #059669;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dendra-switch-toggle.is-active .dendra-switch-thumb {
  transform: translateX(16px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dendra-switch-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #64748B;
  transition: color 0.2s ease;
}

.dendra-switch-toggle.is-active .dendra-switch-label {
  color: #047857;
}

/* ── 13. UTILIDADES, EFECTOS Y SCROLLBAR ──────────────────────────────── */

.glow-blue {
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.4) !important;
}

.glow-amber {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.35) !important;
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35) !important;
}

.tab-pane-transition {
  animation: modalPaneFadeIn 0.2s ease;
}

@keyframes modalPaneFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.pwd-hint-item {
  font-size: 11px;
  transition: color 0.2s ease;
  user-select: none;
}

.pwd-hint-met {
  color: #059669 !important;
  font-weight: 700 !important;
}

.pwd-hint-unmet {
  color: #94A3B8 !important;
}

/* ── 14. PICTURE UPLOAD & PREVIEWS ────────────────────────────────────── */

.picture-upload-section {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  padding: 12px;
  border-radius: 12px;
}

.picture-preview-box {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.picture-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.picture-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.picture-hint {
  color: #94A3B8;
  font-size: 11px;
}

/* ── 15. AVATARES DE CABECERA, GLOWS Y BADGES ─────────────────────────── */

.header-avatar {
  background-color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
}

.employee-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dendra-code-badge {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 2px 6px;
  border-radius: 0px;
  font-weight: 900;
  font-size: 10px;
  color: #1E40AF;
}

.shadow-2xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-2xs {
  font-size: 9px !important;
}

.border-subtle {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-new-operation {
  background: #1877F2 !important;
  background-color: #1877F2 !important;
  color: #FFFFFF !important;
}

.preview-table-compact tr td,
.preview-table-compact tr th {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

/* ── 16. AUDITORÍA FÍSICA Y TABLAS DE COTEJO DE INVENTARIO ─────────────── */

.audit-light-card {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #F8FAFC !important;
}

.sticky-audit-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
}

.metric-chip {
  display: flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.metric-chip .label {
  font-weight: 800;
  margin-right: 4px;
}

.metric-chip .val {
  font-family: monospace;
}

.progress-container {
  display: flex;
  align-items: center;
}

.progress-bar-wrapper {
  min-width: 100px;
}

.excel-audit-table {
  border-collapse: collapse;
  background: #FFFFFF;
}

.excel-audit-table th {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  color: #002C53 !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 7px 10px;
  border: 1px solid #CBD5E1;
  text-transform: uppercase;
}

.excel-audit-table td {
  padding: 5px 10px;
  border: 1px solid #E2E8F0;
  font-size: 12px;
  color: #0F172A;
}

.audit-row {
  transition: background-color 0.15s ease;
}

.audit-row:hover {
  background: #F1F5F9 !important;
}

.row-present {
  background: #F0FDF4 !important;
  border-left: 4px solid #10B981 !important;
}

.row-missing {
  background: #FEF2F2 !important;
  border-left: 4px solid #EF4444 !important;
}

.row-damaged {
  background: #FFF7ED !important;
  border-left: 4px solid #F97316 !important;
}

.audit-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.btn-inactive {
  background: #FFFFFF;
  border: 1px solid #94A3B8;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-inactive:hover {
  background: #F1F5F9;
  border-color: #64748B;
  color: #000000 !important;
}

.btn-present-active {
  background: #10B981 !important;
  border: 1px solid #059669 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-missing-active {
  background: #EF4444 !important;
  border: 1px solid #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-damaged-active {
  background: #F97316 !important;
  border: 1px solid #EA580C !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

.btn-icon-only {
  width: 28px;
  padding: 0;
}

.mobile-touch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.mobile-btn-inactive {
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  color: #0F172A !important;
}

.mobile-btn-inactive:hover {
  background: #F1F5F9;
}

.mobile-btn-present-active {
  background: #10B981 !important;
  border: 1.5px solid #059669 !important;
  color: #FFFFFF !important;
}

.mobile-btn-missing-active {
  background: #EF4444 !important;
  border: 1.5px solid #DC2626 !important;
  color: #FFFFFF !important;
}

.mobile-icon-btn {
  width: 42px;
  min-width: 42px;
}

.audit-inline-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  color: #0F172A;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.audit-inline-input:focus {
  border-color: #1877F2;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15);
}

.mobile-audit-card {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mobile-card-present {
  background: #F0FDF4 !important;
  border-color: #A7F3D0 !important;
  border-left: 4px solid #10B981 !important;
}

.mobile-card-missing {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  border-left: 4px solid #EF4444 !important;
}

.mobile-card-damaged {
  background: #FFF7ED !important;
  border-color: #FED7AA !important;
  border-left: 4px solid #F97316 !important;
}

/* ── 17. TABLAS DE INTERVALOS Y CONFIGURACIÓN ─────────────────────────── */

.intervals-table th {
  font-size: 10px !important;
  font-weight: 900 !important;
  color: #64748B !important;
  letter-spacing: 0.5px;
}

.dendra-intervals-table thead {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border-bottom: 2px solid #CBD5E1 !important;
}

.dendra-intervals-table th {
  font-size: 10.5px !important;
  font-weight: 900 !important;
  color: #002C53 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  height: 42px !important;
}

.dendra-intervals-table td {
  font-size: 12.5px !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.hover-row {
  transition: background-color 0.15s ease;
}

.hover-row:hover {
  background-color: #F8FAFC !important;
}

/* ── 18. MODALES DE BAJA Y DESINCORPORACIÓN ────────────────────────────── */

.decommission-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

.decommission-header {
  background: #FFF1F2 !important;
}

.border-red-light {
  border-color: #FECDD3 !important;
}

.dialog-card,
.assignment-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

.dialog-title {
  font-size: 17px;
  font-weight: 900;
  color: #002C53;
  line-height: 1.2;
}

/* ── 19. MODALES DE CONFIRMACIÓN Y ELIMINACIÓN ───────────────────────── */

.delete-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18) !important;
}

.delete-avatar {
  border: 2px solid #FCA5A5 !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.25) !important;
}

.item-highlight-name {
  color: #DC2626;
  font-weight: 900;
  background: #FEF2F2;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #FCA5A5;
  display: inline-block;
  margin: 0 2px;
}

.btn-delete-vibrant {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.45) !important;
  transition: all 0.25s ease !important;
}

.btn-delete-vibrant:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  box-shadow: 0 10px 25px -4px rgba(239, 68, 68, 0.6) !important;
  transform: translateY(-1px);
}

.hover-pulse-red:hover {
  animation: pulse-red 1s infinite !important;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ── 20. TOASTERS Y NOTIFICACIONES SONNER DENDRA ─────────────────────── */

[data-sonner-toaster],
.dendra-toaster,
[data-sonner-toast],
.sonner-toast {
  z-index: 999999 !important;
}

/* ── 21. BANNER DE VALIDACIÓN DE FORMULARIOS Y PASOS ─────────────────── */

.validation-alert-banner {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
  border: 1px solid #FECDD3 !important;
  border-left: 5px solid #E11D48 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px -2px rgba(225, 29, 72, 0.12) !important;
}

.validation-alert-icon-box {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE4E6 100%) !important;
  border: 1px solid #FDA4AF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.15) !important;
}

.validation-alert-close-btn {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: rgba(225, 29, 72, 0.08) !important;
  border: 1px solid rgba(225, 29, 72, 0.15) !important;
  color: #BE123C !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.validation-alert-close-btn:hover {
  background: #FDA4AF !important;
  color: #881337 !important;
  border-color: #FB7185 !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.2) !important;
}

.validation-error-tag {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  background: #FFFFFF !important;
  color: #9F1239 !important;
  border: 1px solid #FECDD3 !important;
  box-shadow: 0 1px 3px rgba(225, 29, 72, 0.08) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   SWEETALERT2 MODALS Z-INDEX OVERRIDE (ENCIMA DE DIÁLOGOS Y FULLSCREEN)
   ═════════════════════════════════════════════════════════════════════════ */

.swal2-container {
  z-index: 999999 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   EHSQ INVESTIGATION PIPELINE & TABS (ACR-OPS, ACC-OPS, ACO-OPS)
   ═════════════════════════════════════════════════════════════════════════ */

.custom-investigation-tabs .v-tab {
  text-transform: none !important;
  letter-spacing: 0px !important;
  font-size: 12px !important;
}

.custom-investigation-tabs .v-tab--selected {
  font-weight: 900 !important;
  color: #1877F2 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   EHSQ INVESTIGATION PIPELINE (HOMOLOGADO A EVALUACIONES DE RIESGO IPER)
   ═════════════════════════════════════════════════════════════════════════ */

.pipeline-column-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.pipeline-column-header {
  padding: 12px 16px !important;
  background: #F8FAFC !important;
  border-bottom: 2px solid #CBD5E1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.pipeline-column-header.acr-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%) !important;
  border-bottom: 2px solid #1877F2 !important;
}

.pipeline-column-header.acc-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%) !important;
  border-bottom: 2px solid #D97706 !important;
}

.pipeline-column-header.aco-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #ECFDF5 100%) !important;
  border-bottom: 2px solid #059669 !important;
}

.pipeline-col-title {
  font-size: 12px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

.pipeline-col-subtitle {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.pipeline-column-body {
  background-color: #F8FAFC !important;
  padding: 12px !important;
  flex-grow: 1 !important;
  min-height: 480px !important;
  max-height: calc(100vh - 330px) !important;
  overflow-y: auto !important;
}

.pipeline-item-card {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease-in-out !important;
}

.pipeline-item-card:hover {
  border-color: #94A3B8 !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
}

.pipeline-item-label {
  display: block !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 4px !important;
}

.dendra-select-field {
  border: 1px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  outline: none !important;
  border-radius: 4px !important;
  padding: 6px 8px !important;
  width: 100% !important;
}

.dendra-select-field:focus {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15) !important;
}

.dendra-native-date-input {
  border: 1px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  padding: 5px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  outline: none !important;
  border-radius: 4px !important;
  width: 100% !important;
}

.dendra-native-date-input:focus {
  border-color: #1877F2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15) !important;
}

.sla-badge {
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  padding: 2px 6px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.status-select-pill {
  cursor: pointer !important;
  outline: none !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  padding: 2px 8px !important;
}

/* ==========================================================================
   DENDRA OS - SISTEMA HOMOLOGADO DE TABLAS RESPONSIVAS & SCROLL INTERNO
   Permite que las vistas de tabla llenen la altura de la pantalla (100vh),
   mantengan los encabezados fijos arriba, el paginador fijo abajo, y tengan
   scroll vertical y horizontal independiente sin desbordar la página.

   IMPORTANTE: Las reglas de altura y flexbox están estrictamente acotadas
   a .dendra-table-card y .dendra-table-responsive para NO alterar el flujo
   natural de otras tablas existentes en la plataforma.
   ========================================================================== */

/* 1. Contenedor de página: fija la vista al 100% de la ventana sin scroll externo */

.dendra-page-container {
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* 2. Wrapper flexible para la sección de tabla */

.dendra-table-container {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 3. Card contenedora de v-data-table */

.dendra-table-card {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 0px !important;
}

/* 4. Estilos de tabla con flexbox para scroll interno (SÓLO DENTRO DE DENDRA-TABLE-CARD) */

.dendra-table-card > .v-data-table,
.dendra-table-card > .v-data-table-server,
.dendra-table-card > .v-table,
.dendra-table-card .v-data-table,
.dendra-table-card .v-data-table-server,
.dendra-table-card .v-table,
.dendra-table-responsive {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* 5. Scroll interno en el wrapper de la tabla (horizontal y vertical) */

.dendra-table-card .v-table__wrapper,
.dendra-table-responsive .v-table__wrapper {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
}

/* 6. Barra de desplazamiento personalizada (6px, discreta y moderna) */

.dendra-table-card .v-table__wrapper::-webkit-scrollbar,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.dendra-table-card .v-table__wrapper::-webkit-scrollbar-track,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.dendra-table-card .v-table__wrapper::-webkit-scrollbar-thumb,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.dendra-table-card .v-table__wrapper::-webkit-scrollbar-thumb:hover,
.dendra-table-responsive .v-table__wrapper::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* 7. Encabezados fijos de tabla (Sticky Header) */

.dendra-table-card thead th,
.dendra-table-responsive thead th {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px !important;
  border-bottom: 2px solid #CBD5E1 !important;
  border-right: 1px solid #F1F5F9 !important;
  text-transform: uppercase !important;
  height: 38px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}

.dendra-table-card thead th:last-child,
.dendra-table-responsive thead th:last-child {
  border-right: none !important;
}

.dendra-table-card thead th .v-data-table-header__content,
.dendra-table-responsive thead th .v-data-table-header__content {
  font-weight: 900 !important;
  color: #0F172A !important;
}

/* 8. Pie de página fijo de tabla (Paginador fijado al fondo del card) */

.dendra-table-card .v-data-table-footer,
.dendra-table-responsive .v-data-table-footer {
  flex-shrink: 0 !important;
  background-color: #FFFFFF !important;
  border-top: 1.5px solid #CBD5E1 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  padding: 6px 16px !important;
  z-index: 2 !important;
}

.dendra-table-card .v-data-table-footer .v-data-table-footer__info,
.dendra-table-responsive .v-data-table-footer .v-data-table-footer__info {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  letter-spacing: 0.2px !important;
}

.dendra-table-card .v-data-table-footer .v-data-table-footer__items-per-page,
.dendra-table-responsive .v-data-table-footer .v-data-table-footer__items-per-page {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748B !important;
}

.dendra-table-card .v-data-table-footer .v-field,
.dendra-table-responsive .v-data-table-footer .v-field {
  border-radius: 0px !important;
}

.dendra-table-card .v-data-table-footer .v-btn,
.dendra-table-responsive .v-data-table-footer .v-btn {
  border-radius: 0px !important;
  color: #002C53 !important;
}

/* 9. Filas de tabla con hover sutil */

.dendra-table-card tbody tr td,
.dendra-table-responsive tbody tr td {
  border-bottom: 1px solid #F1F5F9 !important;
  vertical-align: middle !important;
  transition: background-color 0.15s ease;
}

.dendra-table-card tbody tr:hover td,
.dendra-table-responsive tbody tr:hover td {
  background-color: #F8FAFC !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   DENDRA OS • TEMA HOMOLOGADO MICROSOFT OFFICE / EXCEL PARA CARGAS MASIVAS
   Paleta: Forest Sage / Verde Bosque Relajante y Antifatiga Visual
   Estilo: 100% Cuadrado (Sharp / Flat / Sin Redondeos)
   ═════════════════════════════════════════════════════════════════════════ */

:root, .office-bulk-root {
  --office-primary-dark: #1E3F35;          /* Cabecera ribbon mate y descansada */
  --office-primary-dark-border: #153229;   /* Borde inferior cabecera */
  --office-primary: #275648;               /* Botones principales y destacados */
  --office-primary-hover: #1E463A;         /* Hover botones de acción */
  --office-primary-soft: #EFF5F2;          /* Fondos descansados (chips, avatares, métricas) */
  --office-primary-soft-hover: #E3EDE8;    /* Hover de fondos suaves */
  --office-primary-border: #C2D9CD;        /* Bordes sutiles desaturados */
  --office-primary-text: #1E3F35;          /* Texto de acento sobre fondos claros */
  --office-canvas-bg: #F8FAF9;             /* Fondo base del modal */
  --office-text-muted: #D3E4DC;            /* Texto secundario de cabecera */
  --office-accent-blue: #0078D4;           /* Azul distintivo Microsoft Office */
  --office-accent-amber: #D97706;          /* Ámbar de advertencia */
}

/* ─── REGLA GLOBAL ESTRICTA: DISEÑO 100% CUADRADO SIN REDONDEO ─── */

.office-bulk-root,
.office-bulk-root .v-card,
.office-bulk-root .v-btn,
.office-bulk-root .v-chip,
.office-bulk-root .v-avatar,
.office-bulk-root input,
.office-bulk-root select,
.office-bulk-root button,
.office-bulk-root .v-field,
.office-bulk-root .v-dialog {
  border-radius: 0px !important;
}

/* ─── CONTENEDOR RAÍZ DEL MODAL (OFFICE CANVAS) ─── */

.office-bulk-root {
  background-color: var(--office-canvas-bg) !important;
  color: #1E293B !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  width: 100vw !important;
  overflow: hidden !important;
  border-radius: 0px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ─── CINTA SUPERIOR / RIBBON HEADER (VERDE BOSQUE / SALVIA SUAVE) ─── */

.office-ribbon-header {
  background: var(--office-primary-dark) !important;
  border-bottom: 1px solid var(--office-primary-dark-border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  border-radius: 0px !important;
  box-shadow: 0 2px 8px rgba(30, 63, 53, 0.22);
}

.office-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.office-brand-icon {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0px !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.office-titles {
  display: flex;
  flex-direction: column;
}

.office-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-title-text {
  font-size: 14px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.office-title-badge {
  background: #FFFFFF;
  color: var(--office-primary-text);
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 0px !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.office-subtitle-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--office-text-muted);
  margin-top: 2px;
}

/* ─── PESTAÑAS TIPO OFFICE RIBBON ─── */

.office-ribbon-tabs {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  padding: 3px;
  border-radius: 0px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.office-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: transparent;
  border: none;
  border-radius: 0px !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.office-tab-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.office-tab-btn.is-active {
  background: #FFFFFF;
  color: var(--office-primary-text);
  font-weight: 900;
  border-radius: 0px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.office-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── BOTONES ESTILO MICROSOFT OFFICE (CUADRADOS, SIN REDONDEO) ─── */

.office-btn-primary {
  background-color: var(--office-primary) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  border-radius: 0px !important;
  box-shadow: 0 1px 3px rgba(39, 86, 72, 0.25) !important;
  text-transform: none !important;
  border: 1px solid var(--office-primary-hover) !important;
  transition: all 0.15s ease !important;
}

.office-btn-primary:hover {
  background-color: var(--office-primary-hover) !important;
  box-shadow: 0 3px 8px rgba(39, 86, 72, 0.35) !important;
}

.office-btn-white-header {
  background-color: #FFFFFF !important;
  color: var(--office-primary-text) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  border-radius: 0px !important;
  text-transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
}

.office-btn-white-header:hover {
  background-color: var(--office-primary-soft) !important;
}

.office-btn-secondary {
  background-color: #FFFFFF !important;
  color: #374151 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border-radius: 0px !important;
  border: 1px solid #CBD5E1 !important;
  text-transform: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.15s ease !important;
}

.office-btn-secondary:hover {
  background-color: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

.office-btn-outline-green {
  background-color: #FFFFFF !important;
  color: var(--office-primary) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  border-radius: 0px !important;
  border: 1.5px solid var(--office-primary) !important;
  text-transform: none !important;
}

.office-btn-outline-green:hover {
  background-color: var(--office-primary-soft) !important;
}

/* ─── PESTAÑA DE CARGA ASISTIDA (CONTENIDO) ─── */

.office-tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--office-canvas-bg);
}

/* ─── BANNER DEL ASISTENTE DENDRA EN ESTILO OFFICE ─── */

.office-avatar-hero {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 16px 28px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.office-avatar-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Cápsula del Avatar: SIN MARCO, SIN BORDES Y SIN LÍNEA VERDE ARRIBA */

.office-avatar-capsule {
  width: 104px;
  height: 125px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: visible !important;
  border-radius: 0px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Eliminada por completo la franja / borde verde arriba de la cabeza */

.office-avatar-capsule::before {
  display: none !important;
  content: none !important;
}

/* Ocultado el indicador circular para que el avatar se integre 100% limpio */

.office-avatar-live-indicator {
  display: none !important;
}

/* Tarjeta de Diálogo en Estilo Office / Paper Card (Cuadrada) */

.office-speech-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 0px !important;
  padding: 16px 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.office-speech-tail {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #CBD5E1;
}

.office-speech-tail::after {
  content: '';
  position: absolute;
  left: 1px;
  top: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid #FFFFFF;
}

.office-speech-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.office-speech-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-portrait-ring {
  width: 28px;
  height: 28px;
  border-radius: 0px !important;
  overflow: hidden;
  border: 1px solid var(--office-primary);
  background: #FFFFFF;
  flex-shrink: 0;
}

.office-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}

.office-speech-title {
  font-size: 11.5px;
  font-weight: 900;
  color: var(--office-primary-text);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.office-speech-timer {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
  color: #556B62;
  background: var(--office-primary-soft);
  padding: 2px 8px;
  border-radius: 0px !important;
}

.office-speech-message {
  font-size: 13.5px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.55;
}

.office-speech-progress-wrap {
  margin-top: 10px;
}

/* ─── CUERPO CON SCROLL (PÁGINA BLANCA PRODUCTIVA) ─── */

.office-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--office-canvas-bg);
}

/* ─── FASE 1: IDLE (PILARES + DROPZONE CUADRADOS) ─── */

.office-idle-wrap {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.office-pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0px !important;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.office-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--office-primary);
}

.office-pillar-card.accent-blue::before {
  background: var(--office-accent-blue);
}

.office-pillar-card.accent-amber::before {
  background: var(--office-accent-amber);
}

.office-pillar-tag {
  font-size: 10.5px;
  font-family: monospace;
  font-weight: 900;
  margin-bottom: 4px;
}

.office-pillar-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.office-pillar-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}

/* ─── DROPZONE EXCEL (CUADRADA) ─── */

.office-dropzone {
  border: 2px dashed #94A3B8;
  background: #FFFFFF;
  border-radius: 0px !important;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.office-dropzone:hover {
  border-color: var(--office-primary);
  background: #F4F8F6;
}

.office-dropzone.is-dragging {
  border-color: var(--office-primary);
  background: var(--office-primary-soft);
  border-style: solid;
}

.office-drop-icon {
  width: 58px;
  height: 58px;
  border-radius: 0px !important;
  background: var(--office-primary-soft);
  border: 1px solid var(--office-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.office-drop-title {
  font-size: 16px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.2px;
}

.office-drop-sub {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}

.office-drop-format {
  color: var(--office-primary);
  font-family: monospace;
  font-weight: 800;
}

.office-drop-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* ─── FASE 2: ANALYZING (STEPPER CUADRADO) ─── */

.office-analyzing-card {
  width: 100%;
  max-width: 660px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 0px !important;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.office-analyzing-header {
  text-align: center;
  margin-bottom: 24px;
}

.office-file-chip {
  display: inline-block;
  background: var(--office-primary-soft);
  color: var(--office-primary-text);
  border: 1px solid var(--office-primary-border);
  font-size: 11.5px;
  font-family: monospace;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 0px !important;
  margin-bottom: 10px;
}

.office-analyzing-title {
  font-size: 17px;
  font-weight: 900;
  color: #0F172A;
  text-transform: uppercase;
}

.office-analyzing-subtitle {
  font-size: 12px;
  color: #64748B;
  margin-top: 4px;
}

.office-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.office-stepper-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 0px !important;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.office-stepper-item.is-done {
  background: #F2F7F4;
  border-color: var(--office-primary-border);
}

.office-stepper-item.is-current {
  background: #EFF6FF;
  border-color: #BFDBFE;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.08);
}

.office-stepper-item.is-waiting {
  background: var(--office-canvas-bg);
  opacity: 0.6;
}

.office-stepper-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #0F172A;
}

.office-stepper-desc {
  font-size: 11px;
  color: #64748B;
}

/* ─── FASE 3: SUCCESS (CUADRADA) ─── */

.office-success-card {
  width: 100%;
  max-width: 540px;
  background: #FFFFFF;
  border: 2px solid var(--office-primary);
  border-radius: 0px !important;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(39, 86, 72, 0.1);
}

.office-success-title {
  font-size: 19px;
  font-weight: 900;
  color: #0F172A;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.office-success-desc {
  font-size: 13px;
  color: #475569;
  max-width: 440px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.office-success-metrics {
  background: var(--office-primary-soft);
  border: 1px solid var(--office-primary-border);
  border-radius: 0px !important;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.office-metric-num {
  font-size: 28px;
  font-family: monospace;
  font-weight: 900;
  color: var(--office-primary-text);
  line-height: 1;
}

.office-metric-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--office-primary);
  margin-top: 4px;
}

/* ─── FASE 4: DIAGNÓSTICO (TABLA EXCEL CUADRADA) ─── */

.office-diagnosis-wrap {
  width: 100%;
  max-width: 1140px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 12px 20px;
  border: 1px solid #CBD5E1;
  border-radius: 0px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.office-chip-valid {
  background: var(--office-primary-soft);
  border: 1px solid var(--office-primary-border);
  color: var(--office-primary-text);
  padding: 6px 14px;
  border-radius: 0px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-chip-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 6px 14px;
  border-radius: 0px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-chip-warn {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 6px 14px;
  border-radius: 0px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-table-box {
  flex: 1;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 0px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.office-excel-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.office-excel-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #F1F5F9;
  border-bottom: 2px solid #CBD5E1;
}

.office-excel-table th {
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.office-excel-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  color: #1E293B;
}

.office-excel-table tr.row-error {
  background: #FEF2F2;
}

.office-excel-table tr.row-warn {
  background: #FFFBEB;
}

.office-tag-error {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 0px !important;
  letter-spacing: 0.3px;
}

.office-tag-warn {
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 0px !important;
  letter-spacing: 0.3px;
}

.office-suggestion-badge {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 0px !important;
}

.office-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 12px 20px;
  border: 1px solid #CBD5E1;
  border-radius: 0px !important;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* ─── PESTAÑA MANUAL (HANDSONTABLE EN ENTORNO EXCEL) ─── */

.office-manual-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FFFFFF;
}

.office-grid-toolbar {
  padding: 10px 24px;
  background: var(--office-canvas-bg);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.office-grid-toolbar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.office-grid-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-hot-container {
  flex: 1;
  overflow: hidden;
  background: #FFFFFF;
}

:root {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --app-zoom: 1;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
  font-weight: 500;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

button {
  letter-spacing: 0.01em;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Forzar visibilidad de botones de acción */

.btn-save {
  background-color: #1D4354 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
}

.btn-save:disabled {
  background-color: #CBD5E1 !important;
  color: #94A3B8 !important;
  cursor: not-allowed !important;
}

/* Global styles for form fields in creation/edition modals to have thicker borders and noticeable labels */

.form-field .v-field__outline {
  --v-field-border-width: 1.5px !important;
  --v-field-border-opacity: 0.65 !important;
  color: #64748B !important;
}

.form-field:hover .v-field__outline {
  --v-field-border-opacity: 0.9 !important;
  color: #475569 !important;
}

.form-field .v-field--focused .v-field__outline {
  --v-field-border-width: 2px !important;
  --v-field-border-opacity: 1 !important;
  color: inherit !important;
}

.form-field .v-label {
  font-weight: 700 !important;
  color: #334155 !important;
  opacity: 0.95 !important;
}

.form-field .v-field--focused .v-label {
  color: inherit !important;
  opacity: 1 !important;
}

/* ==========================================================================
   ESTILOS DE SELECTS, INPUTS Y MENÚS DESPLEGABLES (COLOR DENDRA #002C53)
   ========================================================================== */

.v-field--focused .v-field__outline {
  --v-field-border-color: #002C53 !important;
  --v-field-border-opacity: 1 !important;
  --v-field-border-width: 2px !important;
}

.v-field--focused .v-label,
.v-field--focused .v-field__input {
  color: #002C53 !important;
  font-weight: 700 !important;
}

/* Opciones de menús desplegables (v-select / v-autocomplete / v-menu) */

.v-menu .v-list-item:hover,
.v-select__content .v-list-item:hover,
.v-autocomplete__content .v-list-item:hover {
  background-color: rgba(0, 44, 83, 0.08) !important;
  color: #002C53 !important;
}

.v-menu .v-list-item--active,
.v-menu .v-list-item--selected,
.v-select__content .v-list-item--active,
.v-select__content .v-list-item--selected,
.v-autocomplete__content .v-list-item--active,
.v-autocomplete__content .v-list-item--selected {
  background-color: rgba(0, 44, 83, 0.14) !important;
  color: #002C53 !important;
  font-weight: 900 !important;
  border-left: 4px solid #002C53 !important;
}

.v-menu .v-list-item--active .v-list-item-title,
.v-menu .v-list-item--selected .v-list-item-title,
.v-select__content .v-list-item--selected .v-list-item-title,
.v-autocomplete__content .v-list-item--selected .v-list-item-title {
  color: #002C53 !important;
  font-weight: 900 !important;
}

/* ==========================================================================
   SISTEMA GLOBAL DE ESCALADO RESPONSIVO (4K, 2K, Full HD 1080p, 900p, 720p)
   ========================================================================== */

/* 1. Pantallas Ultra HD / 4K (Ancho >= 2560px o Alto >= 1400px) */

@media screen and (min-width: 2560px), screen and (min-height: 1400px) {
  :root { --app-zoom: 1.18; }
  #app {
    zoom: 1.18;
  }
}

/* 2. Monitores 2K / 1440p (2000px a 2559px) */

@media screen and (min-width: 2000px) and (max-width: 2559px) {
  :root { --app-zoom: 1.08; }
  #app {
    zoom: 1.08;
  }
}

/* 3. Full HD Standard 1080p (1441px a 1999px) -> Escala Nativa 100% */

@media screen and (min-width: 1441px) and (max-width: 1999px) {
  :root { --app-zoom: 1; }
  #app {
    zoom: 1.0;
  }
}

/* 4. Escritorios Compactos / Laptops 900p (1281px a 1440px o Alto de 721px a 850px) */

@media screen and (max-width: 1440px) and (min-width: 1201px), screen and (max-height: 850px) and (min-height: 721px) and (min-width: 1025px) {
  :root { --app-zoom: 0.88; }
  #app {
    zoom: 0.88;
  }
}

/* 5. Resoluciones 720p y Laptops HD (960px a 1280px o Alto <= 720px) */

@media screen and (max-width: 1280px) and (min-width: 960px), screen and (max-height: 720px) and (min-width: 960px) {
  :root { --app-zoom: 0.82; }
  #app {
    zoom: 0.82;
  }
}

/* 6. Dispositivos Móviles (< 960px) -> Escala 1.0 nativa */

@media screen and (max-width: 959px) {
  :root { --app-zoom: 1; }
  #app {
    zoom: 1.0 !important;
  }
}

/* ==========================================================================
   ESTILOS CUADRADOS GLOBALES (Square / Less Rounded Corners System)
   ========================================================================== */

/* Overrides universales para tarjetas, hojas, modales, alertas, listas, botones y contenedores */

.v-card,
.v-sheet,
.v-dialog .v-card,
.v-overlay__content,
.v-overlay__content .v-card,
.modal-card,
.main-card,
.stat-card,
.dendra-header-sheet,
.header-dendra,
.verification-card,
.fb-vibrant-modal,
.v-navigation-drawer,
.v-menu .v-overlay__content,
.v-list,
.v-list-item,
.v-alert,
.v-expansion-panel,
.v-expansion-panels,
.v-banner,
.v-table,
.v-field,
.v-field__outline,
.v-field--rounded,
.v-chip,
.v-btn,
.nav-item-custom,
.header-avatar,
.modal-icon-avatar {
  border-radius: 4px !important;
}

.action-btn-vibrant {
  border-radius: 8px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.action-btn-vibrant:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.rounded-0,
.rounded-none,
.dendra-header-sheet,
.header-dendra,
.header-avatar,
.header-chip,
.btn-header-outline,
.btn-new-operation,
.btn-header-primary,
.header-dendra .v-btn,
.dendra-header-sheet .v-btn,
.sticky-header-container .v-btn {
  border-radius: 0px !important;
}

/* ==========================================================================
   ESTILO GLOBAL DE BOTONES DE CABECERA (AZUL SÓLIDO OFICIAL DENDRA OS)
   ========================================================================== */

.btn-new-operation,
.btn-header-primary {
  background: #1877F2 !important;
  background-color: #1877F2 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: none !important;
  border-radius: 0px !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-new-operation:hover,
.btn-header-primary:hover {
  background-color: #1565C0 !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6) !important;
  transform: translateY(-1px);
}

.btn-header-outline,
.btn-header-refresh {
  border: 1px solid #60A5FA !important;
  color: #60A5FA !important;
  background-color: transparent !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  border-radius: 0px !important;
  transition: all 0.2s ease !important;
}

.btn-header-outline:hover,
.btn-header-refresh:hover {
  background-color: rgba(96, 165, 250, 0.15) !important;
  border-color: #93C5FD !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.hover-pulse:hover {
  animation: pulse-blue 1s infinite !important;
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(24, 119, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0); }
}

/* ==========================================================================
   ESTILO GLOBAL DE BADGES / CHIPS (TEXTO EN NEGRITAS ULTRA VISIBLE)
   ========================================================================== */

.v-chip,
.v-chip__content,
.badge-custom,
.status-chip,
.company-chip,
.role-badge,
.code-chip,
.tax-id-chip-homologated {
  font-weight: 900 !important;
  letter-spacing: 0.3px !important;
}

/* ==========================================================================
   ESTILOS GLOBALES DE CABECERAS DE VISTA Y TABLAS INSTITUCIONALES
   ========================================================================== */

.sticky-header-container {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: transparent !important;
}

.header-dendra { 
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important; 
}

.dendra-header-sheet {
  border-bottom: 3px solid #1C1E21 !important;
  border-left: 5px solid #1877F2 !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3) !important;
  position: relative;
  overflow: hidden;
  border-radius: 0px !important;
}

.animated-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.relative-z10 {
  position: relative;
  z-index: 10;
}

.glow-blue {
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.3) !important;
}

.header-avatar {
  background-color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
}

.header-title {
  font-weight: 900 !important;
  color: #FFFFFF !important;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.header-subtitle {
  font-size: 10px !important;
  font-weight: 900 !important;
  color: #93C5FD !important;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.header-chip {
  font-weight: 900 !important;
  color: #FFFFFF !important;
  border: 1px solid #60A5FA !important;
}

.dendra-table th {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  color: #FFFFFF !important;
  background-color: #002C53 !important;
  border-bottom: 2px solid #001f3b !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  text-transform: uppercase !important;
}

.dendra-table tbody tr:hover {
  background-color: #F8FAFC !important;
}

/* ==========================================================================
   CABECERAS Y TABLAS INSTITUCIONALES DENDRA OS (.fb-warehouse-table)
   ========================================================================== */

.fb-warehouse-table thead th,
.fb-compact-docs-table thead th {
  background-color: #002C53 !important;
  color: #FFFFFF !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.7px !important;
  border-bottom: 2px solid #001f3b !important;
  text-transform: uppercase !important;
  height: 40px !important;
}

.fb-warehouse-table thead th .v-data-table-header__content,
.fb-compact-docs-table thead th .v-data-table-header__content {
  font-weight: 800 !important;
  color: #FFFFFF !important;
}

.fb-warehouse-table tbody tr td {
  border-bottom: 1px solid #E2E8F0 !important;
}

.fb-warehouse-table tbody tr:hover {
  background-color: #F8FAFC !important;
}

/* ==========================================================================
   ESTILOS INSTITUCIONALES DENDRA OS PARA SWEETALERT2
   ========================================================================== */

.swal2-container,
.dendra-swal-container {
  z-index: 999999 !important;
}

.dendra-swal-popup {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: #FFFFFF !important;
  border-radius: 6px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  padding: 24px !important;
}

.dendra-swal-title {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  letter-spacing: -0.01em !important;
  padding-top: 8px !important;
}

.dendra-swal-html {
  font-size: 13px !important;
  color: #475569 !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin-top: 8px !important;
}

.dendra-swal-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 20px !important;
  padding-top: 14px !important;
  border-top: 1px solid #F1F5F9 !important;
}

.dendra-swal-confirm-btn {
  background-color: #1877F2 !important;
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  height: 38px !important;
  padding: 0 20px !important;
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4) !important;
  transition: all 0.2s ease !important;
}

.dendra-swal-confirm-btn:hover {
  background-color: #1565C0 !important;
  transform: translateY(-1px);
}

.dendra-swal-danger-btn {
  background-color: #EF4444 !important;
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  height: 38px !important;
  padding: 0 20px !important;
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4) !important;
  transition: all 0.2s ease !important;
}

.dendra-swal-danger-btn:hover {
  background-color: #DC2626 !important;
  transform: translateY(-1px);
}

.dendra-swal-cancel-btn {
  background-color: #F1F5F9 !important;
  color: #475569 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 4px !important;
  border: 1px solid #CBD5E1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.dendra-swal-cancel-btn:hover {
  background-color: #E2E8F0 !important;
  color: #1E293B !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   DENDRA OS • TOASTER NOTIFICATIONS (VUE-SONNER SÓLIDOS DE ALTO CONTRASTE)
   ═════════════════════════════════════════════════════════════════════════ */

[data-sonner-toaster],
.dendra-toaster {
  z-index: 999999 !important;
  pointer-events: auto !important;
  --gap: 4px !important;
}

[data-sonner-toast] {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.28), 0 2px 6px -1px rgba(15, 23, 42, 0.16) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  padding: 8px 32px 8px 12px !important;
  min-height: 38px !important;
  position: relative !important;
}

/* Mantener el texto y contenido 100% visible en todas las alertas activas sin ocultar hijos */

[data-sonner-toast] > * {
  opacity: 1 !important;
}

[data-sonner-toast] [data-content] {
  display: flex !important;
  flex-direction: column !important;
  gap: 0px !important;
  justify-content: center !important;
}

[data-sonner-toast] [data-title] {
  font-weight: 800 !important;
  font-size: 12.5px !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
}

[data-sonner-toast] [data-description] {
  font-weight: 500 !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.94) !important;
  margin-top: 1px !important;
  line-height: 1.25 !important;
}

[data-sonner-toast] [data-icon] svg {
  color: #FFFFFF !important;
  width: 16px !important;
  height: 16px !important;
}

/* Botón de Cierre Elegante (Glassmorphism circular con micro-interacción) */

[data-sonner-toast] [data-close-button] {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
  opacity: 0.85 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-sonner-toast] [data-close-button]:hover {
  background: rgba(0, 0, 0, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

[data-sonner-toast] [data-close-button] svg {
  width: 9px !important;
  height: 9px !important;
  stroke-width: 2.5px !important;
  color: #FFFFFF !important;
}

/* ERROR - Rojo Intenso con Contraste Blanco */

[data-sonner-toast][data-type='error'] {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* SUCCESS - Verde Esmeralda Intenso con Contraste Blanco */

[data-sonner-toast][data-type='success'] {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* WARNING - Ámbar / Naranja Intenso con Contraste Blanco */

[data-sonner-toast][data-type='warning'] {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* INFO - Azul Corporativo Dendra OS con Contraste Blanco */

[data-sonner-toast][data-type='info'] {
  background: linear-gradient(135deg, #1877F2 0%, #003D73 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* LOADING / PROMISE / DEFAULT */

[data-sonner-toast][data-type='loading'],
[data-sonner-toast]:not([data-type]) {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   CABECERAS ESTANDARIZADAS DENDRA OS Y BOTONES DE ACCIÓN (GLOBAL)
   ========================================================================== */

.dendra-header-sheet {
  background: linear-gradient(135deg, #243647 0%, #1a2a38 100%) !important;
  color: white !important;
  border-left: 5px solid #1877F2 !important;
  box-shadow: 0 4px 12px rgba(0, 44, 83, 0.15) !important;
  position: relative;
  overflow: hidden;
}

.glow-blue {
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4) !important;
}

.btn-header-outline {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
  transition: all 0.2s ease;
}

.btn-header-outline:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: #FFFFFF !important;
}

.btn-new-operation {
  background: #1877F2 !important;
  background-color: #1877F2 !important;
  color: #FFFFFF !important;
}

.btn-header-refresh {
  background: #1877F2 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   UTILIDADES TIPOGRÁFICAS DE TAMAÑO COMPACTO Y SOPORTE PARA text-[...]
   ========================================================================== */

.text-\[7\.5px\] { font-size: 7.5px !important; }

.text-\[8px\] { font-size: 8px !important; }

.text-\[8\.5px\] { font-size: 8.5px !important; }

.text-\[9px\] { font-size: 9px !important; }

.text-\[9\.5px\] { font-size: 9.5px !important; }

.text-\[10px\] { font-size: 10px !important; }

.text-\[10\.5px\] { font-size: 10.5px !important; }

.text-\[11px\] { font-size: 11px !important; }

.text-\[11\.5px\] { font-size: 11.5px !important; }

.text-\[12px\] { font-size: 12px !important; }

.text-\[13px\] { font-size: 13px !important; }

.text-\[14px\] { font-size: 14px !important; }

.text-micro { font-size: 9.5px !important; }

.text-2xs { font-size: 10px !important; }

.text-compact-xs { font-size: 11px !important; }



