/* ==========================================================================
   1. VARIÁVEIS DO ECOSSISTEMA E CONFIGURAÇÕES GLOBAIS (DESIGN SYSTEM)
   ========================================================================== */
:root {
    /* Paleta de Cores Operacionais e ESG */
    --brand-primary: #059669;       /* Verde Esmeralda Principal */
    --brand-primary-hover: #047857; /* Verde Esmeralda Escuro */
    --brand-primary-light: #ecfdf5; /* Fundo Ativo Esmeralda */
    --brand-secundary: #0f172a;     /* Slate Escuro (Governança/Texto) */
    
    /* Cores de Fundo da Interface */
    --bg-workspace: #f8fafc;        /* Cinza Claro Ultra Limpo */
    --bg-card: #ffffff;             /* Branco Absoluto */
    --bg-sidebar: #0f172a;          /* Sidebar Premium Dark */
    
    /* Tons Secundários e de Suporte */
    --text-main: #1e293b;           /* Texto Principal */
    --text-muted: #64748b;          /* Texto Secundário / Legendas */
    --text-light: #94a3b8;          /* Desativados / Placeholders */
    --border-color: #e2e8f0;        /* Linhas e Divisores Padrão */
    
    /* Cores Temáticas de Vidro Reais */
    --glass-incolor: #cbd5e1;       /* Incolor (Representação Cinza Translúcido) */
    --glass-verde: #10b981;         /* Verde Litúrgico / Garrafas */
    --glass-ambar: #b45309;         /* Âmbar / Cervejas */
    --glass-misto: #6b7280;         /* Misto Sem Triagem */
    
    /* Estados Operacionais e Alertas */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Destaques Especiais de Tokens (VV Points) */
    --token-gold: #d97706;
    --token-bg: #fffbeb;
    
    /* Estrutura de Layout e Elevação */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset de Elementos Moderno */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body.dashboard-body {
    background-color: var(--bg-workspace);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ocultação Padrão das Seções do Dashboard (Gerenciadas via scriptdashboard.js) */
.dashboard-section {
    display: none;
    animation: fadeInCanvas 0.4s ease-in-out forwards;
}

.dashboard-section.active {
    display: block;
}

@keyframes fadeInCanvas {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Container Estrutural Global */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ==========================================================================
   2. SIDEBAR DE NAVEGAÇÃO CORPORATIVA (DARK SIDEBAR)
   ========================================================================== */
.sidebar-container {
    width: 280px;
    background-color: var(--bg-sidebar);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

/* Identidade da Marca */
.sidebar-brand {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lista de Menus (Navegação Dinâmica) */
.sidebar-navigation {
    flex: 1;
    padding: 20px 14px;
    overflow-y: auto;
}

.sidebar-navigation::-webkit-scrollbar {
    width: 4px;
}

.sidebar-navigation::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.menu-item i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.menu-item:hover a,
.menu-item.active a {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

.menu-item.active a {
    background-color: var(--brand-primary);
    font-weight: 600;
}

.menu-item.active i {
    color: #ffffff;
}

/* Rodapé Protegido da Sidebar */
.sidebar-footer-profile {
    padding: 20px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Caixa de Perfil da Administradora */
.user-profile-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: var(--radius-md);
    position: relative;
}

.user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.status-indicator.online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background-color: var(--success);
    border: 2px solid var(--bg-sidebar);
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 500;
}

.user-company {
    font-size: 0.65rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Selo de Rede Verificada Institucional */
.verified-network-card {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(5, 150, 105, 0.25);
    padding: 12px;
    border-radius: var(--radius-md);
}

.verified-network-card .card-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.verified-network-card .card-text {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.4;
}

.sidebar-copyright {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #475569;
}

/* ==========================================================================
   3. ÁREA CENTRAL DE CONTEÚDO (MAIN WORKSPACE & HEADER)
   ========================================================================== */
.main-workspace {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Evita quebras em grids responsivos */
}

/* Barra Superior Fixa de Controle */
.workspace-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-sm);
}

.header-left-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-hamburger {
    display: none; /* Ativado opcionalmente em media queries mobile */
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.page-context-title h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-secundary);
    letter-spacing: -0.5px;
}

.page-context-title p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Painel de Ações Globais */
.header-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.global-search-wrapper {
    position: relative;
    width: 280px;
}

.global-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
}

.input-search-global {
    width: 100%;
    padding: 10px 14px 10px 38px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: #f8fafc;
    outline: none;
    transition: var(--transition-smooth);
}

.input-search-global:focus {
    border-color: var(--brand-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Filtro Temporal em Lote */
.date-picker-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-main);
}

.date-picker-filter i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-date-range {
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    width: 160px;
    outline: none;
    cursor: pointer;
}

/* Botões do Topo */
.btn-action-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-action-outline:hover {
    background-color: #f8fafc;
    border-color: var(--text-light);
}

.btn-action-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--brand-primary);
    border: none;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-action-primary:hover {
    background-color: var(--brand-primary-hover);
    box-shadow: var(--shadow-md);
}

/* Espaço Tela de Pintura Interna (Canvas) */
.workspace-content-canvas {
    padding: 32px;
    flex: 1;
}

/* ==========================================================================
   4. MATRIZ DE GRID DE INDICADORES (12 INDICADORES DO PAINEL)
   ========================================================================== */
.indicators-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.indicator-kpi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.indicator-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(5, 150, 105, 0.2);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.kpi-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.kpi-icon {
    width: 36px;
    height: 36px;
    background-color: #f1f5f9;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.kpi-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kpi-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--brand-secundary);
    letter-spacing: -0.5px;
}

.kpi-trend {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.kpi-trend.positive {
    background-color: var(--success-light);
    color: var(--brand-primary);
}

.kpi-trend.neutral {
    background-color: #f1f5f9;
    color: var(--text-muted);
}

.kpi-trend.negative {
    background-color: var(--danger-light);
    color: var(--danger);
}

.kpi-footer-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-light);
}

