 #calc { 
        font-family: 'Segoe UI', Arial, sans-serif;
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        background: var(--background);
        --primary-color: #4CAF50;
        --secondary-color: #2196F3;
        --background: #f8f9fa;
    }
    
    .calculator { 
        background: white;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    .section { 
        margin: 25px 0;
        padding: 20px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .input-group { 
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 15px;
        margin: 15px 0;
        align-items: center;
    }
    
    label { 
        font-weight: 600;
        color: #2c3e50;
    }
    
    input, select { 
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s;
    }
    
    input:focus, select:focus { 
        border-color: var(--primary-color);
        outline: none;
    }
    
    .button-group { 
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 8px;
        margin: 15px 0;
    }
    
    .param-button { 
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        text-align: center;
        transition: all 0.2s;
        font-size: 14px;
    }
    
    .param-button.active { 
        border-color: var(--primary-color);
        background: #e8f5e9;
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(76,175,80,0.2);
    }
    
    .result-card { 
        padding: 20px;
        background: var(--background);
        border-radius: 10px;
        margin: 25px 0;
    }
    
    .result-item { 
        display: flex;
        justify-content: space-between;
        margin: 12px 0;
        font-size: 16px;
    }
    
    .result-value { 
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .injection-info { 
        color: var(--secondary-color);
        font-size: 18px;
        text-align: center;
        margin: 20px 0;
        padding: 15px;
        background: #e3f2fd;
        border-radius: 8px;
    }

    /* Стили для шкалы */
    .peptide-scale-container { 
        width: 100%;
        margin: 30px 0 10px;
        position: relative;
    }
    
    .peptide-scale { 
        height: 30px;
        background: #ffffff;
        border: 2px solid #e0e0e0;
        border-radius: 15px;
        position: relative;
        overflow: hidden;
    }
    
    .peptide-fill { 
        height: 100%;
        background: var(--primary-color);
        width: 0%;
        border-radius: 15px;
        transition: width 0.5s ease;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .peptide-markers-container { 
        position: relative;
        width: 100%;
        height: 40px;
        margin-top: 5px;
    }
    
    .peptide-marker { 
        position: absolute;
        width: 1px;
        background: #999;
        transform: translateX(-50%);
    }
    
    .peptide-major-marker { 
        height: 12px;
        top: 0;
    }
    
    .peptide-minor-marker { 
        height: 6px;
        top: 3px;
    }
    
    .peptide-marker-label { 
        position: absolute;
        top: 15px;
        left: -15px;
        width: 30px;
        text-align: center;
        font-family: Arial;
        font-size: 12px;
        color: #666;
    }