.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .result-value-sm {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 1.4rem;
        }
        .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;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            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%;
            display: inline-block;
        }
        .legend-color.blue {
            background-color: #0d6efd;
        }
        .legend-color.red {
            background-color: #dc3545;
        }
        .legend-color.green {
            background-color: #28a745;
        }
        .legend-color.gray {
            background-color: #6c757d;
        }
        .legend-color.orange {
            background-color: #fd7e14;
        }
        .data-table td input {
            width: 100%;
            border: none;
            background: transparent;
            padding: 4px 6px;
            border-radius: 2px;
            font-size: 0.95rem;
        }
        .data-table td input:focus {
            outline: 2px solid var(--primary-color);
            background: #fff;
        }
        .data-table td {
            vertical-align: middle;
            padding: 2px 4px;
        }
        .data-table th {
            background-color: var(--light-gray);
            font-weight: 600;
            font-size: 0.9rem;
        }
        .metric-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .metric-card {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 1rem 0.75rem;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        }
        .metric-card .metric-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #6c757d;
        }
        .metric-card .metric-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            font-family: 'Cambria Math', 'Latin Modern Math', serif;
        }
        .metric-card .metric-sub {
            font-size: 0.75rem;
            color: #6c757d;
        }
        .metric-card.best {
            border-color: #28a745;
            background: #f0fff4;
        }
        .chart-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .chart-col {
            flex: 1 1 45%;
            min-width: 280px;
        }
        .chart-col canvas {
            width: 100%;
            height: auto;
            background: #fafafa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
        }
        .data-entry-hint {
            font-size: 0.85rem;
            color: #6c757d;
            background: #f8f9fa;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }
        .btn-icon-only {
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
        }
        .table-controls {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin: 0.5rem 0 1rem 0;
        }
        @media (max-width: 576px) {
            .metric-grid {
                grid-template-columns: 1fr 1fr;
            }
            .chart-col {
                flex: 1 1 100%;
            }
        }
        .interpretation-box {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1.25rem;
            margin: 1.25rem 0;
            border-left: 4px solid #0d6efd;
        }
        .interpretation-box h6 {
            color: var(--primary-color);
            font-weight: 600;
        }
        .badge-pill-custom {
            font-size: 0.7rem;
            padding: 0.3rem 0.6rem;
            border-radius: 20px;
        }
        .valid-pairs-badge {
            font-size: 0.9rem;
            background: #e9ecef;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 0.5rem;
        }
        .invalid-input {
            border: 2px solid #dc3545 !important;
            background-color: #fff5f5 !important;
        }