.meta-source {
    cursor: help;
    text-decoration: underline dashed;
}

/* Destaques Especiais de Cards (Métricas ESG e Cripto) */
.indicator-kpi-card.esg-metric-highlight {
    background: linear-gradient(to bottom right, #ffffff, var(--brand-primary-light));
    border-color: rgba(5, 150, 105, 0.2);
}

.indicator-kpi-card.esg-metric-highlight .kpi-icon {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--brand-primary);
}

.indicator-kpi-card.tokens-metric-highlight {
    background: linear-gradient(to bottom right, #ffffff, var(--token-bg));
    border-color: rgba(217, 119, 6, 0.2);
}

.indicator-kpi-card.tokens-metric-highlight .kpi-icon {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--token-gold);
}

.indicator-kpi-card.tokens-metric-highlight .kpi-number {
    color: var(--token-gold);
}

/* ==========================================================================
   5. ARQUITETURA DE LAYOUT DE GRÁFICOS E SIMULAÇÕES VISUAIS
   ========================================================================== */
.analytics-charts-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.chart-wrapper-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chart-wrapper-card.large-span-grid {
    grid-column: span 2;
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-card-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-secundary);
}

.btn-chart-options {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.95rem;
}

.badge-live {
    background-color: var(--danger-light);
    color: var(--danger);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Placeholders Gráficos Internos Estilizados */
.chart-canvas-placeholder {
    background-color: #f8fafc;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.placeholder-text {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    z-index: 2;
}

/* Simulações de Gráficos via CSS */
.mock-bars-visual-chart {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 60px;
    background: linear-gradient(90deg, transparent 0%, rgba(5, 150, 105, 0.05) 100%);
    border-bottom: 2px solid var(--brand-primary);
}

.glass-type-distribution-list {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glass-type-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 16px;
}

.type-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.type-color-bar {
    height: 12px;
    border-radius: 6px;
    background-color: var(--border-color);
}

.item-incolor .type-color-bar { background-color: var(--glass-incolor); }
.item-verde .type-color-bar { background-color: var(--glass-verde); }
.item-ambar .type-color-bar { background-color: var(--glass-ambar); }
.item-misto .type-color-bar { background-color: var(--glass-misto); }

.type-weight {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: right;
    color: var(--brand-secundary);
}

/* Mapa Falso Georreferenciado */
.map-container-mock {
    height: 350px;
    background-color: #e2e8f0;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 16px 16px;
    position: relative;
    overflow: hidden;
}

.mock-map-interface {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pin-mock {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--brand-primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.3);
    animation: pulsePin 2s infinite ease-in-out;
}

.pin-mock.location-rj { top: 40%; left: 50%; }
.pin-mock.location-niteroi { top: 45%; left: 58%; background-color: var(--info); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.3); }
.pin-mock.location-duque { top: 30%; left: 42%; background-color: var(--warning); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.3); }

