        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --genetics-green: #198754;
            --genetics-blue: #0d6efd;
            --genetics-purple: #6f42c1;
            --genetics-pink: #d63384;
        }
          
        .genetics-info-box {
            background-color: rgba(25, 135, 84, 0.05);
            border-left: 3px solid var(--genetics-green);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
         
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .financial-summary {
                grid-template-columns: 1fr;
            }
            
            .pedigree-canvas-container {
                overflow-x: auto;
            }
        }
        
        /* Pedigree specific styles */
        .pedigree-input-group {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .pedigree-canvas-container {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid var(--border-color);
            overflow: auto;
        }
        
        .pedigree-canvas {
            width: 100%;
            min-height: 400px;
            background-color: #f8f9fa;
            border: 1px dashed #dee2e6;
            border-radius: 6px;
        }
        
        .inheritance-classification {
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            border-left: 5px solid;
        }
        
        .inheritance-ad {
            background-color: rgba(13, 110, 253, 0.1);
            border-left-color: var(--genetics-blue);
        }
        
        .inheritance-ar {
            background-color: rgba(25, 135, 84, 0.1);
            border-left-color: var(--genetics-green);
        }
        
        .inheritance-xd {
            background-color: rgba(214, 51, 132, 0.1);
            border-left-color: var(--genetics-pink);
        }
        
        .inheritance-xr {
            background-color: rgba(111, 66, 193, 0.1);
            border-left-color: var(--genetics-purple);
        }
        
        .inheritance-yd {
            background-color: rgba(253, 126, 20, 0.1);
            border-left-color: var(--chemistry-orange);
        }
        
        .pedigree-status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-ad {
            background-color: var(--genetics-blue);
        }
        
        .status-ar {
            background-color: var(--genetics-green);
        }
        
        .status-xd {
            background-color: var(--genetics-pink);
        }
        
        .status-xr {
            background-color: var(--genetics-purple);
        }
        
        .status-yd {
            background-color: var(--chemistry-orange);
        }
        
        /* Table for pedigree data */
        .pedigree-data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .pedigree-data-table th, .pedigree-data-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        
        .pedigree-data-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .pedigree-data-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        /* Individual cards */
        .individual-card {
            background: white;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .individual-header {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        .individual-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.25rem;
        }
        
        .icon-male {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--genetics-blue);
        }
        
        .icon-female {
            background-color: rgba(214, 51, 132, 0.1);
            color: var(--genetics-pink);
        }
        
        .individual-properties {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.75rem;
        }
        
        .property-item {
            text-align: center;
            padding: 0.5rem;
            background-color: var(--light-gray);
            border-radius: 6px;
        }
        
        .property-value {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.25rem;
        }
        
        .property-label {
            color: var(--text-muted);
            font-size: 0.85rem;
        }
        
        /* Risk calculation */
        .risk-calculator {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin: 1.5rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .risk-result {
            text-align: center;
            padding: 1.5rem;
            background-color: var(--light-gray);
            border-radius: 8px;
            margin-top: 1rem;
        }
        
        .risk-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .risk-interpretation {
            color: var(--text-muted);
            font-size: 1rem;
        }
        
        /* Symbol legend */
        .symbol-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .symbol-item {
            display: flex;
            align-items: center;
            margin-right: 1.5rem;
        }
        
        .symbol {
            width: 24px;
            height: 24px;
            border: 2px solid #333;
            border-radius: 4px;
            margin-right: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .symbol-male {
            background-color: white;
        }
        
        .symbol-female {
            background-color: white;
            border-radius: 50%;
        }
        
        .symbol-affected {
            background-color: #333;
        }
        
        .symbol-carrier {
            background-color: white;
            background-image: linear-gradient(45deg, transparent 45%, #333 45%, #333 55%, transparent 55%);
        }
        
        /* Generation selector */
        .generation-selector {
            background: white;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
    