.punnett-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            overflow-x: auto;
            display: block;
        }.math-equation{font-size:1rem}
        .punnett-table th, .punnett-table td {
            border: 1px solid #dee2e6;
            padding: 12px 8px;
            text-align: center;
            vertical-align: middle;
            font-family: 'Courier New', monospace;
            font-weight: 500;
        }
        .punnett-table th {
            background-color: #f1f9ff;
            font-weight: 600;
            color: #0a4b6e;
        }
        .punnett-table td {
            background-color: #ffffff;
        }
        .ratio-badge {
            display: inline-block;
            background: #e9ecef;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin: 4px 6px 4px 0;
        }
        .genotype-list {
            max-height: 220px;
            overflow-y: auto;
            border: 1px solid #eee;
            padding: 10px;
            border-radius: 8px;
            background: #fafcff;
        }
        .pheno-bar {
            background: #d4e6f1;
            border-radius: 12px;
            height: 8px;
            margin: 10px 0;
        }
        .genotype-input {
            font-family: monospace;
            font-size: 1.1rem;
        }
        .table-wrapper {
            overflow-x: auto;
        }
        .step-box {
            background: #fef9e6;
            border-left: 4px solid #e6a017;
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 8px;
        }
        #resultContainer {
            clear: both;
        }
 