.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .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;
        }
        .punnett-container {
            overflow-x: auto;
            margin-top: 1.5rem;
        }
        .punnett-table {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            border-collapse: collapse;
            font-size: 0.95rem;
        }
        .punnett-table th,
        .punnett-table td {
            border: 1px solid #ccc;
            padding: 8px 4px;
            text-align: center;
            min-width: 40px;
        }
        .punnett-table th {
            background-color: #e9ecef;
            font-weight: 600;
        }
        .punnett-table .corner {
            background-color: #f8f9fa;
        }
        .punnett-table .gamete-label {
            background-color: #e9ecef;
            font-weight: 500;
        }
        .punnett-table .genotype-cell {
            font-family: 'Courier New', monospace;
            font-weight: 500;
        }
        .ratio-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .ratio-card {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid #e9ecef;
        }
        .ratio-card h6 {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--primary-color);
        }
        .ratio-item {
            display: flex;
            justify-content: space-between;
            padding: 0.25rem 0;
            border-bottom: 1px solid #eee;
            font-size: 0.95rem;
        }
        .ratio-item:last-child {
            border-bottom: none;
        }
        .ratio-item .label {
            font-weight: 500;
        }
        .ratio-item .value {
            font-family: 'Courier New', monospace;
        }
        .phenotype-color-A_B_ {
            background-color: rgba(40, 167, 69, 0.15);
        }
        .phenotype-color-A_bb {
            background-color: rgba(255, 193, 7, 0.15);
        }
        .phenotype-color-aaB_ {
            background-color: rgba(13, 110, 253, 0.15);
        }
        .phenotype-color-aabb {
            background-color: rgba(220, 53, 69, 0.10);
        }
        .legend-punnett {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin: 0.5rem 0 1rem 0;
            font-size: 0.85rem;
        }
        .legend-punnett .swatch {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 3px;
            margin-right: 4px;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        .genotype-detail {
            max-height: 200px;
            overflow-y: auto;
        }
        .genotype-detail table {
            width: 100%;
            font-size: 0.9rem;
        }
        .genotype-detail td,
        .genotype-detail th {
            padding: 4px 8px;
            border-bottom: 1px solid #eee;
        }
        .genotype-detail th {
            background-color: #f1f3f5;
            font-weight: 600;
        }
        @media (max-width: 576px) {
            .ratio-grid {
                grid-template-columns: 1fr;
            }
            .punnett-table {
                font-size: 0.8rem;
            }
            .punnett-table td,
            .punnett-table th {
                padding: 4px 2px;
                min-width: 30px;
            }
        }