.result-value.highlight {
            color: #198754;
        }.form-label{font-size:0.9rem}
        .result-value.warning {
            color: #dc3545;
        }
        .result-value.purple {
            color: #6f42c1;
        }
        .purity-badge {
            display: inline-block;
            padding: 0.35rem 1rem;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.9rem;
        }
        .purity-badge.good {
            background-color: #d1e7dd;
            color: #0a5e3a;
        }
        .purity-badge.warning {
            background-color: #fff3cd;
            color: #856404;
        }
        .purity-badge.danger {
            background-color: #f8d7da;
            color: #842029;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1.2rem;
            background: #fafcff;
            border-radius: 10px;
            padding: 0.75rem;
            border: 1px solid #e9edf5;
        }
        .canvas-container canvas {
            width: 100%;
            height: auto;
            max-width: 600px;
            background: #ffffff;
            border-radius: 8px;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0 0 0;
            font-size: 0.85rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .legend-color {
            width: 14px;
            height: 14px;
            border-radius: 4px;
        }
        .legend-color.blue { background-color: #0d6efd; }
        .legend-color.green { background-color: #198754; }
        .legend-color.red { background-color: #dc3545; }
        .legend-color.purple { background-color: #6f42c1; }
        .property-table th,
        .property-table td {
            padding: 0.7rem 0.9rem;
            border: 1px solid #dee2e6;
            text-align: left;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .input-group-custom {
            margin-bottom: 1.2rem;
        }
        .unit-note {
            font-size: 0.85rem;
            color: #6c757d;
        }
        .badge-pill-custom {
            font-size: 0.85rem;
            font-weight: 500;
            padding: 0.3rem 1rem;
        }
        @media (max-width: 768px) {
            }
        .faq-answer {
            padding: 0.5rem 0.75rem;
        }
        .related-tools-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .related-content {
            flex: 1;
        }
        .related-name {
            font-weight: 600;
            font-size: 0.95rem;
        }
        .related-name a {
            color: #1a3a5c;
            text-decoration: none;
        }
        .related-name a:hover {
            color: #0d6efd;
            text-decoration: underline;
        }
        .related-desc {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 0.1rem;
        }
        .dropdown-menu .dropdown-item { font-size: 0.9rem; }