Spaces:
Sleeping
Sleeping
| /* Report Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Helvetica Neue', Arial, sans-serif; | |
| line-height: 1.6; | |
| color: #333; | |
| background: #f5f5f5; | |
| } | |
| .report-container { | |
| max-width: 900px; | |
| margin: 0 auto; | |
| background: white; | |
| padding: 40px; | |
| } | |
| /* Header */ | |
| .report-header { | |
| border-bottom: 3px solid #2c3e50; | |
| padding-bottom: 20px; | |
| margin-bottom: 30px; | |
| } | |
| .report-header h1 { | |
| font-size: 28px; | |
| color: #2c3e50; | |
| margin-bottom: 10px; | |
| } | |
| .report-meta p { | |
| font-size: 14px; | |
| color: #666; | |
| margin: 5px 0; | |
| } | |
| /* Score Cards */ | |
| .score-cards { | |
| display: flex; | |
| gap: 20px; | |
| margin: 20px 0; | |
| } | |
| .score-card { | |
| flex: 1; | |
| background: #f8f9fa; | |
| border-radius: 8px; | |
| padding: 20px; | |
| text-align: center; | |
| border: 2px solid #dee2e6; | |
| } | |
| .score-card h3 { | |
| font-size: 14px; | |
| color: #666; | |
| margin-bottom: 10px; | |
| text-transform: uppercase; | |
| } | |
| .score-value { | |
| font-size: 48px; | |
| font-weight: bold; | |
| color: #2c3e50; | |
| margin: 10px 0; | |
| } | |
| .score-label { | |
| font-size: 14px; | |
| color: #666; | |
| text-transform: capitalize; | |
| } | |
| /* Color coding */ | |
| .score-card.green { | |
| border-color: #4CAF50; | |
| background: #e8f5e9; | |
| } | |
| .score-card.yellow { | |
| border-color: #FFC107; | |
| background: #fff8e1; | |
| } | |
| .score-card.orange { | |
| border-color: #FF9800; | |
| background: #fff3e0; | |
| } | |
| .score-card.red { | |
| border-color: #F44336; | |
| background: #ffebee; | |
| } | |
| /* Alert Box */ | |
| .alert-box { | |
| padding: 20px; | |
| border-radius: 8px; | |
| margin: 20px 0; | |
| } | |
| .alert-box.emergency { | |
| background: #ffebee; | |
| border: 2px solid #F44336; | |
| color: #c62828; | |
| } | |
| .alert-box strong { | |
| display: block; | |
| font-size: 18px; | |
| margin-bottom: 10px; | |
| } | |
| /* Sections */ | |
| section { | |
| margin: 30px 0; | |
| } | |
| section h2 { | |
| font-size: 22px; | |
| color: #2c3e50; | |
| border-bottom: 2px solid #3498db; | |
| padding-bottom: 10px; | |
| margin-bottom: 20px; | |
| } | |
| /* Interpretation */ | |
| .interpretation-box { | |
| background: #f8f9fa; | |
| border-left: 4px solid #3498db; | |
| padding: 15px; | |
| margin: 15px 0; | |
| } | |
| .interpretation-box h3 { | |
| font-size: 16px; | |
| color: #2c3e50; | |
| margin-bottom: 10px; | |
| } | |
| .interpretation-box p { | |
| color: #555; | |
| line-height: 1.8; | |
| } | |
| /* Tables */ | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin: 20px 0; | |
| } | |
| th { | |
| background: #2c3e50; | |
| color: white; | |
| padding: 12px; | |
| text-align: left; | |
| font-weight: 600; | |
| } | |
| td { | |
| padding: 12px; | |
| border-bottom: 1px solid #dee2e6; | |
| } | |
| tr:hover { | |
| background: #f8f9fa; | |
| } | |
| /* Importance Bar */ | |
| .importance-bar { | |
| width: 100%; | |
| height: 20px; | |
| background: #dee2e6; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| } | |
| .importance-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, #3498db, #2ecc71); | |
| transition: width 0.3s ease; | |
| } | |
| /* Disclaimer */ | |
| .disclaimer-section { | |
| background: #fff8e1; | |
| border: 2px solid #FFC107; | |
| border-radius: 8px; | |
| padding: 20px; | |
| margin: 30px 0; | |
| } | |
| .disclaimer-section h3 { | |
| color: #f57c00; | |
| margin-bottom: 15px; | |
| } | |
| .disclaimer-section p { | |
| color: #555; | |
| margin: 10px 0; | |
| line-height: 1.8; | |
| } | |
| .fast-method { | |
| background: white; | |
| padding: 15px; | |
| border-radius: 4px; | |
| margin-top: 15px; | |
| } | |
| /* Footer */ | |
| .report-footer { | |
| border-top: 2px solid #dee2e6; | |
| padding-top: 20px; | |
| margin-top: 40px; | |
| text-align: center; | |
| color: #666; | |
| font-size: 12px; | |
| } | |
| .report-footer p { | |
| margin: 5px 0; | |
| } | |
| /* Print styles */ | |
| @media print { | |
| body { | |
| background: white; | |
| } | |
| .report-container { | |
| max-width: none; | |
| padding: 20px; | |
| } | |
| .score-cards { | |
| page-break-inside: avoid; | |
| } | |
| section { | |
| page-break-inside: avoid; | |
| } | |
| } | |