
                @media print {
                    /* Hide everything at the top level */
                    body > * { 
                        display: none !important; 
                    }
                    
                    /* Show the omDashboard */
                    #omDashboard { 
                        display: block !important; 
                        padding: 0 !important; 
                        margin: 0 !important; 
                        background: white !important;
                    }
                    
                    /* Hide all contents of omDashboard (inputs, results) */
                    #omDashboard > * { 
                        display: none !important; 
                    }
                    
                    /* Show ONLY the template wrapper */
                    #newOmPdfTemplateWrapper {
                        display: block !important;
                        position: static !important;
                        width: 100% !important;
                        margin: 0 !important;
                        padding: 0 !important;
                    }
                    
                    /* Ensure background is white and clean */
                    body { 
                        background: white !important; 
                        margin: 0; 
                        padding: 0; 
                    }
                }
                
                @media screen {
                    #newOmPdfTemplateWrapper {
                        display: none;
                    }
                }
            