.math-result, .clinical-card {
            padding: 15px;
            background-color: white;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            margin: 10px 0;
        }
        .reference-table {
            font-size: 0.9rem;
        }
        .reference-table th {
            background-color: #f8f9fa;
        }
        .clinical-note {
            background-color: #eef2f9;
            border-left: 4px solid #2c7da0;
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 8px 8px 0;
        }
        .disclaimer-box {
            background-color: #fff3e0;
            border: 1px solid #ffe0a3;
            color: #b45309;
            padding: 1rem;
            border-radius: 8px;
            margin: 1.5rem 0;
        }
        .result-interpretation {
            background-color: #e6f7e6;
            padding: 1rem;
            border-radius: 8px;
            border-left: 5px solid #2e7d32;
        }
        .warning-interpretation {
            background-color: #ffefef;
            border-left: 5px solid #c62828;
        }
        .glossary {
            font-size: 0.9rem;
        }
        .unit-note {
            color: #6c757d;
            font-size: 0.85rem;
        }
        canvas {
            max-width: 100%;
            background: #fefefe;
            border-radius: 12px;
            border: 1px solid #ddd;
        }
        .legend-item {
            display: inline-flex;
            align-items: center;
            margin-right: 1rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 4px;
            margin-right: 6px;
        }
        .result-value-lg {
            font-size: 1.8rem;
            font-weight: 600;
            color: #2c7da0;
        }
        .ref-note-footnote {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 6px;
        }
        .info-tooltip {
            border-bottom: 1px dashed #6c757d;
            cursor: help;
        }