@keyframes pulsePin {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   6. COMPONENTE DE FUNIL DE RASTREABILIDADE AVANÇADO
   ========================================================================== */
.funnel-tracking-flow-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

.funnel-stage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: var(--brand-primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    width: var(--stage-width, 100%);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.funnel-stage .stage-label {
    display: flex;
    gap: 20px;
}

.funnel-stage .stage-conversion {
    font-size: 0.75rem;
    opacity: 0.85;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Degradação de Cores do Funil para Identificação de Perda Operacional */
.stage-1 { background-color: #047857; }
.stage-2 { background-color: #059669; }
.stage-3 { background-color: #10b981; }
.stage-4 { background-color: #34d399; color: var(--brand-secundary); }
.stage-5 { background-color: #6ee7b7; color: var(--brand-secundary); }
.stage-6 { background-color: #a7f3d0; color: var(--brand-secundary); }
.stage-7 { background-color: #d1fae5; color: var(--brand-secundary); border: 1px solid var(--brand-primary); }

/* ==========================================================================
   7. CONTROLE DE TABELAS CORPORATIVAS E FILTROS DE ABAS (TABS CHIPS)
   ========================================================================== */
.section-action-header {
    margin-bottom: 24px;
}

.filter-tabs-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.filter-tabs-scroller::-webkit-scrollbar {
    height: 4px;
}

.filter-tabs-scroller::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.tab-pill {
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.tab-pill:hover {
    background-color: #f1f5f9;
    color: var(--text-main);
}

.tab-pill.active {
    background-color: var(--brand-secundary);
    color: #ffffff;
    border-color: var(--brand-secundary);
}

.count-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

.tab-pill.active .count-tag {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* Container de Tabelas Ricas */
.data-table-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.responsive-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.responsive-data-table th {
    background-color: #f8fafc;
    padding: 16px 20px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.responsive-data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

.responsive-data-table tr:last-child td {
    border-bottom: none;
}

.responsive-data-table tbody tr:hover td {
    background-color: #f8fafc;
}

/* Células de Dados Complexas */
.participant-profile-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-main-title {
    font-weight: 700;
    color: var(--brand-secundary);
}

.p-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.verified-stamp-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand-primary);
    background-color: var(--brand-primary-light);
    padding: 2px 6px;
    border-radius: 4px;
    width: max-content;
}

/* Rótulos e Tags de Acesso */
.badge-role-tag {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-role-tag.industry { background-color: var(--info-light); color: var(--info); }
.badge-role-tag.coop { background-color: var(--warning-light); color: var(--warning); }

.masked-data {
    font-family: monospace;
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
}

.contact-card-cell, .geo-cell, .event-id-cell, .weight-comparison-cell, .price-billing-cell, .timestamp-geo-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.geo-coords {
    font-size: 0.7rem;
    color: var(--text-light);
}

.token-sub {
    color: var(--token-gold);
    font-weight: 600;
}

.status-badge-flow, .step-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    display: inline-block;
}

.status-badge-flow.active-status, .step-status-badge.tracking-concluida {
    background-color: var(--success-light);
    color: var(--brand-primary);
}

.status-badge-flow.analysis-status, .step-status-badge.tracking-transporte {
    background-color: var(--warning-light);
    color: var(--warning);
}

/* Sistema de Dropdown Contextual nas Ações */
.dropdown-action-context {
    position: relative;
    display: inline-block;
}

.btn-dots-context {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.btn-dots-context:hover {
    background-color: #e2e8f0;
    color: var(--brand-secundary);
}

.context-menu-dropdown-panel {
    display: none; /* Ativado via JS com foco ou classe */
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 180px;
    z-index: 10;
    padding: 6px 0;
}

.dropdown-action-context:hover .context-menu-dropdown-panel {
    display: block; /* Fallback simples para interação funcional CSS */
}

.context-menu-dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    text-align: left;
}

.context-menu-dropdown-panel a:hover {
    background-color: #f8fafc;
    color: var(--brand-primary);
}

.context-menu-dropdown-panel a.menu-divider {
    border-top: 1px solid var(--border-color);
    color: var(--danger);
}

.attachments-icons-row {
    display: flex;
    gap: 6px;
}

.btn-icon-attachment {
    background-color: #f1f5f9;
    border: none;
    color: var(--text-light);
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-icon-attachment.active {
    color: var(--brand-primary);
    background-color: var(--brand-primary-light);
}

/* ==========================================================================
   8. MATRIZES TRÊS COLUNAS: PONTOS DE COLETA E CARDS DE PRODUTIVIDADE
   ========================================================================== */
.grid-layout-three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.location-hub-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hub-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-secundary);
}

.hub-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-dot.operational {
    background-color: var(--success-light);
    color: var(--brand-primary);
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
}

.hub-body-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.metric-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.metric-line span { color: var(--text-muted); }
.metric-line strong { color: var(--brand-secundary); }

.hub-actions-footer {
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.btn-small-link {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex: 1;
}

.btn-small-action {
    background-color: var(--brand-primary);
    border: none;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex: 1.2;
}

/* ==========================================================================
   9. SEÇÃO DE ATIVOS E RECIPIENTES (CARDS DE RASTREAMENTO IOT COM ALERTAS)
   ========================================================================== */
.assets-cards-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.asset-tracking-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.asset-tracking-card.alert-state-border {
    border-color: var(--danger);
}

.asset-alert-banner-indicator {
    background-color: var(--danger);
    color: #ffffff;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -20px -20px 16px -20px;
}

.asset-card-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.asset-serial {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-secundary);
}

.asset-type-badge {
    font-size: 0.7rem;
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
    margin-left: 8px;
}

.lifecycle-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.lifecycle-badge.filling-state { background-color: var(--info-light); color: var(--info); }
.lifecycle-badge.available-state { background-color: var(--success-light); color: var(--brand-primary); }

/* Núcleo Técnico QR Code */
.asset-technical-core-grid {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.asset-qr-code-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mock-qr-code-graphic {
    width: 80px;
    height: 80px;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
}

.mock-qr-code-graphic.verified-qr {
    border-color: var(--brand-primary);
    color: var(--brand-secundary);
}

.qr-validation-tag {
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.qr-validation-tag.unverified { color: var(--danger); }
.qr-validation-tag.verified { color: var(--brand-primary); }

.asset-operational-parameters {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.parameter-row {
    font-size: 0.78rem;
    display: flex;
    justify-content: space-between;
}

.parameter-row span { color: var(--text-muted); }
.parameter-row strong { color: var(--brand-secundary); text-align: right; }
.color-match-text.verde { color: var(--glass-verde); }

/* Medidor Barra de Capacidade */
.asset-capacity-progress-meter {
    margin-bottom: 20px;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.meter-track-bar {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background-color: var(--brand-primary);
    border-radius: 4px;
}

.meter-track-bar.overflow-alert .meter-fill {
    background-color: var(--danger);
}

.asset-card-footer-history {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-quick-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.idle-warning-text { color: var(--warning); font-weight: 600; }
.status-text-good { color: var(--brand-primary); font-weight: 600; }

.btn-expand-asset-history {
    background-color: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.btn-expand-asset-history:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* ==========================================================================
   10. JORNADA DO VIDRO (LINHA DO TEMPO HORIZONTAL E INSPEÇÃO DE AUDITORIA)
   ========================================================================== */
.interactive-flowchart-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.flowchart-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.asset-selector-dropdown-context {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8fafc;
    padding: 12px;
    border-radius: var(--radius-md);
    width: max-content;
}

.asset-selector-dropdown-context label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-secundary);
}

.styled-select-field {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: #ffffff;
}

/* Fluxo Visual Horizontal */
.visual-timeline-horizontal-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
    overflow-x: auto;
    position: relative;
}

.visual-timeline-horizontal-flow::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 40px;
    right: 40px;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.timeline-node-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    z-index: 2;
    position: relative;
}

.node-circle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.node-meta-labels {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.node-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-secundary);
}

.node-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.node-date {
    font-size: 0.65rem;
    color: var(--text-light);
}

/* Estados da Linha do Tempo */
.timeline-node-step.passed .node-circle-icon {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary);
    color: #ffffff;
}

.timeline-node-step.current .node-circle-icon {
    border-color: var(--brand-primary);
    background-color: #ffffff;
    color: var(--brand-primary);
    box-shadow: 0 0 0 4px var(--brand-primary-light);
    transform: scale(1.1);
}

/* Detalhes de Inspeção em Lote */
.timeline-inspection-details-panel {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 16px;
}

.timeline-inspection-details-panel h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--brand-secundary);
}

.inspection-data-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.ins-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
}

.ins-card strong { color: var(--text-muted); }
.ins-card span { font-weight: 600; color: var(--brand-secundary); }

.status-badge-inline.ok {
    color: var(--brand-primary);
    font-weight: 700;
}

.inspection-evidence-attachments {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.evidence-photo-box, .evidence-document-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.evidence-photo-box h5, .evidence-document-box h5 {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mock-uploaded-img {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mock-uploaded-img i { font-size: 1.5rem; color: var(--text-light); }

.btn-download-pdf-doc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    height: 80px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--brand-secundary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-download-pdf-doc:hover {
    border-color: var(--danger);
    color: var(--danger);
    background-color: var(--danger-light);
}

/* ==========================================================================
   11. EXTRA: SEÇÕES SIMPLES (VV POINTS, ESG, CERTIFICADOS)
   ========================================================================== */
.grid-layout-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.points-positive {
    color: var(--brand-primary);
    font-weight: 700;
}

.section-description-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 8px 0 20px 0;
}

.esg-detailed-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.esg-sub-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
}

.esg-sub-card h4 {
    font-size: 0.9rem;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.esg-sub-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Cofre de Certificados */
.certificate-vault-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.cert-icon-header {
    font-size: 3rem;
    color: var(--token-gold);
    margin-bottom: 12px;
}

.certificate-vault-card h4 {
    font-size: 1rem;
    color: var(--brand-secundary);
    margin-bottom: 8px;
}

.cert-serial-code {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-light);
    background-color: #f8fafc;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
}

.cert-meta {
    display: flex;
    justify-content: space-around;
    font-size: 0.8 hrem;
    color: var(--text-muted);
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.btn-full-width {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   12. MÓDULO GERADOR DE RELATÓRIOS PARAMÉTRICOS E PREVIEW DE SAÍDA
   ========================================================================== */
.report-engine-builder-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.engine-form-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--brand-secundary);
}

.engine-form-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.parametric-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.form-element-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-element-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.styled-input-field {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
}

.styled-input-field:focus {
    border-color: var(--brand-primary);
}

/* Matriz de Caixa de Seleção Personalizada */
.essential-reports-checkbox-matrix {
    margin-bottom: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.essential-reports-checkbox-matrix h4 {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.checkbox-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.custom-check-box-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    background-color: #f8fafc;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* Painel de Ações e Download */
.export-formats-actions-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 32px;
}

.format-choice-zone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-format-tag {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-format-tag.option-active {
    border-color: var(--brand-secundary);
    background-color: var(--bg-workspace);
}

.btn-trigger-generation {
    background-color: var(--brand-primary);
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* Caixa de Pré-visualização Simulação Folha A4 */
.report-compiled-preview-box {
    background-color: #f1f5f9;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.preview-document-header-mock {
    background-color: #ffffff;
    padding: 20px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-logo-img {
    height: 36px;
}

.doc-identity-meta h5 { font-size: 0.9rem; color: var(--brand-secundary); }
.doc-identity-meta p { font-size: 0.75rem; color: var(--text-muted); }
.doc-identity-meta small { font-family: monospace; color: var(--text-light); }

.doc-auth-qr-zone {
    text-align: center;
    font-size: 0.6rem;
    color: var(--text-light);
}

.mock-document-qr {
    width: 45px;
    height: 45px;
    background-color: #e2e8f0;
    margin: 0 auto 4px auto;
}

.preview-document-body-mock {
    background-color: #ffffff;
    padding: 24px;
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    line-height: 1.6;
}

.doc-divider {
    margin: 14px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.mock-document-signature-line {
    margin-top: 30px;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
}

.digital-signature-hash {
    font-size: 0.7rem;
    color: var(--brand-primary);
    font-weight: 600;
}

/* ==========================================================================
   13. AUDITORIA E SEGURANÇA (LOGS IMUTÁVEIS)
   ========================================================================== */
.security-lock-status {
    font-size: 0.75rem;
    background-color: var(--success-light);
    color: var(--brand-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.badge-profile {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-profile.admin { background-color: rgba(15, 23, 42, 0.1); color: var(--brand-secundary); }
.badge-profile.automated { background-color: var(--info-light); color: var(--info); }

.action-text-log.modification { color: var(--warning); font-weight: 600; }
.action-text-log.creation { color: var(--brand-primary); font-weight: 600; }

/* ==========================================================================
   14. PAINEL DE CONFIGURAÇÕES E PERFIS DE ACESSO (RBAC)
   ========================================================================== */
.settings-control-panel-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.settings-card-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.block-header h3 {
    font-size: 1.05rem;
    color: var(--brand-secundary);
}

.block-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.rbac-profiles-listing {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rbac-profile-row {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
}

.rbac-profile-row strong {
    display: block;
    color: var(--brand-secundary);
    margin-bottom: 2px;
}

.rbac-profile-row span {
    color: var(--text-muted);
}

.security-toggles-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.toggle-control-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: not-allowed;
}

.toggle-control-item input[type="checkbox"] {
    accent-color: var(--brand-primary);
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.toggle-label {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

/* ==========================================================================
   15. SUPORTE A MEDIA QUERIES (DISPOSITIVOS MÓVEIS)
   ========================================================================== */
@media (max-width: 1200px) {
    .analytics-charts-grid-layout {
        grid-template-columns: 1fr;
    }
    .chart-wrapper-card.large-span-grid {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    .sidebar-container {
        transform: translateX(-100%); /* Oculta sidebar em tablets/mobile */
    }
    .main-workspace {
        margin-left: 0;
    }
    .mobile-menu-hamburger {
        display: block;
    }
    .workspace-header {
        padding: 16px;
    }
    .header-actions-bar {
        display: none; /* Em ambiente de produção, colapsaria para um menu suspenso */
    }
    .settings-control-panel-grid {
        grid-template-columns: 1fr;
    }
    .inspection-evidence-attachments {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
/* Linha 2036 */
#sidebarMenu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important; /* Mude de -280px para 0 */
    transform: translateX(-280px) !important; /* Esconde usando transform */
    width: 280px !important;
    /* ... resto do seu código ... */
}

#sidebarMenu.mobile-open {
    left: 0 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
}

}