
    @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
    @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');
    
    :root { 
        --jd-green: #367C2B; 
        --jd-yellow: #FFDE00; 
        --jd-dark: #333333; 
        --bg-gray: #F4F4F4; 
        --border-gray: #DDDDDD; 
        --sidebar-width: 360px; 
    }
    
    /* RESET PADRÃO */
    body, html { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; height: 100vh; width: 100vw; overflow: hidden; background-color: var(--bg-gray); }
    .app-container { display: flex; height: 100vh; width: 100vw; overflow: hidden; position: relative; }
    
    /* SIDEBAR (ESQUERDA - DESKTOP) */
    .sidebar-panel { position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh; background-color: white; border-right: 1px solid var(--border-gray); display: flex; flex-direction: column; z-index: 1000; box-shadow: 2px 0 15px rgba(0,0,0,0.05); }
    .sidebar-header { background-color: white; padding: 20px; border-bottom: 3px solid var(--jd-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .sidebar-content { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 15px; }
    
    /* ÁREA PRINCIPAL (DIREITA - DESKTOP) */
    .main-panel { position: fixed; top: 0; right: 0; height: 100vh; width: calc(100vw - var(--sidebar-width)); background-color: #eef2f5; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
    
    /* CARTÕES GERAIS */
    .jd-card { background: white; border: 1px solid var(--border-gray); border-radius: 6px; padding: 0; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); flex-shrink: 0; }
    .jd-card-graph { background: white; border: 1px solid var(--border-gray); border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; flex-direction: column; flex: 1; min-height: 0; }
    .jd-card-graph .jd-card-body { flex: 1; padding: 10px; min-height: 0; overflow: visible; }
    .jd-card-header { padding: 10px 15px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: #555; border-bottom: 1px solid #eee; background-color: #fafafa; display: flex; align-items: center; }
    .jd-card-body { padding: 15px; }
    
    /* TIPOGRAFIA DOS KPIS */
    .kpi-value { font-size: 1.5rem; font-weight: 800; color: #333; margin: 0; line-height: 1.2; }
    .kpi-label { font-size: 0.7rem; color: #888; margin-bottom: 2px; text-transform: uppercase; font-weight: 600; }
    .text-jd { color: var(--jd-green); }
    .text-primary { color: #2196F3 !important; }
    .text-dark { color: #1A237E !important; }

    /* ========================================================================== */
    /* 🚀 REGRAS DE RESPONSIVIDADE (MOBILE E TABLETS) */
    /* ========================================================================== */
    @media screen and (max-width: 992px) {
        body, html { overflow-y: auto; overflow-x: hidden; height: auto; }
        .app-container { flex-direction: column; height: auto; overflow: visible; display: block; }
        
        .sidebar-panel { position: relative; width: 100%; height: auto; border-right: none; box-shadow: 0 4px 10px rgba(0,0,0,0.05); z-index: 10; }
        .sidebar-content { overflow: visible; padding: 15px; }
        
        .main-panel { position: relative; width: 100%; height: auto; padding: 15px; overflow: visible; }
        
        .jd-card-graph { min-height: 400px; margin-bottom: 15px; }
        .kpi-value { font-size: 1.4rem; } 
    }
    