.medical-notation {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.1rem;
        }
        .property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid #dee2e6;
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .medical-canvas {
            width: 100%;
            height: auto;
            background-color: #fbfcfe;
            border: 1px solid #dde2ed;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }
        .legend-color.blue {
            background-color: #0066cc;
        }
        .legend-color.green {
            background-color: #28a745;
        }
        .legend-color.orange {
            background-color: #fd7e14;
        }
        .legend-color.red {
            background-color: #dc3545;
        }
        .risk-badge {
            display: inline-block;
            padding: 0.25rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
        }
        .risk-badge.low {
            background-color: #d4edda;
            color: #155724;
        }
        .risk-badge.moderate {
            background-color: #fff3cd;
            color: #856404;
        }
        .risk-badge.high {
            background-color: #f8d7da;
            color: #721c24;
        }
        .result-big-number {
            font-size: 2.8rem;
            font-weight: 700;
            color: #004080;
            line-height: 1.2;
        }
        .result-unit {
            font-size: 1.2rem;
            font-weight: 400;
            color: #6c757d;
        }
        .conversion-card {
            background: linear-gradient(145deg, #f8fbff, #eef4fa);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.2rem 0;
            border: 1px solid #d8e0ec;
        }
        .disclaimer-box {
            background-color: #fefefe;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 1rem 1.5rem;
            margin: 1.2rem 0;
            font-size: 0.9rem;
            color: #495057;
        }
        .status-indicator {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.25rem;
            border-radius: 40px;
            font-weight: 500;
        }
        .status-indicator.normal {
            background-color: #d4edda;
            color: #155724;
        }
        .status-indicator.prediabetes {
            background-color: #fff3cd;
            color: #856404;
        }
        .status-indicator.diabetes {
            background-color: #f8d7da;
            color: #721c24;
        }
        .slider-container {
            padding: 0.5rem 0.2rem;
        }
        .slider-container input[type="range"] {
            width: 100%;
            height: 6px;
            -webkit-appearance: none;
            appearance: none;
            background: linear-gradient(to right, #28a745, #fd7e14, #dc3545);
            border-radius: 4px;
            outline: none;
        }
        .slider-container input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 22px;
            height: 22px;
            background: #0066cc;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        .slider-container input[type="range"]::-moz-range-thumb {
            width: 22px;
            height: 22px;
            background: #0066cc;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        .a1c-scale {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: #6c757d;
            padding: 0.2rem 0.2rem 0 0.2rem;
        }
        .a1c-scale span {
            text-align: center;
            flex: 1;
        }
        .glucose-chart-container {
            background: white;
            border-radius: 8px;
            padding: 0.5rem 0.5rem 0.2rem 0.5rem;
            border: 1px solid #e9ecf2;
            margin: 1rem 0;
        }
        .glucose-bar {
            height: 28px;
            border-radius: 4px;
            background: linear-gradient(to right, #28a745, #8bc34a, #fd7e14, #f44336, #b71c1c);
            width: 100%;
            position: relative;
            margin: 0.4rem 0;
        }
        .glucose-bar .marker {
            position: absolute;
            top: -6px;
            width: 2px;
            height: 40px;
            background: #004080;
            transform: translateX(-50%);
            border-left: 2px solid #004080;
        }
        .glucose-bar .marker-label {
            position: absolute;
            top: 36px;
            transform: translateX(-50%);
            font-size: 0.7rem;
            font-weight: 600;
            color: #004080;
            white-space: nowrap;
        }
        .glucose-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            color: #6c757d;
            padding: 0 0.2rem;
        }
        .bg-reference {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem 2rem;
            padding: 0.8rem 0;
            font-size: 0.9rem;
        }
        .bg-reference .ref-item {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .bg-reference .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
        }
        .dot.green {
            background: #28a745;
        }
        .dot.orange {
            background: #fd7e14;
        }
        .dot.red {
            background: #dc3545;
        }