.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .optics-canvas {
            width: 100%;
            height: auto;
            background-color: #fafcff;
            border: 1px solid #d0d7e0;
            border-radius: 8px;
            margin-top: 1rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
            position: relative;
        }
        .legend {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 0.5rem 0 0.2rem 0;
            font-size: 0.85rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 18px;
            height: 4px;
            border-radius: 2px;
        }
        .legend-color.incident {
            background: #e67e22;
        }
        .legend-color.reflected {
            background: #2980b9;
        }
        .legend-color.transmitted {
            background: #27ae60;
        }
        .legend-color.normal {
            background: #95a5a6;
            border-top: 2px dashed #95a5a6;
            height: 0;
            width: 18px;
        }
        .legend-color.highlight {
            background: #e74c3c;
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        .polarization-badge {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        .badge-p {
            background: #d4edda;
            color: #155724;
        }
        .badge-s {
            background: #f8d7da;
            color: #721c24;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .polarization-info {
            background: #f0f4f8;
            border-radius: 6px;
            padding: 1rem;
            margin-top: 1rem;
        }
        .fresnel-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1rem 0;
        }
        @media (max-width: 576px) {
            .fresnel-grid {
                grid-template-columns: 1fr;
            }
        }
        .fresnel-card {
            background: #fff;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 0.8rem 1rem;
            text-align: center;
        }
        .fresnel-card .label {
            font-size: 0.85rem;
            color: #6c757d;
        }
        .fresnel-card .value {
            font-size: 1.3rem;
            font-weight: 600;
        }